FW: [NTLUG:Discuss] Upgrade Dependencies - RPM

saluki tx.saluki at verizon.net
Tue Mar 26 09:53:00 CST 2002


Sometimes, you have use brute force and tell it just do it.   Use the 
force flag...I've had to do this several times in situations like this. 
 I think its ' --force'   Try the update flag  -U first though...that 
sometimes works where a straight install doesn't.


Jack-I-Need-a-Job-Snodgrass wrote:

>you might try 
>
>rpm -i --nodeps perl-Perl-RPM-0.291-2.i386.rpm 
>
>the --nodpes says install even if it things some dependancies are 
>missing. 
>
>I ran 
>rpm -i perl-Perl-RPM-0.291-2.i386.rpm 
>on one of my systems that has7.1 installed ok so it's not a 7.1 problem. 
>
>As far as a 'real fix', you may have to regenerate your RPM database....
>which I never had much sucess with. 
>
>jack 
>
>
>----- Original Message ----- 
>From: "Rick Matthews" <RedHat.Linux at verizon.net>
>To: <discuss at ntlug.org>
>Sent: Tuesday, March 26, 2002 8:59 AM
>Subject: RE: FW: [NTLUG:Discuss] Upgrade Dependencies - RPM
>
>
>>>A great place that I use is rpmfind.net you can
>>>search by the files that you need, and it will
>>>tell you pretty closely which RPM the file is
>>>associated with.
>>>
>>Yes, rpmfind is very helpful. As I mentioned in my message below I
>>used rpmfind to determine which package contained the files that it
>>said I was missing.
>>
>>Let me try restating my problem.
>>
>>An RPM update to perl-Perl-RPM 0.291-2 failed, stating missing
>>dependencies:
>>librpm.so.0
>>librpmio.so.0
>>
>>Those two files (librpm.so.0 & librpmio.so.0) are provided by the
>>rpm package.
>>
>>I did a "rpm --query rpm" and received "rpm-4.0.2-8".
>>
>>I did a "rpm -q rpm-4.0.2-8 -l" and the resulting list included the
>>2 files listed above.
>>
>>I did a " rpm -q rpm-4.0.2-8 -s" and it said the state of the two
>>files listed above was "normal".
>>
>>The two files are listed as being located:
>>/usr/lib/librpm.so.0
>>/usr/lib/librpmio.so.0
>>
>>When I do a "ls /usr/lib/librpm.so.0" I'm told:
>>lrwxrwxrwx
>>1 root     root
>>15 Sep 27 23:44
>>librpm.so.0 -> librpm.so.0.0.0*
>>(normally all on one line)
>>
>>A "ls /usr/lib/librpmio.so.0" yields:
>>lrwxrwxrwx
>>1 root     root
>>17 Sep 27 23:44
>>/usr/lib/librpmio.so.0 -> librpmio.so.0.0.0*
>>(normally all on one line)
>>
>>To summarize, rpm refuses to update perl-Perl-RPM 0.291-2 because of
>>missing dependencies librpm.so.0 & librpmio.so.0, but those two
>>files are provided in a package that I have installed, rpm-4.0.2-8.
>>When I inquire about the two files they both show as symbolic links
>>to other files.
>>
>>Questions:
>>a) Wonder how it got this way? (I don't experiment with rpm)
>>b) How do I get things back on track so that rpm can perform the
>>upgrade to perl-Perl-RPM 0.291-2?
>>
>>Thanks.
>>Rick Matthews
>>
>>-----Original Message-----
>>From: discuss-admin at ntlug.org [mailto:discuss-admin at ntlug.org]On
>>Behalf
>>Of Tom Woody
>>Sent: Monday, March 25, 2002 4:58 PM
>>To: discuss at ntlug.org
>>Subject: Re: FW: [NTLUG:Discuss] Upgrade Dependencies - RPM
>>
>>
>>A great place that I use is rpmfind.net you can search by the files
>>that you need, and it will tell you pretty closely which RPM the
>>file is associated with.
>>
>>On Mon, 25 Mar 2002 16:19:20 -0600
>>"Rick Matthews" <RedHat.Linux at verizon.net> wrote:
>>
>>>I'd really appreciate it if someone could help me with my question
>>>about upgrade dependencies.
>>>
>>>Thank you.
>>>Rick Matthews
>>>
>>>-----Original Message-----
>>>From: discuss-admin at ntlug.org [mailto:discuss-admin at ntlug.org]On
>>>Behalf
>>>Of Rick Matthews
>>>Sent: Friday, March 22, 2002 7:47 AM
>>>To: Discuss at Ntlug. Org
>>>Subject: [NTLUG:Discuss] Upgrade Dependencies - RPM
>>>
>>>
>>>I've been using the Red Hat network to update my RH 7.1 box and
>>>
>>have
>>
>>>been really pleased with how well it has worked. So I was
>>>
>>surprised
>>
>>>a day or two ago when the update to rpm-4.0.4-7 failed.
>>>
>><https://rhn.redhat.com/network/errata/errata_details.pxt?eid=1054>
>>
>>>(Updates for gnorpm, kpackage, up2date, rpmfind, and other
>>>
>>packages
>>
>>>that use rpm are included as well.)
>>>
>>>I wanted to ask here about the appropriate action to take before
>>>instead of using my normal TAM (thrashing-about-method). [I
>>>
>>haven't
>>
>>>needed TAM since I started using RHN's up2date.)
>>>
>>>The update to perl-Perl-RPM 0.291-2 failed, stating that it
>>>
>>requires
>>
>>>librpm.so.0 and librpmio.so.0. I looked up those two files on
>>>rpmfind, and found that they are part of rpm-4.0.2-8.i386.
>>>
>>>I did an rpm files list on my rpm-4.0.2 and both of those files
>>>
>>are
>>
>>>listed, but with symbolic links:
>>>
>>>librpm.so.0   > librpm.so.0.0.0
>>>librpmio.so.0 > librpmio.so.0.0.0
>>>
>>>Where do I go from here?
>>>
>>>TIA for your assistance!
>>>
>>>Rick Matthews
>>>
>>>
>>>_______________________________________________
>>>http://www.ntlug.org/mailman/listinfo/discuss
>>>
>>>
>>>_______________________________________________
>>>http://www.ntlug.org/mailman/listinfo/discuss
>>>
>>
>>--
>>Tom Woody
>>Systems Administrator
>>NationWide Flood Research, Inc.
>>phone: 214-631-0400 x209
>>  fax: 214-631-0800
>>
>>If you have any trouble sounding condescending,
>>find a Unix user to show you how it's done.
>>--Scott Adams
>>
>>
>>_______________________________________________
>>http://www.ntlug.org/mailman/listinfo/discuss
>>
>>
>>_______________________________________________
>>http://www.ntlug.org/mailman/listinfo/discuss
>>
>
>
>_______________________________________________
>http://www.ntlug.org/mailman/listinfo/discuss
>







More information about the Discuss mailing list