rpm コマンドを使用してパッケージを以前のバージョンにダウングレードする方法
Environment
- Red Hat Enterpise Linux
- rpm
Issue
- パッケージを以前のバージョンにダウングレードする方法は?
- サーバーがインターネットに接続しておらず、yum や up2date でアップデートすることが出来ません。そのため、rpm コマンドしか利用できません。
Resolution
'rpm' コマンドに --oldpackage
オプションを付けて実行し、パッケージを以前のバージョンにダウングレードします。
# rpm -Uvh --oldpackage <PACKAGE NAME>-<OLD VERSION>.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