Synaptic 'rollback' function?

mpetzsch ulist at gs1.ubuntuforums.org
Mon May 15 17:41:39 UTC 2006


I installed xubuntu on top of the standard Dapper (beta 2) and then
decided that I didn't want it or its associated packages anymore -
couldn't see what to do but found the package history.  I copied the
section from that where I had installed xubuntu stuff into a text file
and saved it... remove.txt

...

xfce4-systemload-plugin (1:0.4.0-0ubuntu5)

xfce4-taskmanager (0.3.1-0ubuntu6)

...



I then saw that there were no spaces in the two fields <packagename>
<version> and so its possible to parse the file for just one...



awk '

{

print $1;

} '        ... saved as first.awk





cat remove.txt | first.awk > to_remove.txt



That gave me 

...

xfce4-systemload-plugin

xfce4-taskmanager

...

I then did a find and replace and exchanged newlines for spaces; and
passed the resulting stuff to apt-get remove  ...
xfce4-systemload-plugin xfce4-taskmanager ...



Don't know if this is too obvious or not helpful - but it worked for
me. :) 



Martin


-- 
mpetzsch




More information about the ubuntu-users mailing list