I recently upgraded my MPlayer-athlon1 via Jan Engelhardt's APT repository. He had a problems with the RPMs from a couple of days ago, as those RPMs did not properly upgrade the RPM database (I was left with two different versions). After fighting this for half an hour (I ended up removing everything which needed MPlayer-athlon1, then removing MPlayer-athlon1, installing the older RPM, then re-installing all those apps), I thought I had a clean RPM database. However, after upgrading to the new version in his repository, I still have the older version in the database, meaning I now have two versions of MPlayer-athlon1, MPlayer-athlon1-1.0pre7try2-28 and MPlayer-athlon1-1.0pre7try2-29. When I try to remove the old one, I get this error: /var/tmp/rpm-tmp.24859: line 1: DEFINE_FLAVOR_DEL: command not found /var/tmp/rpm-tmp.24859: line 2: flavor_del: command not found error: %preun(MPlayer-athlon1-1.0pre7try2-28) scriptlet failed, exit status 127 I have rebuilt the RPM database numerous times, both before and after trying to remove MPlayer-athlon1-1.0pre7try2-28. Howe can I get a clean database, with only one version of MPlayer-athlon1, without completely rebuilding my laptop? All suggestions are greatlyappreciated. Thanks. Sargon
On Thursday 22 December 2005 18:55, sargon wrote: <snippage>
All suggestions are greatlyappreciated.
Hi Sargon, In YaST2's 'Install and Remove Software' module (now called 'Software Management'), select the Package Groups filter, then in the left pane, scroll to the bottom and select "zzz-All". In the right pane, YaST2 will display all the packages it is aware of, whether installed or not. Scroll down that list to see which and how many MPlayer packages are shown as installed. Select to uninstall all of them including any automatically selected dependencies. hth & regards, - Carl
On Thursday 22 December 2005 17:55, sargon wrote: <big snip>
Howe can I get a clean database, with only one version of MPlayer-athlon1, without completely rebuilding my laptop?
All suggestions are greatlyappreciated.
man rpm or rpm --help would tell you that the following is what you need: rpm -e --justdb MPlayer-athlon1-1.0pre7try2-28 scott@bounty:~>rpm --help Usage: rpm [OPTION...] [...] Install/Upgrade/Erase options: [...] --justdb update the database, but do not modify the filesystem [...] bounty:~ # rpm -qa | grep MPlayer-k6 MPlayer-k6-1.0pre7try2-29 MPlayer-k6-1.0pre7try2-28 bounty:~ # rpm -e --justdb MPlayer-k6-1.0pre7try2-28 bounty:~ # rpm -qa | grep MPlayer-k6 MPlayer-k6-1.0pre7try2-29 -- Homepage http://scottj.org XFce desktop environment http://www.xfce.org
On Thursday, 22-December-2005 20:51, Scott Jones wrote:
man rpm or rpm --help would tell you that the following is what you need:
rpm -e --justdb MPlayer-athlon1-1.0pre7try2-28
Awesome. Exactly what I need. Somehow I missed that despite going through the man page a dozen times. Again, thanks. Sargon
participants (3)
-
Carl Hartung
-
sargon
-
Scott Jones