RHEL6 で yum localupdate *.rpm および rpm -Uvh *.rpm を実行すると失敗する
Issue
-
yum localupdate *.rpm
が RHEL 6 システムで失敗します。[root@localhost ~]# yum update --downloadonly [root@localhost ~]# cd /var/cache/yum/x86_64/6Server/rhel-x86_64-server-6/packages/ [root@localhost packages]# yum localupdate *.rpm ... Updating : libgcc-4.4.6-3.el6.x86_64 1/719 Error: Cannot open file hwdata-0.233-7.6.el6.noarch.rpm: [Errno 2] No such file or directory: 'hwdata-0.233-7.6.el6.noarch.rpm' TypeError: an integer is required error: python callback <bound method RPMTransaction.callback of <yum.rpmtrans.RPMTransaction instance at 0x3e8f290>> failed, aborting!
-
rpm -Uvh *.rpm
も同様に失敗します。[root@localhost ~]# cd /var/cache/yum/x86_64/6Server/rhel-x86_64-server-6/packages/ [root@localhost packages]# rpm -Uvh *.rpm ... error: open of hwdata-0.233-7.6.el6.noarch.rpm failed: No such file or directory
Environment
- Red Hat Enterprise Linux 6.0 から 6.2
- rpm-4.8.0-19.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.