Bug 489235
Summary: | rpm installs packages but skips all content if %_install_langs is set | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Jaegermann <michal> | ||||||
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | rawhide | CC: | ffesti, jnovy, pallas, pmatilai, scott+redhat | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-03-12 14:24:15 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: | |||||||||
Attachments: |
|
Description
Michal Jaegermann
2009-03-09 00:38:10 UTC
See https://bugzilla.redhat.com/attachment.cgi?id=334455 attached to bug 489238 for details of failed verifications of newly "installed" packages. Hm, what was really installed at all??? > Hm, what was really installed at all???
OK. So I tried the following safe experiment:
rpm -e fedora-release-notes
rpm -Uvh fedora-release-notes-10.0.0-1.noarch.rpm
After that every single file from that package is missing. What gives? Running with -vvv shows "skipnstate" flag for every file and directory. Does that mean what I guess it may mean?
Tar up the rpmdb and attach here please. Hello,
> OK. So I tried the following safe experiment:
>
> rpm -e fedora-release-notes
> rpm -Uvh fedora-release-notes-10.0.0-1.noarch.rpm
>
> After that every single file from that package is missing. What gives? Running
> with -vvv shows "skipnstate" flag for every file and directory. Does that mean
> what I guess it may mean?
I can confirm this bug, both on x86_64 and i586. After upgrade from rpm 4.6 to rpm 4.7 beta, all packages that I install using rpm (or yum, which uses librpm i guess) *seem* to be installed, but no files are put in the filesystem.
Tar up the rpmdb and attach here please. Also a log of rpm -Uvv / -evv of a case where it doesn't actually do anything would be useful. Once you have backed up the rpmdb: does 'rpm --rebuilddb' clear up the situation? Hello again, > > I can confirm this bug, both on x86_64 and i586. After upgrade from rpm 4.6 to > rpm 4.7 beta, all packages that I install using rpm (or yum, which uses librpm > i guess) *seem* to be installed, but no files are put in the filesystem. There was a related problem long time ago: https://bugzilla.redhat.com/show_bug.cgi?id=8971 It turns out that if I remove my /etc/rpm/macros file, RPM behaves again. I have the following in the /etc/rpm/macros file to prevent installation of unnecessary i18n/l10n files: %_install_langs cs_CZ.UTF-8:cs_CZ:cs:en_US.UTF-8:en_US:en Adding "C" locale to the _install_langs does not help. rpm 4.6 (and previous versions as well) worked without problems. Best regards, Lubomir Yup, just noticed noticed it too: %_install_langs is broken in the beta. No need to attach rpmdbs or other logs as I now have a nice reproducer for it. Will fix shortly, in the meantime just comment out %_install_langs in configuration. Created attachment 334483 [details]
rpm-4.7-install-fail
Log of package installation, rpm 4.7, no files are installed (the files have skipnstate flag). This is with _install_langs set to "cs_CZ.UTF-8:cs_CZ:cs:en_US.UTF-8:en_US:en".
Created attachment 334485 [details]
rpm-4.7-install-pass
Log of package installation, rpm 4.7, files successfully installed (the files don't have the skipnstate flag anymore). This is without _install_langs set.
Okay, should be fixed in rpm-4.7.0-0.beta1.3.fc11. Leaving this open for a while in case somebody else happens to hit it before next rawhide push. > Okay, should be fixed in rpm-4.7.0-0.beta1.3.fc11.
AFAICS this indeed does solve the issue. Thanks!
If affected by that bug one needs to be careful how this new rpm version is installed not to leave oneself without rpm executables. :-)
Ok, considering this done then. *** Bug 489720 has been marked as a duplicate of this bug. *** |