Ubuntu/Debian dpkg tips

Ciao! E’ la prima volta che ti vedo qua, se vuoi seguirmi sottoscrivi il feed RSS.
If you’re new here, you may want to subscribe to my RSS feed. Thanks for visiting!

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

Post simili:

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.

2 Responses to “Ubuntu/Debian dpkg tips”
  1. io, me e michele ^ Some cool Ubuntu Linux tips
    13:14 on April 19th, 2007

    [...] Dpkg packages tips [...]

  2. io, me e michele ^ Gpg armor apt-key tips
    19:10 on May 6th, 2007

    [...] (dpkg –get-selections/dpkg –set-selections tips) [...]

Leave a comment

(required)

(required)



Comments links could be nofollow free.

Categories