Results 1 to 10 of 10

Thread: editing sources.list 404 error

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Beans
    6

    Angry editing sources.list 404 error

    hi,
    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 (..... .amazonaws.com/apt/dists/precise/contrib/binary-i386/Packages 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
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    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
    Beans
    6

    Re: editing sources.list 404 error

    hi, thanks for the reply.

    The sources.list entry is: deb http://ec2-79-125-53-176.eu-west-1.c...onaws.com/apt/ precise contrib

    The repository is: http://ec2-79-125-53-176.eu-west-1.c...onaws.com/apt/

    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.

    Thanks

  4. #4
    Join Date
    Mar 2013
    Beans
    6

    Unhappy Re: editing sources.list 404 error

    Any one any ideas?

  5. #5
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,625
    Distro
    Ubuntu Development Release

    Re: editing sources.list 404 error

    Hi

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

    Copy and paste this into the terminal

    Code:
    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
    Join us on irc at #ubuntuforums. For web chat see here

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

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  6. #6
    Join Date
    Mar 2013
    Beans
    6

    Re: editing sources.list 404 error

    Hi,

    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 http://ec2-79-125-53-176.eu-west-1.c...onaws.com/apt/ precise/contrib Sources (ec2-79-125-53-176.eu-west-1.compute.amazonaws.com_apt_dists_precise_contrib_ source_Sources): Has NO packages
    Checking PkgFile http://ec2-79-125-53-176.eu-west-1.c...onaws.com/apt/ precise/contrib amd64 Packages (/var/lib/apt/lists/ec2-79-125-53-176.eu-west-1.compute.amazonaws.com_apt_dists_precise_contrib_ binary-amd64_Packages): with ID 58 is valid
    Checking PkgFile http://ec2-79-125-53-176.eu-west-1.c...onaws.com/apt/ precise/contrib i386 Packages (/var/lib/apt/lists/ec2-79-125-53-176.eu-west-1.compute.amazonaws.com_apt_dists_precise_contrib_ binary-i386_Packages): file doesn't exist
    Checking PkgFile http://ec2-79-125-53-176.eu-west-1.c...onaws.com/apt/ precise/contrib Translation-en (/var/lib/apt/lists/ec2-79-125-53-176.eu-west-1.compute.amazonaws.com_apt_dists_precise_contrib_ i18n_Translation-en): Has NO packages
    Checking PkgFile http://ec2-79-125-53-176.eu-west-1.c...onaws.com/apt/ precise/contrib Translation-en_GB (/var/lib/apt/lists/ec2-79-125-53-176.eu-west-1.compute.amazonaws.com_apt_dists_precise_contrib_ 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

Bookmarks

Posting Permissions

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