Synaptic 'rollback' function?

Adam Conrad adconrad at ubuntu.com
Tue May 9 14:04:18 UTC 2006


Christoph Bier wrote:
>

Try a "dselect update" before this first --get-selections invocation.
If dselect hasn't been run, it won't have any packages listed in any
state other than "install", hence the diff you got below.

Note that "apt-get dselect-upgrade" is interacting with dselect's
selection database, and so is "dpkg --{get,set}-selections", so
dselect's available file also needs to be up-to-date for these tricks to
work.

>> root:~ # dpkg --get-selections "*" > set1
>>
>> installed tuxmath
>>
>> root:~ # dpkg --get-selections "*" > set2
>> root:~ # diff set1 set2
>> 980a981
>>
>>> libsdl-image1.2                                       install
>> 1594a1596
>>
>>> tuxmath                                               install

... Adam




More information about the ubuntu-users mailing list