Re: Problems using rpm on Slackware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 15, 2004 at 01:07:38AM +0300, Adrian Victor Crisciu wrote:
> Hi,
> 
> I am using Slackware Linux and need to install a rpm package -- there are
> no tar.gz or tgz packages out there for the application I need.
> 
> The problem is that running
> 	rpm -i --test <file>
> produces a long list of "failed dependencies" concerning basic software
> packages that are (of course!) installed and running on my computer.

Yes but your rpmdb knows nothing about them.  On this sort of case you may want
to look at --nodeps.  There are various ways to autopopulate an rpmdb based on
an installed system - see vpkg_provides.sh and vpkg_provides2.sh in
/usr/lib/rpm

What may be more appropriate in this case is to look at 

> Also, trying to convert the rpm package into a tgz package with rpm2tgz
> produces a nearly empty (142 k) file from a very big (>3MB) rpm package.

Try rpm2cpio - or if you don't have that installed there is a shell script
here:

http://rpm.org/tools/scripts/rpm2cpio.sh

Note both the tool and the script dump to stdout so you want to either:

rpm2cpio foo.rpm > foo.cpio
rpm2cpio foo.rpm | cpio -ivd

Probably best you don't extract in /

There is also alien http://www.kitenet.net/programs/alien/ which may help.

Paul


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux