“sudo apt-get update” packages 404ing in nadia cinnamon

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

“sudo apt-get update” packages 404ing in nadia cinnamon

Postby rblakemesser on Mon Dec 10, 2012 3:47 am

In Linux Mint Nadia (Cinnamon), when I run

Code: Select all
sudo apt-get update

I got the following set of error: I removed http://'s:

Code: Select all
Fetched 173 kB in 13s (12.5 kB/s) W: Failed to fetch archive.canonical.com/ubuntu/dists/nadia/partner/source/Sources 404 Not Found [IP: 91.189.92.150 80]

W: Failed to fetch archive.canonical.com/ubuntu/dists/nadia/partner/binary-amd64/Packages 404 Not Found [IP: 91.189.92.150 80]

W: Failed to fetch archive.canonical.com/ubuntu/dists/nadia/partner/binary-i386/Packages 404 Not Found [IP: 91.189.92.150 80]

W: Failed to fetch dl.google.com/linux/deb/dists/stable/Release Unable to find expected entry 'non-free/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch linux.dropbox.com/ubuntu/dists/nadia/main/binary-amd64/Packages 404 Not Found [IP: 199.47.217.170 80]

W: Failed to fetch linux.dropbox.com/ubuntu/dists/nadia/main/binary-i386/Packages 404 Not Found [IP: 199.47.217.170 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.


The same errors also appear in the Update Manager. Switching download servers to a mirror in the "Software Sources" menu didn't work. and
Code: Select all
 sudo rm -fv /var/lib/apt/lists/* && sudo apt-get update
didnt work either.
rblakemesser
Level 1
Level 1
 
Posts: 3
Joined: Mon Dec 10, 2012 3:40 am

Linux Mint is funded by ads and donations.
 

Re: “sudo apt-get update” packages 404ing in nadia cinnamon

Postby xenopeek on Mon Dec 10, 2012 4:57 am

Hi, your repositories are configured incorrectly. They have the release name "nadia", which is only for Linux Mint repositories. The repositories on which you get errors are Ubuntu repositories, so in fact the release name should be "quantal" for those. If you don't know how to fix that, please share the output of the following command (and don't remove any http from the output :)):
Code: Select all
inxi -r
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10477
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: “sudo apt-get update” packages 404ing in nadia cinnamon

Postby rblakemesser on Mon Dec 10, 2012 9:02 am

Hi Vincent. Thanks for your response/help. Here is the output:
Code: Select all
$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://packages.linuxmint.com/ nadia main import upstream
           deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ quantal partner
           deb http://packages.medibuntu.org/ quantal free non-free
           Active apt sources in file: /etc/apt/sources.list.d/dropbox.list
           deb http://linux.dropbox.com/ubuntu nadia main
           Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
           deb http://dl.google.com/linux/chrome/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/google.list
           deb http://dl.google.com/linux/deb/ stable non-free main
           Active apt sources in file: /etc/apt/sources.list.d/partner.list
           deb http://archive.canonical.com/ubuntu nadia partner
           deb-src http://archive.canonical.com/ubuntu nadia partner


Based on this: I fixed a few of them by switching nadia to quantal in the respective files. I narrowed it down to the below repositories. I'm now googling for solutions to those : )

Code: Select all
Fetched 175 kB in 14s (11.8 kB/s)
W: Failed to fetch http://linux.dropbox.com/ubuntu/dists/quantal/main/binary-amd64/Packages  404  Not Found [IP: 199.47.217.170 80]

W: Failed to fetch http://linux.dropbox.com/ubuntu/dists/quantal/main/binary-i386/Packages  404  Not Found [IP: 199.47.217.170 80]

W: Failed to fetch http://dl.google.com/linux/deb/dists/stable/Release  Unable to find expected entry 'non-free/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.


Also found this: http://ubuntuforums.org/archive/index.p ... 11635.html which didn't help.
rblakemesser
Level 1
Level 1
 
Posts: 3
Joined: Mon Dec 10, 2012 3:40 am

Re: “sudo apt-get update” packages 404ing in nadia cinnamon

Postby xenopeek on Mon Dec 10, 2012 12:43 pm

You can also view repositories in your web browser. For Dropbox, it seems the most recent Ubuntu repository is precise (click the link and see the available repositories): http://linux.dropbox.com/ubuntu/dists/. So I'd try replacing quantal with precise for these two entries perhaps?

I'm not sure what the problem is with the Google repo...
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10477
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands


Return to Newbie Questions

Who is online

Users browsing this forum: Haeng-Cho Halls and 13 guests