Results 1 to 10 of 10

Thread: editing sources.list 404 error

Hybrid View

  1. #1
    Join Date
    Mar 2013

    Angry editing sources.list 404 error

    i have edited the sources.list file to include a new package i require, however when i run the apt-get update command i get a 404 not found error (..... 404 not found). however inspecting the index online the packages are located in a binary-amd64 library.

    I am running Ubuntu 12.04.1 64 bit on a vm ware virtual machine.

    How would i be able to make Ubuntu direct to the binary-amd64 library and not binary-i386?

    Thanks, Martin

  2. #2
    Join Date
    Apr 2005
    Ubuntu 16.04 Xenial Xerus

    Re: editing sources.list 404 error

    Could you post the complete sources.list entry you are trying to use here? And perhaps a link to the web site (or something) about the repository?

    Keep in mind that you can't add a package through the sources.list, and as you can see from the other entries in the file, they are not simple URLs to the directory where the files are located, but instead the entries include URL and both distribution and repository names...

  3. #3
    Join Date
    Mar 2013

    Re: editing sources.list 404 error

    hi, thanks for the reply.

    The sources.list entry is: deb precise contrib

    The repository is:

    within the repository is a binary-amd64 library, however when the at-get update command is ran it searches for a binary-i388 library, i cannot work out why or how to change this.


  4. #4
    Join Date
    Mar 2013

    Unhappy Re: editing sources.list 404 error

    Any one any ideas?

  5. #5
    Join Date
    May 2010
    Xubuntu 14.04 Trusty Tahr

    Re: editing sources.list 404 error


    Can we check something as i don't quite understand.

    Copy and paste this into the terminal

    cd && sudo apt-cache gencaches -o Debug::pkgCacheGen=true 1&> tmp.txt && grep amazon tmp.txt
    Copy and paste the output back into your next post.

    I'll be away from keyboard for a number of hours.

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  6. #6
    Join Date
    Mar 2013

    Re: editing sources.list 404 error


    thanks for the reply, this is the output from the command:

    Do we have write-access to the cache files? YES
    Reading package lists...CacheFile doesn't exist
    pkgcache.bin is NOT valid
    Open filebased MMap
    CacheFile doesn't exist
    srcpkgcache.bin is NOT valid - rebuild
    Remaping from 0x7fa033f99000 to 0x7fa032698000
    Remaping from 0x7fa032698000 to 0x7fa030c98000
    Caches are ready for shipping

    Checking PkgFile precise/contrib Sources ( source_Sources): Has NO packages
    Checking PkgFile precise/contrib amd64 Packages (/var/lib/apt/lists/ binary-amd64_Packages): with ID 58 is valid
    Checking PkgFile precise/contrib i386 Packages (/var/lib/apt/lists/ binary-i386_Packages): file doesn't exist
    Checking PkgFile precise/contrib Translation-en (/var/lib/apt/lists/ i18n_Translation-en): Has NO packages
    Checking PkgFile precise/contrib Translation-en_GB (/var/lib/apt/lists/ i18n_Translation-en%5fGB): Has NO packages

    The output shows the amd64 library is valid?
    How would i make the apt-get update command look for that amd64 library instead of the i368 one?

    Thanks, martin

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts