Synaptic 'rollback' function?

Toby Kelsey toby_kelsey at ntlworld.com
Thu May 11 18:22:00 UTC 2006


Toby Kelsey wrote:
> Adam Conrad wrote:
> 
>>Try a "dselect update" before this first --get-selections invocation.
> 
> 
> OK, running
>   dselect update
>   dpkg --get-selections "*" > set1
>   apt-get install tuxmath
>   dpkg --get-selections "*" > set1

Oops, that should be set2

In summary:

# save current setup
  dselect update
  dpkg --get-selections "*" > workingset
# install test packages
  apt-get install somepackages
  dpkg --get-selections "*" > testingset
# to rollback (latest package versions only):
  dpkg --set-selections < workingset
  apt-get dselect-upgrade

Toby




More information about the ubuntu-users mailing list