How is this possible: Ubuntu Karmic repository list in Ubuntu Lucid?

Hi,

Please excuse the length of this posting.

My distro is Ubuntu 10.04.2 , and yet I find Karmic 9.10 repository list in etc/apt/sources.list.d:

> ls -l /etc/apt/sources.list.d total 4 -rw-r--r-- 1 root root 1960 Mar 25 2011 karmic.list

Now, when I run > apt-get update

what I get is:

apt-get update
Hit http://gb.archive.ubuntu.com lucid Release.gpg
Get:1 http://gb.archive.ubuntu.com lucid-updates Release.gpg [198B]
Ign http://gb.archive.ubuntu.com karmic Release.gpg
Ign http://gb.archive.ubuntu.com karmic-updates Release.gpg
Hit http://gb.archive.ubuntu.com lucid Release
Get:2 http://gb.archive.ubuntu.com lucid-updates Release [101kB]
Hit http://ubuntu.positive-internet.com lucid Release.gpg
Ign http://ubuntu.positive-internet.com karmic Release.gpg
Ign http://gb.archive.ubuntu.com karmic Release
Ign http://gb.archive.ubuntu.com karmic-updates Release
Ign http://gb.archive.ubuntu.com karmic/main Packages
Ign http://gb.archive.ubuntu.com karmic/restricted Packages
Ign http://gb.archive.ubuntu.com karmic/main Sources
Ign http://gb.archive.ubuntu.com karmic/restricted Sources
Ign http://gb.archive.ubuntu.com karmic/universe Packages
Ign http://gb.archive.ubuntu.com karmic/universe Sources
Hit http://ubuntu.positive-internet.com lucid Release
Ign http://gb.archive.ubuntu.com karmic-updates/main Packages
Ign http://gb.archive.ubuntu.com karmic-updates/restricted Packages
Ign http://gb.archive.ubuntu.com karmic-updates/main Sources
Ign http://gb.archive.ubuntu.com karmic-updates/restricted Sources
Ign http://gb.archive.ubuntu.com karmic/main Packages
Ign http://gb.archive.ubuntu.com karmic/restricted Packages
Ign http://gb.archive.ubuntu.com karmic/main Sources
Ign http://gb.archive.ubuntu.com karmic/restricted Sources
Ign http://gb.archive.ubuntu.com karmic/universe Packages
Ign http://gb.archive.ubuntu.com karmic/universe Sources
Ign http://gb.archive.ubuntu.com karmic-updates/main Packages
Ign http://gb.archive.ubuntu.com karmic-updates/restricted Packages
Ign http://gb.archive.ubuntu.com karmic-updates/main Sources
Hit http://gb.archive.ubuntu.com lucid/main Packages
Hit http://gb.archive.ubuntu.com lucid/restricted Packages
Hit http://gb.archive.ubuntu.com lucid/main Sources
Hit http://gb.archive.ubuntu.com lucid/restricted Sources
Ign http://ubuntu.positive-internet.com karmic Release
Ign http://gb.archive.ubuntu.com karmic-updates/restricted Sources
Err http://gb.archive.ubuntu.com karmic/main Packages
404 Not Found [IP: 194.169.254.10 80]
Err http://gb.archive.ubuntu.com karmic/restricted Packages
404 Not Found [IP: 194.169.254.10 80]
Err http://gb.archive.ubuntu.com karmic/main Sources
404 Not Found [IP: 194.169.254.10 80]
Err http://gb.archive.ubuntu.com karmic/restricted Sources
404 Not Found [IP: 194.169.254.10 80]
Err http://gb.archive.ubuntu.com karmic/universe Packages
404 Not Found [IP: 194.169.254.10 80]
Err http://gb.archive.ubuntu.com karmic/universe Sources
404 Not Found [IP: 194.169.254.10 80]
Err http://gb.archive.ubuntu.com karmic-updates/main Packages
404 Not Found [IP: 194.169.254.10 80]
Err http://gb.archive.ubuntu.com karmic-updates/restricted Packages
404 Not Found [IP: 194.169.254.10 80]
Err http://gb.archive.ubuntu.com karmic-updates/main Sources
404 Not Found [IP: 194.169.254.10 80]
Err http://gb.archive.ubuntu.com karmic-updates/restricted Sources
404 Not Found [IP: 194.169.254.10 80]
Ign http://ubuntu.positive-internet.com karmic/main Packages
Get:3 http://gb.archive.ubuntu.com lucid-updates/main Packages [774kB]
Ign http://ubuntu.positive-internet.com karmic/restricted Packages
Ign http://ubuntu.positive-internet.com karmic/main Sources
Ign http://ubuntu.positive-internet.com karmic/restricted Sources
Ign http://ubuntu.positive-internet.com karmic/universe Packages
Ign http://ubuntu.positive-internet.com karmic/universe Sources
Ign http://ubuntu.positive-internet.com karmic/main Packages
Hit http://ubuntu.positive-internet.com lucid/main Packages
Hit http://ubuntu.positive-internet.com lucid/restricted Packages
Hit http://ubuntu.positive-internet.com lucid/main Sources
Hit http://ubuntu.positive-internet.com lucid/restricted Sources
Ign http://ubuntu.positive-internet.com karmic/restricted Packages
Ign http://ubuntu.positive-internet.com karmic/main Sources
Ign http://ubuntu.positive-internet.com karmic/restricted Sources
Ign http://ubuntu.positive-internet.com karmic/universe Packages
Ign http://ubuntu.positive-internet.com karmic/universe Sources
Err http://ubuntu.positive-internet.com karmic/main Packages
404 Not Found
Err http://ubuntu.positive-internet.com karmic/restricted Packages
404 Not Found
Err http://ubuntu.positive-internet.com karmic/main Sources
404 Not Found
Err http://ubuntu.positive-internet.com karmic/restricted Sources
404 Not Found
Err http://ubuntu.positive-internet.com karmic/universe Packages
404 Not Found
Err http://ubuntu.positive-internet.com karmic/universe Sources
404 Not Found
Get:4 http://gb.archive.ubuntu.com lucid-updates/restricted Packages [4630B]
Get:5 http://gb.archive.ubuntu.com lucid-updates/main Sources [337kB]
Get:6 http://gb.archive.ubuntu.com lucid-updates/restricted Sources [2196B]
Hit http://archive.ubuntu.com lucid-proposed Release.gpg
Ign http://archive.ubuntu.com karmic-proposed Release.gpg
Get:7 http://security.ubuntu.com lucid-security Release.gpg [198B]
Ign http://security.ubuntu.com karmic-security Release.gpg
Hit http://software.virtualmin.com virtualmin-lucid Release.gpg
Get:8 http://repo.r1soft.com stable Release.gpg [198B]
Hit http://archive.ubuntu.com lucid-proposed Release
Get:9 http://security.ubuntu.com lucid-security Release [57.3kB]
Ign http://archive.ubuntu.com karmic-proposed Release
Get:10 http://repo.r1soft.com stable Release [1658B]
Ign http://repo.r1soft.com stable Release
Hit http://archive.ubuntu.com lucid-proposed/main Packages
Hit http://archive.ubuntu.com lucid-proposed/restricted Packages
Hit http://archive.ubuntu.com lucid-proposed/universe Packages
Hit http://archive.ubuntu.com lucid-proposed/multiverse Packages
Hit http://software.virtualmin.com virtualmin-universal Release.gpg
Ign http://repo.r1soft.com stable/main Packages
Ign http://archive.ubuntu.com karmic-proposed/main Packages
Ign http://archive.ubuntu.com karmic-proposed/restricted Packages
Ign http://archive.ubuntu.com karmic-proposed/universe Packages
Ign http://archive.ubuntu.com karmic-proposed/multiverse Packages
Ign http://repo.r1soft.com stable/main Packages
Ign http://archive.ubuntu.com karmic-proposed/main Packages
Ign http://software.virtualmin.com virtualmin-karmic Release.gpg
Ign http://archive.ubuntu.com karmic-proposed/restricted Packages
Ign http://archive.ubuntu.com karmic-proposed/universe Packages
Hit http://repo.r1soft.com stable/main Packages
Ign http://archive.ubuntu.com karmic-proposed/multiverse Packages
Ign http://security.ubuntu.com karmic-security Release
Err http://archive.ubuntu.com karmic-proposed/main Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com karmic-proposed/restricted Packages
404 Not Found [IP: 91.189.91.13 80]
Hit http://software.virtualmin.com virtualmin-lucid Release
Get:11 http://security.ubuntu.com lucid-security/main Packages [572kB]
Err http://archive.ubuntu.com karmic-proposed/universe Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com karmic-proposed/multiverse Packages
404 Not Found [IP: 91.189.91.13 80]
Hit http://software.virtualmin.com virtualmin-universal Release
Ign http://software.virtualmin.com virtualmin-karmic Release
Hit http://software.virtualmin.com virtualmin-lucid/main Packages
Hit http://software.virtualmin.com virtualmin-universal/main Packages
Ign http://software.virtualmin.com virtualmin-karmic/main Packages
Ign http://software.virtualmin.com virtualmin-karmic/main Packages
Err http://software.virtualmin.com virtualmin-karmic/main Packages
404 Not Found
Get:12 http://security.ubuntu.com lucid-security/restricted Packages [2867B]
Get:13 http://security.ubuntu.com lucid-security/main Sources [244kB]
Get:14 http://security.ubuntu.com lucid-security/restricted Sources [1267B]
Ign http://security.ubuntu.com karmic-security/main Packages
Ign http://security.ubuntu.com karmic-security/restricted Packages
Ign http://security.ubuntu.com karmic-security/main Sources
Ign http://security.ubuntu.com karmic-security/restricted Sources
Ign http://security.ubuntu.com karmic-security/main Packages
Ign http://security.ubuntu.com karmic-security/restricted Packages
Ign http://security.ubuntu.com karmic-security/main Sources
Ign http://security.ubuntu.com karmic-security/restricted Sources
Err http://security.ubuntu.com karmic-security/main Packages
404 Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com karmic-security/restricted Packages
404 Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com karmic-security/main Sources
404 Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com karmic-security/restricted Sources
404 Not Found [IP: 91.189.91.15 80]
Fetched 2096kB in 9s (216kB/s)
W: GPG error: http://repo.r1soft.com stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 1BF3530AA40384ED
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/karmic/main/binary-i386/Packages.gz 404 Not Found [IP: 194.169.254.10 80]

W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/karmic/restricted/binary-i386/Packages.gz 404 Not Found [IP: 194.169.254.10 80]

W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/karmic/main/source/Sources.gz 404 Not Found [IP: 194.169.254.10 80]

W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/karmic/restricted/source/Sources.gz 404 Not Found [IP: 194.169.254.10 80]

W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/karmic/universe/binary-i386/Packages.gz 404 Not Found [IP: 194.169.254.10 80]

W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/karmic/universe/source/Sources.gz 404 Not Found [IP: 194.169.254.10 80]

W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/karmic-updates/main/binary-i386/Packages.gz 404 Not Found [IP: 194.169.254.10 80]

W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/karmic-updates/restricted/binary-i386/Packages.gz 404 Not Found [IP: 194.169.254.10 80]

W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/karmic-updates/main/source/Sources.gz 404 Not Found [IP: 194.169.254.10 80]

W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/karmic-updates/restricted/source/Sources.gz 404 Not Found [IP: 194.169.254.10 80]

W: Failed to fetch http://ubuntu.positive-internet.com/ubuntu/dists/karmic/main/binary-i386/Packages.gz 404 Not Found

W: Failed to fetch http://ubuntu.positive-internet.com/ubuntu/dists/karmic/restricted/binary-i386/Packages.gz 404 Not Found

W: Failed to fetch http://ubuntu.positive-internet.com/ubuntu/dists/karmic/main/source/Sources.gz 404 Not Found

W: Failed to fetch http://ubuntu.positive-internet.com/ubuntu/dists/karmic/restricted/source/Sources.gz 404 Not Found

W: Failed to fetch http://ubuntu.positive-internet.com/ubuntu/dists/karmic/universe/binary-i386/Packages.gz 404 Not Found

W: Failed to fetch http://ubuntu.positive-internet.com/ubuntu/dists/karmic/universe/source/Sources.gz 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/karmic-proposed/main/binary-i386/Packages.gz 404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/karmic-proposed/restricted/binary-i386/Packages.gz 404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/karmic-proposed/universe/binary-i386/Packages.gz 404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/karmic-proposed/multiverse/binary-i386/Packages.gz 404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-karmic/main/binary-i386/Packages.gz 404 Not Found

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/main/binary-i386/Packages.gz 404 Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/restricted/binary-i386/Packages.gz 404 Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/main/source/Sources.gz 404 Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/restricted/source/Sources.gz 404 Not Found [IP: 91.189.91.15 80]

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

This is causing havoc, and I can’t bring my system up-to date because it won’t let me install what I need.

apt-get install apache2-suexec-custom
Reading package lists…
Building dependency tree…
Reading state information…
The following NEW packages will be installed:
apache2-suexec-custom
0 upgraded, 1 newly installed, 0 to remove and 116 not upgraded.
Need to get 91.7kB of archives.
After this operation, 201kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
apache2-suexec-custom
Install these packages without verification [y/N]? W: Duplicate sources.list entry http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal/main Packages (/var/lib/apt/lists/software.virtualmin.com_gpl_ubuntu_dists_virtualmin-universal_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Some packages could not be authenticated

What can I do to get out of this mess? I really need to fix this quickly.

Thank you all for any clues.

Howdy,

You had mentioned in a different post that you were able to get suexec installed – are you still seeing this particular problem? If so, let us know what /etc/apt/sources.list looks like.

-Eric

Hi Eric,

Following your hint about incorrect package source repository, I found a copy of Lucid list in /etc/apt/sources.list.d on a machine in our office, and placed it on the remote server. Everything is fine now. I am able to fetch correct packages, and the system is back to normal now.

I don’t know why I had the Karmic source repository on my Lucid box in the first place. The server was set up by another person a few years ago. Also, I am not sure if this was the cause of the malfunction of autoremove command that created the mess in the first place.

I am truly grateful to you!

Simon.