[svlug] Using RPM

Todd Lyons todd at mrball.net
Fri Mar 16 07:16:01 PST 2001


Eric Pretorious wrote:

> # rpm -q glibc
> glibc-2.1.92-14
> # rpm -q glibc-common
> package glibc-common is not installed
> #
> # rpm -i glibc-common-2.2-12.i386.rpm
> error: failed dependencies:
>         glibc < 2.2-12 conflicts with glibc-common-2.2-12
> # rpm -U glibc-2.2-12.i386.rpm
> error: failed dependencies:
>         glibc-common = 2.2 is needed by glibc-2.2-12
>         /usr/bin/getent   is needed by stunnel-3.8-4
> Is this supposed to be so baffling?

The answer is easy, but not necessarily obvious.  The guys have already
mentioned the --force option, but there's a more eloquent way:
   rpm -Uvvh glibc-common-2.2-12.i386.rpm glibc-2.2-12.i386.rpm
all on one line.  It has the ability to let multiple packages being
installed simultaneously fulfill dependencies.  I consider --force a
last resort option.
-- 
Blue skies...		Todd
| Get a bigger hammer!   |   Never mind me.  I'm speaking out of  |
| http://www.mrball.net  |   my /dev/ass anyway.                  |
| http://faq.mrball.net  |                        --Gash Teshome  |




More information about the svlug mailing list