Running rpm -Uhv --nodeps --force on a set of packages containing bash-4.1.7-3.fc14.x86_64.rpm causes all packages following bash in the list of packages to be discarded, with these error messages: error: open of libproxy-python-0.4.4-7.fc14.noarch.rpm failed: No such file or directory error: open of libxml2-devel-2.7.7-2.fc14.x86_64.rpm failed: No such file or directory error: open of glib-devel-1.2.10-33.fc12.x86_64.rpm failed: No such file or directory error: open of xorg-x11-fonts-Type1-7.2-11.fc14.noarch.rpm failed: No such file or directory error: open of libXdmcp-devel-1.0.3-3.fc13.x86_64.rpm failed: No such file or directory
I've noticed this before when upgrading bash and bash-doc in this manner. I've also just seen the same problem with the glibc-2.12.90-19 update. What changed in glibc-2.12.90-19 is it now has a lua script (it didn't before), and so does the bash rpm.
This should be already fixed in the rpm git repository: http://rpm.org/gitweb?p=rpm.git;a=commit;h=c9f74ddd0aef5aac33867908d7cc247064f085f0 Well, the problem is not just that lua scripts can change the current working directory, but rpm always changes the cwd to / before running the lua script. In any case, saving and restoring the cwd solves the problem.
*** Bug 660730 has been marked as a duplicate of this bug. ***
I confirm the comment that Panu Matilainen wrote when he closed bug #660730. The problem in that bug was that command "yum localupdate glibc-*" failed. Note the non-absolute path. Today I tried command "yum localupdate /my/path/glibc-*" (note the absolute path) and it worked fine. I'm still using yum-3.2.28-5.fc14.noarch and rpm-4.8.1-5.fc14.i686.
I thought that this problem was already solved, but today I was hit by it again when I tried to update glibc-common-2.12.90-21.i686.rpm: # yum localupdate glibc-*.rpm Error: Cannot open file glibc-common-2.12.90-21.i686.rpm: [Errno 2] No such file or directory: 'glibc-common-2.12.90-21.i686.rpm' TypeError: an integer is required error: python callback <bound method RPMTransaction.callback of <yum.rpmtrans.RPMTransaction instance at 0x8a7ff8c>> failed, aborting! I'm using the following versions: rpm-4.8.1-5.fc14.i686 yum-3.2.28-5.fc14.noarch
F14 is EOL, but this has been fixed in F >= 15.