Bug 652702
Summary: | problem with rpm -Uhv on a set of packages containing bash | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fabrice Bellet <fabrice> |
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | ajschult784, atu, ejsheldrake, ffesti, jnovy, juhani.jaakola, pmatilai |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-03-31 06:48:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Fabrice Bellet
2010-11-12 15:27:52 UTC
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. |