saving package list

Derek Broughton news at pointerstop.ca
Thu Aug 28 13:07:20 UTC 2008


Willy K. Hamra wrote:

> Derek Broughton wrote:

>> I post this just about monthly.  IF you do installs with aptitude (I
>> can't vouch for it working any other way):
>> 
>>  aptitude search '~i !~M' | tr -s ' ' | cut -f 2 -d ' '
>> 
>> will return a lovely list of all the _manually_ installed packages - no
>> dependencies.
>> 
>> The first part says show the Installed (Manual) packages, 'tr' eliminates
>> excess spaces, and cut finds just the second word (the package name).

> unfortunately i don't use aptitude, i use apt-get, but now i have a
> reason to use aptitude in the upcoming release, i thought the fact that
> apt-get these days can autoremove unused dependencies (i heard that it
> din't in the past) makes it as good as aptitude, apparently aptitude
> still has some more functionalities.

I really don't understand why they're different programs.  It wouldn't have
been that difficult to migrate.

> i guess i'll have to dig through the lists and remove the stuff i think
> i won't need anymore along with their dependencies and then save the
> list. unless there is someone on the list who knows how to do it in a
> neater way?

See: 
https://lists.ubuntu.com/archives/kubuntu-users/2006-October/009404.html
https://lists.ubuntu.com/archives/ubuntu-users/2006-April/073633.html
-- 
derek





More information about the kubuntu-users mailing list