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

Re: aptitude: set all packages auto-installed except given list?



On Sb, 15 ian 11, 12:25:26, Javier Barroso wrote:
> 
> If you have a packages.txt file with a package by line, do it with awk:
> 
> aptitude markauto '~i'$(awk '{printf "!~n^"$1"$";}' packages.txt)
> 
> And a similar trick marking these packages like manual installed.

Thanks, at a first glance that was enough. I just hoped for a solution 
that wouldn't involve such hacks. Unless somebody comes up with a 
cleaner solution I'll file a whishlist bug.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: