Öncelikle sisteme yum-downloadonly adlı eklenti paketini kurmanız gerekiyor;
# yum install yum-downloadonly
Örnek Çıktı:
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. This system is receiving updates from RHN Classic or RHN Satellite. Setting up Reinstall Process Resolving Dependencies --> Running transaction check ---> Package telnet.x86_64 1:0.17-47.el6_3.1 will be reinstalled --> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================== Package Arch Version Repository Size =================================================================================================================== Reinstalling: telnet x86_64 1:0.17-47.el6_3.1 rhel-x86_64-server-6 58 k
Transaction Summary =================================================================================================================== Reinstall 1 Package(s)
Total download size: 58 k Installed size: 0 Is this ok [y/N]: y Downloading Packages:
Daha sonra
# yum update httpd -y --downloadonly
bu işe yaramaz ise;
# yum reinstall httpd -y --downloadonly bu işlemden sonra .rpm paketini yedekleyebilirsiniz.