Translated message

A translation of this page exists in English.

Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

rpm コマンドを使用してパッケージを以前のバージョンにダウングレードする方法

Solution Verified - Updated -

Environment

  • Red Hat Enterpise Linux
  • rpm

Issue

  • パッケージを以前のバージョンにダウングレードする方法は?
  • サーバーがインターネットに接続しておらず、yum や up2date でアップデートすることが出来ません。そのため、rpm コマンドしか利用できません。

Resolution

'rpm' コマンドに --oldpackage オプションを付けて実行し、パッケージを以前のバージョンにダウングレードします。

# rpm -Uvh --oldpackage <PACKAGE NAME>-<OLD VERSION>.rpm
  • Component
  • rpm

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments