Trouble with RPM install/uninstall
Michael Schwendt
fedora at wir-sind-cool.org
Fri Jul 16 08:25:36 UTC 2004
On Thu, 15 Jul 2004 17:31:22 -0700 (PDT), Stephen W wrote:
> Using RedHat 9.0
>
> Tried to install xine ... missing dependencies...
> kept going...
> finally learned of and began to use apt/synaptic.
>
> Now told there are two versions of xinetd installed
> and I would have problems...
>
> tried to uninstall xine and then xinetd and here are
> the results...
>
> [root at localhost winstephen]# rpm -evv --test xinetd |
> more
> D: opening db environment /var/lib/rpm/Packages
> joinenv
> D: opening db index /var/lib/rpm/Packages
> rdonly mode=0x0
> D: locked db index /var/lib/rpm/Packages
> D: opening db index /var/lib/rpm/Name rdonly
> mode=0x0
> error: "xinetd" specifies multiple packages
Did you notice this? Don't increase verbosity if you did not.
> D: closed db index /var/lib/rpm/Name
> D: closed db index /var/lib/rpm/Packages
> D: closed db environment /var/lib/rpm/Packages
> [root at localhost winstephen]# rpm -evv --test xine |
> more
> D: opening db environment /var/lib/rpm/Packages
> joinenv
> D: opening db index /var/lib/rpm/Packages
> rdonly mode=0x0
> D: locked db index /var/lib/rpm/Packages
> D: opening db index /var/lib/rpm/Name rdonly
> mode=0x0
> error: package xine is not installed
!!!
rpm --query --all 'xine*'
> D: closed db index /var/lib/rpm/Name
> D: closed db index /var/lib/rpm/Packages
> D: closed db environment /var/lib/rpm/Packages
>
>
> Now what do I do
Not easy, since you may need to clean up the xinetd installation and even
break dependencies while uninstalling the packages. First note, that
xinetd is not related to xine.
To uninstall both xinetd packages, run:
rpm -e --allmatches xinetd
Most likely, this will fail due to dependencies which need xinetd, then
run:
rpm -e --allmatches --nodeps xinetd
Then re-install xinetd with your favourite package tool (e.g. yum -y
install xinetd).
More information about the redhat-list
mailing list