Ubuntu cannot resolve unmet dependency

aptUbuntu

I'm trying to install a package on my Ubuntu 8.10 server. However, I get this message:

The following packages have unmet dependencies.
webmin: Depends: apt-show-versions but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).

So I run apt-get -f install which offers to install apt-show-versions and libapt-pkg-perl. After selecting to install without verification, I get these errors:

Err http://gb.archive.ubuntu.com intrepid/universe libapt-pkg-perl 0.1.22build1
404 Not Found
Err http://gb.archive.ubuntu.com intrepid/universe apt-show-versions 0.13
404 Not Found
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/liba/libapt-pkg-perl/libapt-pkg-perl_0.1.22build1_i386.deb 404 Not Found
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/a/apt-show-versions/apt-show-versions_0.13_all.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?

I've tried running apt-get update and adding --fix-missing as suggested, but neither works. Where do I go from here?

Best Answer

The ubuntu 8.10 is not any more supported. Have a look at this link.

Ubuntu 8.10 (Intrepid Ibex) was released in 30 October 2008 and maintained to 30 April 2010. So, you need to upgrade your server using:

$ sudo do-release-upgrade

But, you need to have update-manager-core package installed.

Otherwise, you may need to re-install a newer version of ubuntu.