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

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
vistad
Level 4
Level 4
Posts: 326
Joined: Tue Feb 08, 2011 9:17 am

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

Post by vistad »

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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linux Mint Mate 21.2 64, fanless box with passive cooling
User avatar
karlchen
Level 23
Level 23
Posts: 18173
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

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

Post by karlchen »

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
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
vistad
Level 4
Level 4
Posts: 326
Joined: Tue Feb 08, 2011 9:17 am

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

Post by vistad »

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
Linux Mint Mate 21.2 64, fanless box with passive cooling
remoulder
Level 17
Level 17
Posts: 7621
Joined: Fri May 09, 2008 1:14 pm

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

Post by remoulder »

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 23
Level 23
Posts: 18173
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

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

Post by karlchen »

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
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
vistad
Level 4
Level 4
Posts: 326
Joined: Tue Feb 08, 2011 9:17 am

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

Post by vistad »

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! :)
Linux Mint Mate 21.2 64, fanless box with passive cooling
User avatar
karlchen
Level 23
Level 23
Posts: 18173
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

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

Post by karlchen »

Hello, vistad.

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

Cheers,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
squeezy

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

Post by squeezy »

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.
Locked

Return to “Software & Applications”