Am Dienstag, 22. Juni 2021, 16:17:15 CEST schrieb Christian:
Hi Christian,

I looked not further into te result file. However, if you can see in this 
file, which packages are postinstalled or dependent, you can just filter this 
file with tools like cat, grep or even sort.

On the other hand, you can make two result files. One at the first 
installation, the second one after you installed your packages. After that, 
you will see the difference of both.

In fact, my personal suggestion is, just install a minimal system, one as 
small as possible. When this is up, install all the tools and packages you 
really need. So you will always install only the stuff, you REALLY need, 
verything else ist just crap (and may be misused). 

Hope this helps either.

Best regards

Hans


> 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 /i*nitial-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 via email to