I want to download a
.deb package with it's dependencies for a different distribution.
I have many Linux systems in my company: Ubuntu 11.04, 11.10, 12.10, and Debian 5 and 6.
The command to download a full dependency tree would be
apt-get -d install package.
I'm currently using a Debian 6 (squeeze), and downloading packages for the same distribution works fine. I tried downloading (without installing) packages tree by changing my
sources.list into Debian 5 (lenny) sources.
However I get the following error:
# apt-get -d install python-lxml ... The following packages have unmet dependencies: python-lxml : Depends: python (< 2.6) but 2.6.6-3+squeeze7 is to be installed E: Broken packages
Running a different OS for each distro will result in 12+ machines. I'm looking for a clearer solution.