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

Questions about applications and software
Forum rules
Before you post please read how to get help
vistad
Level 3
Level 3
Posts: 192
Joined: Tue Feb 08, 2011 9:17 am

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

Postby vistad » 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?
LM18-64 Mate, i7-6770K fanless Thermalright HR22, Asus Maximus VIII Gene, 32Gb RAM, 480Gb PCIe M.2 Kingston Hyper X Predator, 25Gb ext4 /, 1GB swap, the rest is ext4 /home, Vbox Win8.1-64

User avatar
karlchen
Level 16
Level 16
Posts: 6512
Joined: Sat Dec 31, 2011 7:21 am

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

Postby karlchen » 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
Image

vistad
Level 3
Level 3
Posts: 192
Joined: Tue Feb 08, 2011 9:17 am

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

Postby vistad » 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
LM18-64 Mate, i7-6770K fanless Thermalright HR22, Asus Maximus VIII Gene, 32Gb RAM, 480Gb PCIe M.2 Kingston Hyper X Predator, 25Gb ext4 /, 1GB swap, the rest is ext4 /home, Vbox Win8.1-64

User avatar
remoulder
Level 17
Level 17
Posts: 7653
Joined: Fri May 09, 2008 1:14 pm
Contact:

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

Postby remoulder » 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
karlchen
Level 16
Level 16
Posts: 6512
Joined: Sat Dec 31, 2011 7:21 am

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

Postby karlchen » 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
Image

vistad
Level 3
Level 3
Posts: 192
Joined: Tue Feb 08, 2011 9:17 am

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

Postby vistad » 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! :)
LM18-64 Mate, i7-6770K fanless Thermalright HR22, Asus Maximus VIII Gene, 32Gb RAM, 480Gb PCIe M.2 Kingston Hyper X Predator, 25Gb ext4 /, 1GB swap, the rest is ext4 /home, Vbox Win8.1-64

User avatar
karlchen
Level 16
Level 16
Posts: 6512
Joined: Sat Dec 31, 2011 7:21 am

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

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

Hello, vistad.

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

Cheers,
Karl
Image

squeezy
Level 5
Level 5
Posts: 566
Joined: Thu Feb 23, 2012 2:05 pm
Location: The Land of Enchantment

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

Postby squeezy » 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.


Return to “Software & Applications”

Who is online

Users browsing this forum: blockhead47 and 4 guests