How does one determine packages added after installation?
Luis Paulo
luis.barbas at gmail.com
Sat Oct 16 12:44:30 UTC 2010
On Sat, Oct 16, 2010 at 13:01, Tom Browder <tom.browder at gmail.com> wrote:
> On Sat, Oct 16, 2010 at 03:15, Luis Paulo <luis.barbas at gmail.com> wrote:
> ...
>> $ dpkg -l
>> will list all packages installed packages
>>
>> looking for a format option at man dpkg, I found this under examples:
>>
>> To make a local copy of the package selection states:
>> dpkg --get-selections >myselections
>>
>> You might transfer this file to another computer, and install
>> it there with:
>> dpkg --clear-selections
>> dpkg --set-selections <myselections
>
> Thanks, Luis, that's helpful!
>
You're welcome.
Let me just add, an important piece for the sake of the topic. I
forgot an important paragraph from the manual, following the above:
Note that this will not actually install or remove anything,
but just set the selection state on the
requested packages. You will need some other application
to actually download and install the
requested packages. For example, run apt-get dselect-upgrade.
from man apt-get
dselect-upgrade
dselect-upgrade is used in conjunction with the traditional
Debian packaging front-end, dselect(1).
dselect-upgrade follows the changes made by dselect(1) to
the Status field of available packages, and
performs the actions necessary to realize that state (for
instance, the removal of old and the
installation of new packages).
Regards
More information about the ubuntu-users
mailing list