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

Re: [really solved] Re: aptitude: set all packages auto-installed except given list?



On Du, 16 ian 11, 10:06:21, Florian Kulzer wrote:
> 
> Another solution might be to use "keep-all" before "unmarkauto".

keep-all at that stage has an "interesting" effect:

root@think:~# aptitude search '~i' | wc -l # just for reference
1578
root@think:~# aptitude -o Aptitude::Delete-Unused=false markauto ~i
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
                                         
root@think:~# aptitude search '~i!~M' | wc -l # check that it worked
0
root@think:~# aptitude keep-all
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
                                         
root@think:~# aptitude search '~i!~M' | wc -l
1463

At this point it obviously doesn't make sense to continue with 
'unmarkauto'.

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: