SuSE Support Database

Title: Use newer version of rpm

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

Use newer version of rpm

Applies to

SuSE Linux: Versions since 5.0

Symptom:

You try to install an RPM package you have downloaded from the Internet and get an error message as:

        error -2 reading header: Unknown error

Or you might like to update rpm.

Cause:

The rpm from S.u.S.E. Linux 5.0 (version 2.4.1) cannot install packages that have been installed with a newer rpm.

Solution 1 (recommended):

Install the update from the S.u.S.E. FTP site:

        rpm -U ftp://ftp.suse.com/pub/suse_update/suse51/rpm/rpm.rpm

Please do not forget to install YaST directly after the RPM:

        rpm -U ftp://ftp.suse.com/pub/suse_update/suse51/a1/yast.rpm

Of course you may get the packages via ftp and install them locally thereafter.

If this fails for any reason please do upgrade the complete base system as described in ke_suselinux-ftp.html

Solution 2 (do not use):

We assume that you are familiar with the package management. Caution! You may damage your »S.u.S.E. Linux«-Installation (see ke_update.html). Usage of another rpm code that is not included is not covered by our installation support!

Get the sources from the Internet and compile a new rpm. Do not install it via the Makefile install switch but manually under another name (e.g.): /root/bin:

        install -m755 .../rpm /root/bin/rpm.my

now install packages using:

        /root/bin/rpm.my -U PAKET.rpm

Eventually rpm claims failed dependencies. You may either install the needed packaes or (if you are absolutely certain of what you are doing!) use the rpm options --nodeps or --force. Do only use these options for packages that are not system relevant. Improper use will damage your system!

Obviously there will be a new rpm on the next »S.u.S.E. Linux« generations without having to interfere manually. So please do not install a new rpm without reason!

---

See also:

---

Keywords: RPM, UPDATE, PAKETE, ERROR, AUSPACKEN

---

Feedback welcome: Send Mail to ke@suse.de (Please give the following subject: SDB-ke_update-rpm)

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

SDB-ke_update-rpm, Copyright SuSE GmbH, Nuremberg, Germany - Version:
Impressum - Last generated: 24. Feb 1999 14:53:16 by maddin with sdb_gen 1.00.0