J'ai bien vu dans le man d'apt-get qu'il suffit d'utiliser l'option -t distribution pour installer un packet d'une autre distribution. Mais il faut quelques préparations avant ça.
- Il faut avoir les sources adéquats dans le
/etc/apt/sources/list
.deb http://ftp.fr.debian.org/debian/ unstable main non-free contrib
dans mon cas. Mais si onapt-get update && apt-get dist-upgrade
à ce moment, c'est tout le système qui passe en unstable. - Il faut donc mettre
APT::Default-Release "testing";
dans/etc/apt/apt.conf
Mais quelle ne fût pas ma suprise en faisant apt-get update && apt-get dist-upgrade
à nouveau. J'avais plusieurs paquets à installer et à mettre à jour.
Reading Package Lists... Done Building Dependency Tree... Done Calculating Upgrade... Done The following NEW packages will be installed: libcrypto++5.2c2 libgd2-xpm libhk-classes8 libparted1.6-13 libwxbase2.4-1 libwxgtk2.4-1 The following packages have been kept back: qtpartedThe following packages will be upgraded: amule libapache-mod-php4 libhk-classes-mysql libmysqlclient14 libmysqlclient14-dev libsensors3 lm-sensors mysql-client-4.1 mysql-server-4.1 php4-cgi php4-cli php4-common php4-gd php4-mysql sed xine-ui 16 upgraded, 6 newly installed, 0 to remove and 1 not upgraded. Need to get 40.2MB/40.4MB of archives. After unpacking 17.4MB of additional disk space will be used. Do you want to continue? Y/n
Ha ... Oui mais c'est normal. C'est les paquets unstable que j'avais mis à la main ou qui viennent d'autres repository. Bon il m'a mis à jour quelques paquets
apt-get install -t unstable xen Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: iproute libatm1 libxen-python libxen2.0 python2.3-twisted python2.3-twisted-bin python2.3-zopeinterface Recommended packages: python2.3-pyopenssl python2.3-pam The following NEW packages will be installed: iproute libatm1 libxen-python libxen2.0 python2.3-twisted python2.3-twisted-bin python2.3-zopeinterface xen 0 upgraded, 8 newly installed, 0 to remove and 199 not upgraded. Need to get 2696kB of archives. After unpacking 11.0MB of additional disk space will be used. Do you want to continue? [Y/n]
bon bah apperement sa marche :)