System Administration & Network Administration
debian dependencies packages
Updated Thu, 26 May 2022 12:06:16 GMT

Use Debian 6.0 (Squeeze) packages on Debian 5.0 (Lenny) instalation


Currently I have installed Debian Lenny on virtualized server provided by my local ISP. I can't upgrade it, can configure it however I want, to Squeeze but I need newest package versions provided by Squeeze repository.

If I update /etc/apt/sources.list to Squeeze and then install, say potgresql, will it work correctly or system will be broken afterwards. Troubles can be with package dependencies.

Are there any other sources that provide new versions of software (dotdeb maybe)? Or how would you solve this problem?

Asking provider to upgrade is no option, tried that. Changing provider also not an option :p

I'm new to Debian but know my way around linux pretty well.

Note: This setup is for testing only, may be used as development server later, once I install required packages.




Solution

Lenny-backports is the only clean solution. Anything else will likely upgrade core parts of the OS, which you said you didn't want. In the case of postgresql, you get 8.4.7 instead of 8.3.14.

deb http://backports.debian.org/debian-backports lenny-backports main

plus contrib and non-free if needed.

Not sure what the blockage to a real upgrade is. You have root on the VM, and all that's left is the kernel the physical host provides. But unless I'm mistaken, you don't have to upgrade the VM's kernel to run squeeze.





Comments (1)

  • +0 – +1 for that. Any attempt to use dpkg/apt to install one version's packges on another will result in a dependency nightmare. The backports is very helpful, though it does rely on the package maintainer bothering with it; you'll only find a smaller subset of the popular packages there. — Apr 28, 2011 at 12:08  


External Links

External links referenced by this document: