rpm query options can be done by any user but changing anything with rpm
-i -U -e all require root privileges.

Tom


Larry Sword wrote:
> 
> Benjamin Sher wrote:
> 
> > Dear friends:
> >
> > First, my thanks to all of you who have written in with suggestions on
> > how to configure the new RealPlayer7.
> >
> > I decided to begin from the beginning. I first tried to delete the old
> > version and got the following error message:
> >
> > [sher@adsl-77-232-213 sher]$ rpm -e
> > RealPlayer7 failed to open //var/lib/rpm/packages.rpm
> > error: cannot open //var/lib/rpm/packages.rpm
> > [sher@adsl-77-232-213 sher]$
> 
> You probably have you security set so that you, as a user sher, now longer
> have premission to the rpm and data dase files. Try as root.
> 
> > Strangely enough, this is exactly the same error message I got
> > originally when trying to install the Red Hat RealPlayer7 rpm. Which is
> > why I downloaded and installed the rp7install.bin version.
> >
> > I then deleted every RealPlayer file on my system, including at
> > /usr/X11R6/bin, /usr/bin/X11, /usr/bin, and my home directory (the
> > RealPlayer7 folder and all RealPlayer hidden files).
> >
> > When I type "whereis RealPlayer" here is what I get:
> >
> > root@adsl-77-232-213 sher]# whereis RealPlayer
> > RealPlayer:
> > [root@adsl-77-232-213 sher]# whereis realplay
> > realplay:
> > [root@adsl-77-232-213 sher]#
> >
> > Now when I try to install the RealPlayer7 rpm, here is what I get:
> >
> > [root@adsl-77-232-213 sher]# rpm -Uvh RealPlayer-7_0-1_i386.rpm
> > package RealPlayer-7.0-1 is already installed
> 
> If you did not use rpm to remove the program and files then rpm still has
> the program and files listed in the data base as installed.
> 
> >
> > I exited KDE, rebooted, and still I get this message. RealPlayer7 is NO
> > LONGER installed, but the error message above tells me it is.
> >
> > Could someone please troubleshoot this for me. I am thoroughly confused.
> 
> You can try a force rpm -e then t rpm --rebuilddb
> 
> >
> > Thank you all so very much.
> >
> > Benjamin
> > [
> >
> > ----
> > Benjamin and Anna Sher
> > [EMAIL PROTECTED]
> > Sher's Russian Web
> > http://www.websher.net

Reply via email to