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

Re: Question about get-selections



On Thu,30.Apr.09, 20:59:40, J.M.Roth wrote:
> I have done more experiments and have come up with these notes for now.
> 
> #BACKUP
> dpkg --get-selections | awk '$2 == "install"' > packagesNG_installed
> aptitude -F '%p' search '~i~M' > packagesNG_autoinstalled

I'm curious, why not replace these two with

aptitude -F '%p' search '~i!~M' > packagesNG_not_autoinstalled

Auto-installed packages are really not important (at least for me) and 
they might change from one version to the other of some package. Let 
apt/aptitude figure out what additional packages need to be installed, 
that's what they were created for.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: