Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Failed to fetch - Update

  1. #11
    Join Date
    Jun 2007
    Location
    K-o-T,
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Failed to fetch - Update

    To edit the file use
    Code:
    sudo nano /etc/apt/sources.list.d/official-package-repositories.list
    and remove the extra / from the lines.

    To exit and save to the file in nano use Ctrl-O and Ctrl-X.

    Also remove the line you added earlier.

    Good Luck
    Last edited by plucky; December 21st, 2013 at 11:24 PM. Reason: Add - to the command
    Hypertension = Take with a pinch of salt
    | Psychocats | Ubuntu Documentation | Howto [Solved] | BBcode list | Brother Website |

  2. #12
    Join Date
    Dec 2013
    Beans
    6

    Re: Failed to fetch - Update

    Hey man!

    Thanks for working with me with so patience...

    After editing here is the result:

    Code:
    cat /etc/apt/sources.list
    # deb cdrom:[Linux Mint 16 _petra_ - Release i386 20131126]/ saucy contrib main non-free 
    
    deb http://security.ubuntu.com/ubuntu saucy-security main restricted universe multiverse
    AND

    Code:
    cat /etc/apt/sources.list.d/official-package-repositories.list
    
    deb http://packages.linuxmint.com petra main upstream import 
    
    deb http://extra.linuxmint.com petra main 
    
    deb http://archive.ubuntu.com/ubuntu saucy main restricted universe multiverse  
    deb http://archive.ubuntu.com/ubuntu saucy-updates main restricted universe multiverse 
    
    deb http://archive.canonical.com/ubuntu saucy partner

    Quote Originally Posted by plucky View Post
    To edit the file use
    Code:
    sudo nano /etc/apt/sources.list.d/official-package-repositories.list
    and remove the extra / from the lines.

    To exit and save to the file in nano use Ctrl-O and Ctrl-X.

    Also remove the line you added earlier.

    Good Luck

    Now the security distro error is GONE!!

    But this :

    Code:
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/InRelease  
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/InRelease  
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/Release.gpg  Could not resolve 'archive.ubuntu.com'
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/Release.gpg  Could not resolve 'archive.ubuntu.com'
    
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    Where do I go to edit this?

    Thanks a ton...

  3. #13
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,596
    Distro
    Ubuntu

    Re: Failed to fetch - Update

    Try adding us to the front of the archive.
    (or gb if in Britain, I think...)
    so it would look like
    Code:
    us.archive.ubuntu.com
    instead of
    Code:
    archive.ubuntu.com
    use the same nano command, or you could try a simple one liner
    Code:
    sudo sed -i -e 's/archive.ubuntu.com/us.archive.ubuntu.com/g' /etc/apt/sources.list
    of course modify the ending for the mint repo stylings.
    This line will replace all the lines that have the archive.ubuntu.com line in them.
    Then run an update again.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  4. #14
    Join Date
    Dec 2013
    Beans
    6

    Re: Failed to fetch - Update

    Hi deadflowr,

    Boy am I glad you guys exist in this planet! - FAITH IN HUMANITY RESTORED

    So I added gb.archive.ubuntu.com and that error went away.

    I am still getting error related to
    deb http://archive.canonical.com/ubuntu saucy partner

    I just ended up deleting that line, as it made no sense. Do you think I should be bothered by it. As now I am not getting any error at all.

    Cheers!

  5. #15
    Join Date
    Jan 2014
    Beans
    1

    Re: Failed to fetch - Update

    Hi, you may find a "Ubuntu Sources.list Generator" according to location and preferences:
    http://repogen.simplylinux.ch/
    Here is an example that worked fine with a new fresh install of Linux Mint 16 Petra in /etc/apt/sources.list.d/official-package-repositories.list
    Usual command after changing the source.list is: sudo apt-get update


    ###### Ubuntu Main Repos
    deb http://fr.archive.ubuntu.com/ubuntu/ saucy main restricted universe multiverse

    ###### Ubuntu Update Repos
    deb http://fr.archive.ubuntu.com/ubuntu/ saucy-security main restricted universe multiverse
    deb http://fr.archive.ubuntu.com/ubuntu/ saucy-updates main restricted universe multiverse

    ###### Ubuntu Partner Repo
    deb http://archive.canonical.com/ubuntu saucy partner

    Peace & Blessings

Page 2 of 2 FirstFirst 12

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
  •