Linux – Upgrading phptheadmin (and other packages) on Debian Squeeze

debianlinux

I just setup a new VM with Debian Squeeze (latest stable release, 6.0.4). I am going for a webserver, so I installed the usual… apache, php5, mysql, phpmyadmin, etc.

Everything went well, everything is working.

My question is about upgrading packages. I noticed the phpmyadmin version is 3.3.7… the latest is 3.4.10.1. Doing apt-get update/upgrade does not upgrade the package.

How does one go about upgrading packages on a Debian Squeeze server if apt-get update/upgrade does not work?

Thanks!

Best Answer

I think you are misunderstanding what the releases actually are (Lenny/Squeeze etc.)

A Debian build is no more than a kernel, collection of libraries and applications. The applications generally stay the same version, with newer releases becoming available in the next version of Debian (unless someone makes a backport).

Eg. For phpmyadmin http://packages.debian.org/lenny/phpmyadmin - You can see that 3.4.10 is available in wheezy, not squeeze

This is what makes the OS considered stable - using a (restrictive, not latest) version of software/libs all considered to be stable

You could upgrade to the newer version of Debian, which would be a little extreme for the sake of a small web app like phpmyadmin; or you could just download the latest version of phpmyadmin and install it manually.

When you install phpmyadmin via aptitude, it doesn't do more than create an Apache conf, a system defaults file and populate the contents of /usr/share/phpmyadmin (IIRC).

So my suggestion would be to just install phpmyadmin from the source, it is extremely simple, if in doubt read the README.