Installed Software Query

Florian Diesch diesch at spamfence.net
Sat Nov 15 18:46:03 UTC 2008


Mario Vukelic <mario.vukelic at dantian.org> wrote:

> On Sat, 2008-11-15 at 12:26 +0100, Florian Diesch wrote:
>> 
>> and this installs the packages from the list:
>> 
>>   dpkg --get-selections < installed_software.txt && sudo apt-get
>> dselect-upgrade
>
> This, however, poses the problem that from then on, APT will regard all
> packages as "manually installed", as opposed to some being installed as
> a dependency by some other package. This will adversely affect the
> automatic housekeeping, as packages that are not really needed (because
> nothing depends on them, say, after you removed some packages by hand)
> are not going to be automatically removed.
>
> Unfortunately I don't know a solution to this problem. If anyone knows,
> please post, thanks.

Backing up /var/lib/apt/extended_states should solve that.


   Florian
-- 
<http://www.florian-diesch.de/>
-----------------------------------------------------------------------
**  Hi! I'm a signature virus! Copy me into your signature, please!  **
-----------------------------------------------------------------------




More information about the ubuntu-users mailing list