rpm madness..

D. Hugh Redelmeier hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org
Sat Apr 28 04:18:15 UTC 2007


| From: Zbigniew Koziol <softquake-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>

Your mailer (gmail) sent your message in two forms: in plain text with
confusing line breaks and in HTML.  It would be good to only use plain
text and to get the line breaks right.

In my quoting, I've tried to get fix the line breaks.

| [root at localhost ~]# rpm -iv /media/CentOS_5.0_Final/CentOS/elfutils-0.125-3.el5.i386.rpm
| Preparing packages for installation...
|        package elfutils-0.125-3.el5 is already installed

That need not be installed, it already is

| [root at localhost ~]# rpm -iv /media/CentOS_5.0_Final/CentOS/elfutils-devel-0.125-3.el5.i386.rpm
| error: Failed dependencies:
|        elfutils-devel-static = 0.125-3.el5 is needed by elfutils-devel-0.125-3.el5.i386
|        elfutils-libelf-devel = 0.125-3.el5 is needed by elfutils-devel-0.125-3.el5.i386

To install elfutils-devel-0.125-3.el5.i386.rpm you also need those two
other packages

| [root at localhost ~]# rpm -iv /media/CentOS_5.0_Final/CentOS/elfutils-devel-static-0.125-3.el5.i386.rpm
| error: Failed dependencies:
|        elfutils-devel = 0.125-3.el5 is needed by elfutils-devel-static-0.125-3.el5.i386
|        elfutils-libelf-devel-static = 0.125-3.el5 is needed by elfutils-devel-static-0.125-3.el5.i386

Two more packages you need.  Except that one of them is a repeat.

| [root at localhost ~]# rpm -iv /media/CentOS_5.0_Final/CentOS/elfutils-libelf-0.125-3.el5.i386.rpm
| Preparing packages for installation...
|        package elfutils-libelf-0.125-3.el5 is already installed

Something you already had.  Why did you try adding this one?

================

If packages are mutually dependant, you should install them with the
same command.  That way the system is never inconsistent (unless a
command does not complete and RPM tries to avoid that).

1) consider using yum: it installs required dependencies

    # yum install elfutils-devel

2) or try:

    # cd /media/CentOS_5.0_Final/CentOS
    # rpm -iv \
    >   elfutils-devel-0.125-3.el5.i386.rpm \
    >   elfutils-devel-static-0.125-3.el5.i386.rpm \
    >   elfutils-libelf-devel-0.125-3.el5.i386.rpm \
    >   elfutils-libelf-devel-static-0.125-3.el5.i386.rpm

  (I guessed some of these filenames.)

  You may find that there are more dependencies, but I'm sure that you
  get the idea.
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list