Running yum localupdate *.rpm and rpm -Uvh *.rpm fails on RHEL6
Issue
-
yum localupdate *.rpm
is failing on a RHEL 6 system:[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
fails in the same way:[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 to 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.