[TriLUG] RH8 red hat packages

Jeremy Portzer jeremyp at pobox.com
Wed Feb 12 10:30:07 EST 2003


On Wed, 2003-02-12 at 10:07, Morris Walton wrote:

> 
> [Morris] It does show which components, but I don't think it shows which
> name.  Being an old mandrake user.... I'm whining about something that
> will show what you have intalled from the dist. And what you haven't
> installed from the dist. In package names.  For instance, I go to
> install a package, and it says I need the following:

Generally most people who package things up put a special release tag,
like the "fr" in the package names below, to indicate that it's not an
official Red Hat Linux package.  But that's not completely standard. You
can also do a query on the "Packager" header value or the GPG key if
you're interested in knowing for certain where a package came from.

For example, the following RPM command will list packages sorted by
packager:

rpm -qa --queryformat '%{PACKAGER}\t%{NAME}-%{VERSION}-%{RELEASE}\n'|
sort

> 
> [root at home rpm]# rpm -Uvh xine-lib-1.0.0-fr0_beta4.2.i386.rpm
> warning: xine-lib-1.0.0-fr0_beta4.2.i386.rpm: V3 DSA signature: NOKEY,
> key ID xxxxxx
> error: Failed dependencies:
>         glut is needed by xine-lib-1.0.0-fr0_beta4.2
>         alsa-lib is needed by xine-lib-1.0.0-fr0_beta4.2
>         aalib is needed by xine-lib-1.0.0-fr0_beta4.2
>         libfame is needed by xine-lib-1.0.0-fr0_beta4.2
>         flac is needed by xine-lib-1.0.0-fr0_beta4.2
>         xvidcore is needed by xine-lib-1.0.0-fr0_beta4.2
>         libaa.so.1 is needed by xine-lib-1.0.0-fr0_beta4.2
>         libasound.so.2 is needed by xine-lib-1.0.0-fr0_beta4.2
>         libfame-0.9.so.0 is needed by xine-lib-1.0.0-fr0_beta4.2
>         libFLAC.so.4 is needed by xine-lib-1.0.0-fr0_beta4.2
> [root at home rpm]#
> 
> (1)How can I tell if I can get these from RH Distribution?  Should I
> just try to run up2date?  You suggest rpmfind.net.  I don't know of a
> way to check for these specific packages.

Actually, Sinner was the one who suggested rpmfind.net, but yes, it will
work to find the packages.  Just put in the name(s), hit search, and
you'll get way too many hits. :-)  You can then tell from RPMfind.net's
search results page which distribution the packages are built for.

You can also determine if a given package is in RHL's distribution just
by trying to install it with up2date or just browsing a Red Hat mirror
tree.

However, I happened to notice that the specific package you're trying to
install, xine-lib-1.0.0-fr0_beta4.2.i386.rpm, comes from
http://freshrpms.net/  .  You can find all of those dependencies at that
same site.  In general, that's the best way of installing non-standard
RPMs -- go to the site where they're distributed; the dependencies
should be supplied there.

> (2)Is rpm -Uvh still the way to install packages?

Sure, if you have all the dependencies ready to go.  But if you don't
want to worry about that, use up2date for official packages, or apt-get
from the apt4rpm package for the freshrpms.net packages. (Apt-get also
works well for the distro's packages, if you don't want to deal with the
registration aspect of up2date, or just like it better.). 
Alternatively, use the TriLUG mirrors for either up2date or apt4rpm :
	http://members.trilug.org/services_faq/

Hope this helps,

Jeremy




More information about the TriLUG mailing list