LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rpm is confused and so am I (https://www.linuxquestions.org/questions/linux-software-2/rpm-is-confused-and-so-am-i-65527/)

parsecbyproxy 06-14-2003 12:17 AM

rpm is confused and so am I
 
I'm pretty new to linux, and am having a bit of trouble with rpm. My problem initially began with a failed attempt to install xine via rpm (proceeding a failed attempt to do so from the source) and it eventually led to rpm locking up. I tried:

# rm -f /var/lib/rpm/__db*
# rpm -vv --rebuilddb

and watched the messages go by... This fixed the problem with rpm locking up, but not with it being totally confused about my attempt to install xine from rpm. It tells me:

# rpm -q xine-lib-1.0.0-fr0.beta9.1.i386.rpm
package xine-lib-1.0.0-fr0.beta9.1.i386.rpm is not installed
# rpm -i xine-lib-1.0.0-fr0.beta9.1.i386.rpm
warning: xine-lib-1.0.0-fr0.beta9.1.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
package xine-lib-1.0.0-fr0.beta9.1 is already installed

So... yeah... :scratch:

Thetargos 06-14-2003 12:50 AM

Try listing all your xine* (what ever icludes the letters) with
Code:

#rpm -qa | grep xine
Then try uninstalling with the rpm package AND in the xine source tree from where you originally intended to install it.
Code:

#rpm -e xine-libxxxx
#cd where-xine-source-tree-is
#make uninstall clean

After that try reinstalling from your rpms, I think that you "confussed" the program because of your previous attempt to install from source.
Hope this helps

yowwww 06-14-2003 12:55 AM

there are specific files listed including dependencies on my guide (link below) for red hat 9

just go the the red hat 9 page

parsecbyproxy 06-14-2003 01:16 AM

Thetargos:

I tired what you suggested to no avail. I went to all trees xine and inputted:

# make install clean

Then went to the directories with all the pesky xine rpms and inputted:

# rpm -e xine-xxxx.i386.rpm
error: package xine-xxxx.i386.rpm is not installed
# rpm -i xine-xxxx.i386.rpm
warning: xine-xxxx.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
package xine-xxxx is already installed


:confused:

acid_kewpie 06-14-2003 04:14 AM

you need to query by PACKAGE not by FILE name

rpm -e xine-sucks

not

rpm -e xime-suck.i386.rpm

parsecbyproxy 06-14-2003 09:30 AM

acid_kewpie:

That did it:

...after I (xine -q)'ed the right way:

# rpm -e xine-lib
and
# rpm -e xine

(doesn't quite fix my problem with xine, but I think I may be able to do that now...)

<<<basking in my own stupidity>>>


thanks guys

yowwww 06-14-2003 02:33 PM

use the files on my site! there are links there and everything.
i dunno what else to tell you.


All times are GMT -5. The time now is 01:31 AM.