Announcement

Collapse
No announcement yet.

Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/...

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/...

    Every time I update my system, I notice this error . . .

    Code:
    Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-amd64/Packages.gz File not found
    I've never really paid it any attention as my system seems to update as it should, but this time I navigated to that location, and found there is no Packages.gz in that directory (I suppose that's probably what it was hinting with "File not found"). I don't think this is critical, but is there any way I can fix it?
    Asus G1S-X3:
    Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

    #2
    Re: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/...

    Is it just me, or is it looking for an apt repository in /var/cache/apt-build?

    Should it be looking there?
    For external use only.

    Comment


      #3
      Re: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/...

      It doesn't make any sense, but the problem's been there since day one of my installation of Gutsy.
      Asus G1S-X3:
      Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

      Comment


        #4
        Re: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/...

        I'd investigate /etc/apt/sources.list.
        For external use only.

        Comment


          #5
          Re: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/...

          If you don't mind, please take a look at my sources.list:

          deb file:/var/cache/apt-build/repository apt-build main
          # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
          # newer versions of the distribution.

          deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
          deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy restricted main multiverse universe #Added by software-properties

          ## Major bug fix updates produced after the final release of the
          ## distribution.
          deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
          deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted #Added by software-properties

          ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
          ## team, and may not be under a free licence. Please satisfy yourself as to
          ## your rights to use the software. Also, please note that software in
          ## universe WILL NOT receive any review or updates from the Ubuntu security
          ## team.
          deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe

          ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
          ## team, and may not be under a free licence. Please satisfy yourself as to
          ## your rights to use the software. Also, please note that software in
          ## multiverse WILL NOT receive any review or updates from the Ubuntu
          ## security team.
          deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse

          ## Uncomment the following two lines to add software from the 'backports'
          ## repository.
          ## N.B. software from this repository may not have been tested as
          ## extensively as that contained in the main release, although it includes
          ## newer versions of some applications which may provide useful features.
          ## Also, please note that software in backports WILL NOT receive any review
          ## or updates from the Ubuntu security team.
          deb http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
          deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

          deb http://us.archive.ubuntu.com/ubuntu/ gutsy-security main restricted
          deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-security restricted main multiverse universe #Added by software-properties
          deb http://us.archive.ubuntu.com/ubuntu/ gutsy-security universe
          deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse universe
          deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse universe
          deb http://us.archive.ubuntu.com/ubuntu/ gutsy-proposed restricted main multiverse universe
          deb http://us.archive.ubuntu.com/ubuntu/ gutsy-backports universe
          deb http://us.archive.ubuntu.com/ubuntu/ gutsy-security multiverse


          deb http://ppa.launchpad.net/themono/ubuntu gutsy main universedeb
          deb http://hendrik.kaju.pri.ee/ubuntu/ gutsy screenlets

          Also, Konsole gives me this error when it updates:

          Code:
          Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-amd64/Packages.gz File not found
          Failed to fetch [url]http://ppa.launchpad.net/themono/ubuntu/dists/gutsy/universedeb/binary-amd64/Packages.gz[/url] 404 Not Found
          Reading package lists... Done
          W: Duplicate sources.list entry [url]http://us.archive.ubuntu.com[/url] gutsy-backports/universe Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_gutsy-backports_universe_binary-amd64_Packages)
          W: You may want to run apt-get update to correct these problems
          E: Some index files failed to download, they have been ignored, or old ones used instead.
          Asus G1S-X3:
          Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

          Comment


            #6
            Re: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/...

            Well, I'd delete (or comment out) the top line there.
            Also remove the extra "deb" from the end of the next-to-last line.

            As for the warning about duplicate entries, you might want to look into what's in /var/lib/apt/lists, see if anything is worth keeping.

            Personally, I keep my sources.list nice and neat. Here's the top part. As you can see, I can immediately tell what is and is not enabled.
            For external use only.

            Comment


              #7
              Re: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/...

              Cool beans! I've cleaned up my sources.list as you recommended, and I believe the following sums up my progression on this issue:

              Code:
              Reading package lists... Done

              Your sources.list is incredibly organized (very good job); I have (2) questions about organization:

              1) Can you reorganize the various wording such as "multiverse universe" to "universe multiverse"?

              2) Can you add/remove wording such as changing

              Code:
              deb [url]http://us.archive.ubuntu.com/ubuntu/[/url] 	gutsy 		universe
              deb [url]http://us.archive.ubuntu.com/ubuntu/[/url] 	gutsy 		multiverse
              to

              Code:
              deb [url]http://us.archive.ubuntu.com/ubuntu/[/url] 	gutsy 		universe      multiverse
              Asus G1S-X3:
              Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

              Comment


                #8
                Re: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/...

                Yes to both. You can probably mix and match, though it's probably more efficient to do it like mine. (The rest of my sources.list looks similar.)
                For external use only.

                Comment

                Working...
                X