On Mon, Sep 03, 2001 at 09:19:42PM -0400, Tom Allison wrote: > Can someone give me an example of how I would upgrade a specific > package from 'testing' without affecting any of the apt-get libraries? > If I change the sources.list to include 'testing' then I get all > kinds of files selected for upgrade. I really don't want to move [...]
I'm not quite sure what you mean by "selected for upgrade". Are you using dselect? You shouldn't, if all you want to do is to upgrade a single package. I can see two ways to solve your problem. I prefer the quick and dirty approach: # echo \ "deb-src http://non-us.debian.org/ testing/non-US main contrib non-free" \ >/etc/apt/sources.list # apt-get update # apt-get install ssh after which you have to remember to change sources.list again before the next installation from stable. To do it cleanly, you can compile the testing package from source: # echo \ "deb-src http://non-us.debian.org/ testing/non-US main contrib non-free" \ >>/etc/apt/sources.list # apt-get update # cd /usr/local/src/ # apt-get source ssh # cd openssh-2.5.2p2 # debian/rules build # dpkg -i openssh_2.5.2p2-3.deb but for this to work, you will have to install all the necessary *-dev packages from stable first. Concerning your upgrade problems: 'apt-get dist-upgrade' would probably help avoid your system failures on moving from stable to testing. Just my 2p - there are probably still better ways to solve your problem. All the best Rolf -- Rolf Heckemann (Dr. med.) Research Fellow Department of Imaging Hammersmith Hospital, London

