On 2008/04/25 07:52 (GMT-0400) Patrick Shanahan apparently typed:
* Felix Miata
[04-24-08 23:46]:
Is there some utility to find and remove packages that had upgrade failures that left both old and new versions both installed? My last smart upgrade gave lots of no such file messages while executing, and now I see with 'rpm -qa | sort' a lot of multi version packages are installed.
rpm --help look for --all (--allfiles --allmatches)
rpm -e --allmatches <some-package>
I don't see/understand enough there to be make anything any easier than dumping rpm -qa output to a file, stripping the lines of packages not to be removed, prepending rpm -e --nodeps to the remainder of the lines, and running it as a script. Am I missing something to cut this work down? This is my current dupes list: http://fm.no-ip.com/tmp/dupes.txt -- "Either the constitution controls the judges, or the judges rewrite the constitution." Judge Robert Bork Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org