[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question regarding post-installed packages



Hello Hans,


thanks so much for your very quick reply.

I just tried out the command you provided and it seems to produce quite an extensive list beginning with "acl" and ending with "zlib1g:amd64".
So it´s basically a list with all the packages which are installed by  default plus the packages I installed afterwards.

I was hoping for a list that provides just my post-installed packages.
But I assume that in view of the fact that the initial-status.gz doesn´t seem to exist on Debian there´s no way of achieving this goal.

Never mind. Your command will certainly be of great assistance when setting up a new system.

Thank you very much for that, Hans.

Many greetings and keep safe.

Rosika


Am 22.06.21 um 15:52 schrieb Hans:
Am Dienstag, 22. Juni 2021, 15:30:35 CEST schrieb Christian:
Hi, 

maybe this is the command you need? From an older doku:
-------------

3.3.10 Record/copy system configuration

To make a local copy of the package selection states:

$ dpkg --get-selections "*" > myselections

 # or use \*

“*” makes myselections include package entries for “purge” too.

You can transfer this file to another computer, and install it there with:

dselect update
dpkg --set-selections <myselections
apt-get -u dselect-upgrade
or dselect install
----------------------

Hope this helps.

Best

Hans


Reply to: