On 03/10/2015 02:21 PM, Thierry Parmentelat wrote: > As a follow-up on this, I guess I can exhibit an even simpler use case where this issue triggers, if I simply run the following command inside a fedora21 box > > fedora21host ~ # yum -y --releasever=18 --nogpg --installroot=/containers/fedora18guest --disablerepo='*' --enablerepo=fedora install systemd passwd yum fedora-release vim-minimal > Failed to set locale, defaulting to C > fedora/18/x86_64/metalink | 5.5 kB 00:00:00 > fedora | 4.2 kB 00:00:00 > (1/2): fedora/18/x86_64/group_gz | 368 kB 00:00:00 > (2/2): fedora/18/x86_64/primary_db | 17 MB 00:00:04 > Resolving Dependencies > --> Running transaction check > ---> Package fedora-release.noarch 0:18-1 will be installed > ---> Package passwd.x86_64 0:0.78.99-3.fc18 will be installed > --> Processing Dependency: pam >= 1.0.90 for package: passwd-0.78.99-3.fc18.x86_64 > --> Processing Dependency: libselinux >= 2.1.6-3 for package: passwd-0.78.99-3.fc18.x86_64 > > <snip> > > (117/120): xz-libs-5.1.2-2alpha.fc18.x86_64.rpm | 100 kB 00:00:00 > (118/120): yum-3.4.3-47.fc18.noarch.rpm | 1.1 MB 00:00:00 > (119/120): yum-metadata-parser-1.1.4-7.fc18.x86_64.rpm | 27 kB 00:00:00 > (120/120): zlib-1.2.7-9.fc18.x86_64.rpm | 88 kB 00:00:00 > ------------------------------------------ > Total 2.2 MB/s | 59 MB 00:00:27 > Running transaction check > ERROR You need to update rpm to handle: > rpmlib(X-CheckUnifiedSystemdir) is needed by setup-2.8.57-1.fc18.noarch > rpmlib(X-CheckUnifiedSystemdir) is needed by filesystem-3.1-2.fc18.x86_64 > RPM needs to be updated > You could try running: rpm -Va --nofiles --nodigest > Your transaction was saved, rerun it with: > yum load-transaction /tmp/yum_save_tx.2015-03-10.14-16.dO2X75.yumtx > > > I really could use some feedback on this :-) Well, the background for this is the usrmove feature[1] introduced in Fedora 17. To make sure this works out on updates there is a hack in the rpm of this era. rpmlib(X-CheckUnifiedSystemdir) is used to ensure that this hack is actually present in the rpm used to install/upgrade to these Fedora releases. The issues you are experiences are artifacts of this hack. The "right" butr not very convenient solution is to use the native rpm version of the distribution you are using. As an alternative you can add the hack to your rpm or - if you never do upgrades - add the patch Panu provided to trick the distribution into believing that it is installed with the properly patched rpm. Florian [1] https://fedoraproject.org/wiki/Features/UsrMove -- Red Hat GmbH, http://www.de.redhat.com/ Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243, Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Charles Peters _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list