-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2009-12-10 at 10:20 -0000, Tejas Guruswamy wrote:
On 09/12/09 23:54, Carlos E. R. wrote:
Is this possible/supported in openSUSE. Is there package for this?
No, as far as I know.
There are long-standing (and popular) feature requests to change to a transaction-based installation system so that such things are possible, and it is being worked on, but its not ready yet. See for example fate#300758 and fate#305305. Hopefully there will be some progress by 11.3.
Interesting :-)
You can list all packages sorted by installation date (using rpm and some options), and thus, know what you installed recently, and manually, uninstall them, using yast, or zypper or rpm.
Using ' rpm --qa --last ' would work, but the better way is to look at /var/log/zypp/history - it is trivial to figure out what was installed recently, for example
grep '|install|' /var/log/zypp/history | tail -n20 | cut -f3 -d'|'
gives a list of the last 20 installed packages (though not taking into account if they were immediately removed again)
grep '|install|' /var/log/zypp/history | tail -n20 | cut -f3 -d'|' | xargs sudo zypper remove
That file is new, it doesn't exist in my 11.0. My method is: rpm -q -a --queryformat "%{INSTALLTIME}\t%{INSTALLTIME:day} \ %{BUILDTIME:day} %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} \ %25{PACKAGER}\n" | sort | cut --fields="2-" | less -S it lists all installed packages sorted by date. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkshTG8ACgkQtTMYHG2NR9WGpwCeOqkbgy2tVY2WLgczfCpIbTVg h60An1WnmU48nyMOwzfXnS2+lFUfKd3I =I120 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org