Failed to fetch http://archive.canonical.com

Questions about applications and software
Forum rules
Before you post please read this

Failed to fetch http://archive.canonical.com

Postby vistad on Sat Nov 03, 2012 11:58 am

Hi guys,

today Update Manager wants to download some updates - starts and then reports the

ERROR###ERROR###ERROR###ERROR###ERROR###ERROR###ERROR
W:Failed to fetch http://archive.canonical.com/dists/maya ... ce/Sources 404 Not Found [IP: 91.189.92.191 80]
, W:Failed to fetch http://archive.canonical.com/dists/maya ... 6/Packages 404 Not Found [IP: 91.189.92.191 80]
, E:Some index files failed to download. They have been ignored, or old ones used instead.

What are we to do if there is an error upstream? Should we wait, or take action? What action?
LM17 32 Mate Intel Core2Duo CPU 6420 @ 2.13GHz, P5B-MX/WIFI-AP, 2.0 GiB RAM, 500 MiB Swap, 1Tb SATA Ext4, Bluetooth Level One MDU-0025USB
vistad
Level 3
Level 3
 
Posts: 149
Joined: Tue Feb 08, 2011 9:17 am

Linux Mint is funded by ads and donations.
 

Re: Failed to fetch http://archive.canonical.com

Postby karlchen on Sat Nov 03, 2012 12:07 pm

Hello, vistad.

Check the output of the command
Code: Select all
inxi -r
please. Here is mine just for reference
Code: Select all
inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://packages.linuxmint.com/ maya main upstream import backport
           deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ precise partner
           deb http://packages.medibuntu.org/ precise free non-free

The only line which may mention the name "maya" is this line:
Code: Select all
deb http://packages.linuxmint.com/ maya main upstream import backport
All other lines which point to Canonical or third party repositories have to use "precise" instead of "maya", because only the Mint repositories will know the name of "maya".
So you may want to correct your sources.list file and try again.

HTH,
Karl
User avatar
karlchen
Level 11
Level 11
 
Posts: 3506
Joined: Sat Dec 31, 2011 7:21 am

Re: Failed to fetch http://archive.canonical.com

Postby vistad on Sat Nov 03, 2012 3:16 pm

Thank you, Karl!

I happen to have these records:


~ $ inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://packages.linuxmint.com/ maya main upstream import
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free
deb http://archive.canonical.com/ maya partner
deb-src http://archive.canonical.com/ maya partner
Active apt sources in file: /etc/apt/sources.list.d/atareao-sunflower-precise.list
deb http://ppa.launchpad.net/atareao/sunflower/ubuntu precise main
deb-src http://ppa.launchpad.net/atareao/sunflower/ubuntu precise main
Active apt sources in file: /etc/apt/sources.list.d/chromium-daily-beta-precise.list
deb http://ppa.launchpad.net/chromium-daily/beta/ubuntu precise main
deb-src http://ppa.launchpad.net/chromium-daily/beta/ubuntu precise main
Active apt sources in file: /etc/apt/sources.list.d/skype-wrapper-ppa-precise.list
deb http://ppa.launchpad.net/skype-wrapper/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/skype-wrapper/ppa/ubuntu precise main
Active apt sources in file: /etc/apt/sources.list.d/tiheum-equinox-precise.list
deb http://ppa.launchpad.net/tiheum/equinox/ubuntu precise main
deb-src http://ppa.launchpad.net/tiheum/equinox/ubuntu precise main
LM17 32 Mate Intel Core2Duo CPU 6420 @ 2.13GHz, P5B-MX/WIFI-AP, 2.0 GiB RAM, 500 MiB Swap, 1Tb SATA Ext4, Bluetooth Level One MDU-0025USB
vistad
Level 3
Level 3
 
Posts: 149
Joined: Tue Feb 08, 2011 9:17 am

Re: Failed to fetch http://archive.canonical.com

Postby remoulder on Sat Nov 03, 2012 5:35 pm

vistad wrote:eb http://archive.canonical.com/ maya partner
deb-src http://archive.canonical.com/ maya partner

maya is ONLY for mint repos, everything else should reference ubuntu precise.
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
User avatar
remoulder
Level 17
Level 17
 
Posts: 7667
Joined: Fri May 09, 2008 1:14 pm

Re: Failed to fetch http://archive.canonical.com

Postby karlchen on Sun Nov 04, 2012 5:33 pm

Hello, vistad.

As remoulder has explained these 2 lines in the file /etc/apt/sources.list need fixing.
Incorrect:
Code: Select all
deb http://archive.canonical.com/ maya partner
deb-src http://archive.canonical.com/ maya partner


Correct:
Code: Select all
deb http://archive.canonical.com/ precise partner
deb-src http://archive.canonical.com/ precise partner


In order to edit and correct the file /etc/apt/sources.list run the commandline
Code: Select all
gksu gedit /etc/apt/sources.list


HTH,
Karl
User avatar
karlchen
Level 11
Level 11
 
Posts: 3506
Joined: Sat Dec 31, 2011 7:21 am

Re: Failed to fetch http://archive.canonical.com

Postby vistad on Tue Nov 06, 2012 5:17 pm

Guys, thank you very much! I edited the records as you said and the Update Manager stopped complaining. I just wonder - I didn't edit that file manually: how those wrong records got into it? It should be someone's dirty code. Thank you once again! :)
LM17 32 Mate Intel Core2Duo CPU 6420 @ 2.13GHz, P5B-MX/WIFI-AP, 2.0 GiB RAM, 500 MiB Swap, 1Tb SATA Ext4, Bluetooth Level One MDU-0025USB
vistad
Level 3
Level 3
 
Posts: 149
Joined: Tue Feb 08, 2011 9:17 am

Re: Failed to fetch http://archive.canonical.com

Postby karlchen on Tue Nov 06, 2012 5:48 pm

Hello, vistad.

Glad to learn that our advice helped you solve the updater problem.

Cheers,
Karl
User avatar
karlchen
Level 11
Level 11
 
Posts: 3506
Joined: Sat Dec 31, 2011 7:21 am

Re: Failed to fetch http://archive.canonical.com

Postby squeezy on Tue Nov 06, 2012 6:02 pm

vistad wrote:I just wonder - I didn't edit that file manually: how those wrong records got into it?


I've wondered that myself. It happens often enough that you know not everyone is altering their sources themselves. It's got to be some goofy code.
squeezy
Level 5
Level 5
 
Posts: 567
Joined: Thu Feb 23, 2012 2:05 pm
Location: The Land of Enchantment

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: Google Adsense [Bot] and 18 guests