Linux Mint giving 404 on package updates.
I wanted to install eclipse but the synaptic manager would not show me anything. When trying to refresh the sources, there were lots of failures.
Next I tried the
sudo apt-get update.
but that too return me a lots of 404 failures :-
-----------------------------------------------------------------------------------------------------------------------
Ign http://archive.ubuntu.com petra InRelease
Ign http://security.ubuntu.com petra-security InRelease
Ign http://archive.ubuntu.com petra-updates InRelease
Ign http://security.ubuntu.com petra-security Release.gpg
Ign http://packages.linuxmint.com petra InRelease
Ign http://extra.linuxmint.com petra InRelease
Ign http://archive.canonical.com petra InRelease
Ign http://archive.ubuntu.com petra Release.gpg
Ign http://security.ubuntu.com petra-security Release
Ign http://archive.canonical.com petra Release.gpg
Ign http://archive.ubuntu.com petra-updates Release.gpg
Get:1 http://packages.linuxmint.com petra Release.gpg [198 B]
Get:2 http://extra.linuxmint.com petra Release.gpg [198 B]
Ign http://archive.canonical.com petra Release
Ign http://archive.ubuntu.com petra Release
Ign http://archive.ubuntu.com petra-updates Release
Get:3 http://packages.linuxmint.com petra Release [18.5 kB]
Get:4 http://extra.linuxmint.com petra Release [3,090 B]
Get:5 http://extra.linuxmint.com petra/main amd64 Packages [655 B]
Get:6 http://packages.linuxmint.com petra/main amd64 Packages [29.3 kB]
Get:7 http://extra.linuxmint.com petra/main i386 Packages [655 B]
Get:8 http://packages.linuxmint.com petra/upstream amd64 Packages [23.3 kB]
Get:9 http://packages.linuxmint.com petra/import amd64 Packages [40.1 kB]
Err http://archive.canonical.com petra/partner amd64 Packages
404 Not Found [IP: 91.189.92.150 80]
Get:10 http://packages.linuxmint.com petra/main i386 Packages [28.7 kB]
Err http://archive.canonical.com petra/partner i386 Packages
404 Not Found [IP: 91.189.92.150 80]
Ign http://archive.canonical.com petra/partner Translation-en_IN
Ign http://archive.canonical.com petra/partner Translation-en
Get:11 http://packages.linuxmint.com petra/upstream i386 Packages [23.3 kB]
Get:12 http://packages.linuxmint.com petra/import i386 Packages [40.5 kB]
Ign http://extra.linuxmint.com petra/main Translation-en_IN
Ign http://extra.linuxmint.com petra/main Translation-en
Err http://security.ubuntu.com petra-security/main amd64 Packages
404 Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com petra-security/restricted amd64 Packages
404 Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com petra-security/universe amd64 Packages
404 Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com petra-security/multiverse amd64 Packages
404 Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com petra-security/main i386 Packages
404 Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com petra-security/restricted i386 Packages
404 Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com petra-security/universe i386 Packages
404 Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com petra-security/multiverse i386 Packages
404 Not Found [IP: 91.189.92.201 80]
Ign http://security.ubuntu.com petra-security/main Translation-en_IN
Ign http://security.ubuntu.com petra-security/main Translation-en
Ign http://security.ubuntu.com petra-security/multiverse Translation-en_IN
Ign http://security.ubuntu.com petra-security/multiverse Translation-en
Ign http://packages.linuxmint.com petra/import Translation-en_IN
Ign http://security.ubuntu.com petra-security/restricted Translation-en_IN
Ign http://security.ubuntu.com petra-security/restricted Translation-en
Ign http://packages.linuxmint.com petra/import Translation-en
Ign http://security.ubuntu.com petra-security/universe Translation-en_IN
Ign http://security.ubuntu.com petra-security/universe Translation-en
Ign http://packages.linuxmint.com petra/main Translation-en_IN
Ign http://packages.linuxmint.com petra/main Translation-en
Ign http://packages.linuxmint.com petra/upstream Translation-en_IN
Ign http://packages.linuxmint.com petra/upstream Translation-en
Err http://archive.ubuntu.com petra/main amd64 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra/restricted amd64 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra/universe amd64 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra/multiverse amd64 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra/main i386 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra/restricted i386 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra/universe i386 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra/multiverse i386 Packages
404 Not Found [IP: 91.189.92.176 80]
Ign http://archive.ubuntu.com petra/main Translation-en_IN
Ign http://archive.ubuntu.com petra/main Translation-en
Ign http://archive.ubuntu.com petra/multiverse Translation-en_IN
Ign http://archive.ubuntu.com petra/multiverse Translation-en
Ign http://archive.ubuntu.com petra/restricted Translation-en_IN
Ign http://archive.ubuntu.com petra/restricted Translation-en
Ign http://archive.ubuntu.com petra/universe Translation-en_IN
Ign http://archive.ubuntu.com petra/universe Translation-en
Err http://archive.ubuntu.com petra-updates/main amd64 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra-updates/restricted amd64 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra-updates/universe amd64 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra-updates/multiverse amd64 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra-updates/main i386 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra-updates/restricted i386 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra-updates/universe i386 Packages
404 Not Found [IP: 91.189.92.176 80]
Err http://archive.ubuntu.com petra-updates/multiverse i386 Packages
404 Not Found [IP: 91.189.92.176 80]
Ign http://archive.ubuntu.com petra-updates/main Translation-en_IN
Ign http://archive.ubuntu.com petra-updates/main Translation-en
Ign http://archive.ubuntu.com petra-updates/multiverse Translation-en_IN
Ign http://archive.ubuntu.com petra-updates/multiverse Translation-en
Ign http://archive.ubuntu.com petra-updates/restricted Translation-en_IN
Ign http://archive.ubuntu.com petra-updates/restricted Translation-en
Ign http://archive.ubuntu.com petra-updates/universe Translation-en_IN
Ign http://archive.ubuntu.com petra-updates/universe Translation-en
Fetched 209 kB in 32s (6,492 B/s)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/main/binary-amd64/Packages 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/universe/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/petra/partner/binary-amd64/Packages 404 Not Found [IP: 91.189.92.150 80]
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/petra/partner/binary-i386/Packages 404 Not Found [IP: 91.189.92.150 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra/main/binary-amd64/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra/main/binary-i386/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra/universe/binary-i386/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra-updates/main/binary-amd64/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra-updates/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra-updates/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra-updates/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra-updates/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra-updates/universe/binary-i386/Packages 404 Not Found [IP: 91.189.92.176 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/petra-updates/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.92.176 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
-----------------------------------------------------------------------------------------------------------------------------------
Also, on searching ppl seems to redirect to update the sources.list file in /etc/apt folder. But in my system that had no typical sources that were mentioned in various blogs. Something has changed the way linux mint keeps source list.
The solution was to open something called as "Software Sources" from the Linux mint start menu.
Once open I restored the default settings and updated the cache.
Also went to the maintenance tab and did both "fix mergelist problems" and "purge residual configuration" and again updated the cache.
This solved the problems for me, and the synaptic manager started showing me the complete list of items.
Hope this helps some-one.
Though I am still struggling with the Flash player not having any sound. The player was working fine till today morning, when it suddenly stopped emitting any sound, while all other format local videos, were working fine. Still working on that, and if solved would be material for another blog.