Difficulty upgrading Red Hat 3.0.3 to kernel 2.0

Difficulty upgrading Red Hat 3.0.3 to kernel 2.0

Post by Dick Repas » Sun, 18 Aug 1996 04:00:00



I am unable to upgrade the RPM packages that are necessary to compile
kernel 2.0.  rpm fails to upgrade the packages because of failed dependencies.
I've downloaded the RPMS from a redhat mirror site and followed the instructions
for uprgrading that are available in Red Hat's web page.  I erased
iBCS and kernel-source using rpm (not all files in kernel-source were
removed) and polished them off with `rm -rf /usr/src/linux
/usr/src/linux-1.2.13`.  Next, I issued the command `rpm -Uvf *.rpm` from
the directory in which I downloaded the rpms and received the following
messages:

failed dependencies:
        libc.so is needed by hdparm-2.9-1
        libc.so is needed by modules-2.0.0-1
        libc.so is needed by ppp-2.2.0f-1
        libtermcap.so is needed by procps-1.01-3
        libc.so is needed by procps-1.01-3
        libc.so is needed by procps-X11-1.01-3
        libX11.so is needed by procps-X11-1.01-3
        libXext.so is needed by procps-X11-1.01-3
        libICE.so is needed by procps-X11-1.01-3
        libSM.so is needed by procps-X11-1.01-3
        libXt.so is needed by procps-X11-1.01-3
        libXmu.so is needed by procps-X11-1.01-3
        libXaw.so is needed by procps-X11-1.01-3
        statically linked (ELF)
/sbin/swapoff:
        libc.so is needed by util-linux-2.5-10
        libm.so is needed by util-linux-2.5-10
        libncurses.so is needed by util-linux-2.5-10
        libtermcap.so is needed by util-linux-2.5-10
        libc.so is needed by util-linux-2.5-10

All of these libraries are present on my system.  All but the X11 libraries
are installed as rpm packages.  I've verified that the files are actually
present and also that rpm thinks that they are present using rpm -qs.  
The X11 libraries are physically present as part of XFree86-3.1.2E.  

I've tried to --force the upgrades, but they still fail for all the same
reasons.  I'm using rpm-2.2.1-1.

So, what's wrong?  How can I work around it?

Thanks,

Dick

 
 
 

Difficulty upgrading Red Hat 3.0.3 to kernel 2.0

Post by Kit » Sun, 18 Aug 1996 04:00:00



> I am unable to upgrade the RPM packages that are necessary to compile
> kernel 2.0.  rpm fails to upgrade the packages because of failed dependencies.

<.. Snip ...>

Quote:> failed dependencies:
>         libc.so is needed by hdparm-2.9-1

.....

Quote:> /sbin/swapoff:
>         libc.so is needed by util-linux-2.5-10

.......

Quote:> All of these libraries are present on my system.  All but the X11 libraries
> are installed as rpm packages.  I've verified that the files are

<...snip, snip ...>

Quote:> reasons.  I'm using rpm-2.2.1-1.

I upgraded the quasi old fashioned way so I haven't actually seen these
errors. However, it may be possible that RPM hasn't yet done an update
to your library pointers ???.
If you can find all the libraries on  your system then check the
ld.so.conf file in  your /etc directory. Make sure it contains the path
to all the libraries that you located. (Well, also make sure that those
libraries are in reasonable directories, i.e. /lib dirs)/
Next run ldconfig to update the library system. Use the -v option to
view whats going on.
Finally try your upgrade again.

Alas - if this doesn't work then I'm no help at all......

--
You can't always get what you want.


 
 
 

Difficulty upgrading Red Hat 3.0.3 to kernel 2.0

Post by Jacques Gelin » Mon, 19 Aug 1996 04:00:00


: >
: > I am unable to upgrade the RPM packages that are necessary to compile
: > kernel 2.0.  rpm fails to upgrade the packages because of failed dependencies.

: <.. Snip ...>
: > failed dependencies:
: >         libc.so is needed by hdparm-2.9-1
: >

[snip]

There is a usefull bash script in the Incoming dir of sunsite,

        binstats-0.93.tgz   (4451 bytes)

It will look at your binaries and libs (could help here).

 
 
 

Difficulty upgrading Red Hat 3.0.3 to kernel 2.0

Post by Erik Tro » Tue, 20 Aug 1996 04:00:00



Quote:>I am unable to upgrade the RPM packages that are necessary to compile
>kernel 2.0.  rpm fails to upgrade the packages because of failed dependencies.
>I've downloaded the RPMS from a redhat mirror site and followed the instructions

>So, what's wrong?  How can I work around it?

The Problem:

        You've updates your version of RPM to a version which supports
        dependencies. We never intended non developers to start using
        it before our next release, but these things do happen.

The Solution:

        Run the rpm -U command with the --nodeps flag.

Erik

-------------------------------------------------------------------------------
   Always hoped that I'd be an apostle. Knew that I would make it if I tried.
     Then when we retire we can write the gospels so they'll all talk about
       us when we've die. - "The Last Supper" from Jesus Christ Superstar

 
 
 

Difficulty upgrading Red Hat 3.0.3 to kernel 2.0

Post by =BORG » Wed, 21 Aug 1996 04:00:00


[.....]

Quote:> iBCS and kernel-source using rpm (not all files in kernel-source were
> removed) and polished them off with `rm -rf /usr/src/linux
> /usr/src/linux-1.2.13`.  Next, I issued the command `rpm -Uvf *.rpm` from

I know that's how they said you should do it, with a * wild card,
but better do it one by one.

Quote:> the directory in which I downloaded the rpms and received the following
> messages:

> failed dependencies:
>         libc.so is needed by hdparm-2.9-1
>         libc.so is needed by modules-2.0.0-1
[......]

Do not worry about those errors. I checked after
upgrade, everything still worked.

Quote:> I've tried to --force the upgrades, but they still fail for all the same
> reasons.  I'm using rpm-2.2.1-1.

Use --nodeps switch. It'll override dependancy errors.

Like: rpm -Uhv --nodeps package-x.x.x-x.rpm

--
*-=-=-=-=-=#include <disclaimer.h>-=-=-=-=-=-=-*

*-=-=-=-=-=-=-=-Vancouver, B.C.-=-=-=-=-=-=-=-=*
*-=-=-=-Good pings come in small packets-=-=-=-*

 
 
 

1. Upgrading to Linux Kernel 2.0 (Red Hat distribution)

Hi, all

Couple of questions:

1. When you use rpm -U (to upgrade) is it supposed to delete the old one ?
Because it has not deleted the old Linux-src directory or any other
1.2.13 kernel related files.

More than that, it did not compile or anything, just behaved as untaring
the .tar file.

2. After i have compiled the kernel (manually) what should i do with the
/usr/include /usr/lib and other include/library directories - should i
leave them as that or should i copy the files from
/usr/src/linux.2.0/include to the old directories, overwriting the old
files ?

3. Is there any info on this as a FAQ or any other document on the net ?

Thanks, Dima

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   _____  ______  ______  __  __  __  __  ______  __  __  _____  ______  ____
  /_  _/ / ____/ / ____/ / / / / / / / / / __  / / / / / / ___/ / __  / / _  \
   / /  / /__   / /     / /_/ / /  |/ / / / / / / /_/ / / /_   / /_/ / / / | |  
  / /  / ___/  / /     / __  / /   | / / / / / / __  / / __/  / __  / / / / /
 / /  / /___  / /___  / / / / / /|  / / /_/ / / / / / / /__  / / / / / /_/ /
/_/  /_____/ /_____/ /_/ /_/ /_/ |_/ /_____/ /_/ /_/ /____/ /_/ /_/ /_____/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+   He, who knows not, and knows not that he knows not is a fool. Shun him.  +
+   He, who knows not, and knows that he knows not is a child. Teach him.    +
+   He, who knows, and knows not that he knows, is asleep. Waken him.        +
+   He, who knows and knows that he knows is a wise man. Follow him.         +
+                                                                    F.W.    +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

2. SOS: C Routines for ASCII to EBCDIC Conversion and Vice-versa

3. Red Hat 7.1 - Installing Red Hat packages after Red Hat is already installed.

4. xcdroast

5. Red Hat RPM Upgrade from 2.0 to 2.7

6. INSTALLATION OF SCO UNIX

7. HELP: RED HAT 3.0.3 + kernel 2.0 update + PPP (NOT WORKING!)

8. profiling large executables in 3.1.6

9. Routing daemon for Red Hat 4.0/Linux 2.0.something kernel

10. ppp problem with 2.0 kernel (red hat)

11. Upgrading kernel in Red Hat

12. Red Hat (rpm) kernel upgrades?

13. Red Hat upgrade to 2.2.19 kernel -- help!