Ubuntu/Debian dpkg tips
Dato che mi scordo sempre ho deciso che li pubblico qua cosi’ so come ritrovarli quando mi riserviranno.
Questi due comandi sono molto utili per chi usa sistemi basati su Debian, i primi permettono di reinstallare tutti i pacchetti da un pc a un altro, mentre il secondo mette nello stato “hold” un pacchetto in modo che non venga piu’ upgradato (a voi potrebbe non servire ma a me si):
To make a local copy of the package selection states:
dpkg --get-selections > package.list
You might transfer this file to another computer, and install it there with:
dpkg --set-selections < package.list
To put on hold a package:
echo <package-name> hold | sudo dpkg --set-selections
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.
23:02 on September 7th, 2009
Riguardo alla reinstallazione su un nuovo sistema, mi permetto di pubblicizzare:
http://poisson.phc.unipi.it/~battiston/gueic/doku.php?id=minpkg
19:10 on May 6th, 2007
[...] (dpkg –get-selections/dpkg –set-selections tips) [...]
13:14 on April 19th, 2007
[...] Dpkg packages tips [...]