Entry
Operating system: Linux: Installer: Upgrade: File: How to upgrade a .rpm package?
Feb 27th, 2004 01:34
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 24 November 2003 - 02:18 am -------------------
Operating system: Linux: Installer: Upgrade: File: How to upgrade
a .rpm package?
---
The rpm program will check in its database before installing a package
and will not install a package that is already there, even if you
are trying to install a newer version.
You have to explicitely inform the rpm program that you want to
upgrade the package.
You can do so by using the -U parameter:
---
To upgrade, use the command:
rpm -Uvh --force <your .rpm filename>
---
e.g.
rpm -Uvh --force /mnt/cdrom/Mandrake/SRPMS/db*.rpm
---
---
Tested in:
Linux Debian v3
Linux Mandrake v9: OK
Linux Red Hat v9: OK
Linux Slackware v9
Linux SuSE v9
Linux Turbolinux v8
---
---
Internet: see also:
---
Operating system: Linux: Installation: File: Overview: Can you give me
an overview of installation?
http://www.faqts.com/knowledge_base/view.phtml/aid/29106/fid/107
----------------------------------------------------------------------