Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1270663 - Failure to install: systemd-219-13.fc22.x86_64 was supposed to be installed but is not!
Summary: Failure to install: systemd-219-13.fc22.x86_64 was supposed to be installed b...
Keywords:
Status: CLOSED DUPLICATE of bug 1268883
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedFreezeException
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-12 05:31 UTC by Stef Walter
Modified: 2015-10-23 10:53 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-23 10:53:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
DNF command output (78.17 KB, text/plain)
2015-10-12 05:33 UTC, Stef Walter
no flags Details
dnf.log (71.58 KB, text/plain)
2015-10-12 05:47 UTC, Stef Walter
no flags Details
dnf.rpm.log (34.26 KB, text/plain)
2015-10-12 05:47 UTC, Stef Walter
no flags Details
dnf.librepo.log (208.54 KB, text/plain)
2015-10-12 05:47 UTC, Stef Walter
no flags Details
hawkey.log (1.12 KB, text/plain)
2015-10-12 05:48 UTC, Stef Walter
no flags Details

Description Stef Walter 2015-10-12 05:31:03 UTC
Description of problem:

This command fails in Fedora 23:

sudo dnf -y --releasever=22 --nogpg --installroot=/data/src/blah --disablerepo='*' --enablerepo=fedora install systemd passwd dnf fedora-release vim-minimal

This sort of command is used heavily by mock. It is also documented on the systemd-nspawn page.

Version-Release number of selected component (if applicable):

dnf-1.1.2-4.fc23.noarch
rpm-4.13.0-0.rc1.3.fc23.x86_64

How reproducible:

Every time

Steps to Reproduce:
1. Run above command

Actual results:

RPMs fail to install, warnings are printed, including:

systemd-219-13.fc22.x86_64 was supposed to be installed but is not!

error: %prein(systemd-219-13.fc22.x86_64) scriptlet failed, exit status 126
Error in PREIN scriptlet in rpm package systemd
Error in PREIN scriptlet in rpm package systemd
error: systemd-219-13.fc22.x86_64: install failed

Expected results:

No failures

Comment 1 Stef Walter 2015-10-12 05:33:33 UTC
Created attachment 1081864 [details]
DNF command output

DNF command output, including:

...
warning: %posttrans(fedora-release-22-1.noarch) scriptlet failed, exit status 126
Non-fatal POSTTRANS scriptlet failure in rpm package fedora-release
Non-fatal POSTTRANS scriptlet failure in rpm package fedora-release
warning: %posttrans(filesystem-3.2-32.fc22.x86_64) scriptlet failed, exit status 126
Non-fatal POSTTRANS scriptlet failure in rpm package filesystem
Non-fatal POSTTRANS scriptlet failure in rpm package filesystem
warning: %posttrans(shared-mime-info-1.4-2.fc22.x86_64) scriptlet failed, exit status 126
Non-fatal POSTTRANS scriptlet failure in rpm package shared-mime-info
Non-fatal POSTTRANS scriptlet failure in rpm package shared-mime-info
warning: %posttrans(nss-3.18.0-1.fc22.x86_64) scriptlet failed, exit status 126
Non-fatal POSTTRANS scriptlet failure in rpm package nss
Non-fatal POSTTRANS scriptlet failure in rpm package nss
warning: %posttrans(rpm-4.12.0.1-9.fc22.x86_64) scriptlet failed, exit status 126
Non-fatal POSTTRANS scriptlet failure in rpm package rpm
Non-fatal POSTTRANS scriptlet failure in rpm package rpm
...
coreutils-8.23-9.fc22.x86_64 was supposed to be installed but is not!
...
ca-certificates-2015.2.4-1.0.fc22.noarch was supposed to be installed but is not!
...
pinentry-0.9.1-1.fc22.x86_64 was supposed to be installed but is not!
...
systemd-219-13.fc22.x86_64 was supposed to be installed but is not!
...
dbus-1:1.8.16-1.fc22.x86_64 was supposed to be installed but is not!
...
libutempter-1.1.6-6.fc22.x86_64 was supposed to be installed but is not!

Failed:
  ca-certificates.noarch 2015.2.4-1.0.fc22    coreutils.x86_64 8.23-9.fc22      
  dbus.x86_64 1:1.8.16-1.fc22                 libutempter.x86_64 1.1.6-6.fc22   
  pinentry.x86_64 0.9.1-1.fc22                systemd.x86_64 219-13.fc22

Comment 2 Stef Walter 2015-10-12 05:35:13 UTC
Tried with selinux both enforcing and permissive.

Comment 3 Stef Walter 2015-10-12 05:47:18 UTC
Created attachment 1081866 [details]
dnf.log

Comment 4 Stef Walter 2015-10-12 05:47:36 UTC
Created attachment 1081867 [details]
dnf.rpm.log

Comment 5 Stef Walter 2015-10-12 05:47:56 UTC
Created attachment 1081868 [details]
dnf.librepo.log

Comment 6 Stef Walter 2015-10-12 05:48:14 UTC
Created attachment 1081869 [details]
hawkey.log

Comment 7 Stef Walter 2015-10-13 12:32:49 UTC
This blocks Cockpit development on Fedora 23

Comment 8 Fedora Blocker Bugs Application 2015-10-13 12:40:53 UTC
Proposed as a Freeze Exception for 23-final by Fedora user stefw using the blocker tracking app because:

 This bug prevents development using mock. It prevents teams like the Cockpit team from finishing up delivery of software for Fedora 23.

Comment 9 Honza Silhan 2015-10-13 15:17:09 UTC
as DNF reported, the installation of these packages failed:
  ca-certificates.noarch 2015.2.4-1.0.fc22    coreutils.x86_64 8.23-9.fc22      
  dbus.x86_64 1:1.8.16-1.fc22                 libutempter.x86_64 1.1.6-6.fc22   
  pinentry.x86_64 0.9.1-1.fc22                systemd.x86_64 219-13.fc22

Looking at dnf.rpm.log: The scriplets of most of the packages were not executed and thats probably the cause of the problem. Reassigning...

Possible dup of bug 1262953

Comment 10 Ľuboš Kardoš 2015-10-13 18:33:14 UTC
It seems to be already fixed in rpm-4.13.0-0.rc1.4.fc23 because I am able to reproduce this with rpm-4.13.0-0.rc1.3.fc23 but not with rpm-4.13.0-0.rc1.4.fc23.

Can you confirm that it is fixed?

Comment 11 Adam Williamson 2015-10-15 21:36:53 UTC
Discussed at 2015-10-15 freeze exception review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2015-10-15/f23-blocker-review.2015-10-15-20.11.log.txt . There doesn't seem to be a clear explanation of why this needs a freeze exception: i.e., why does the fix need to be in the frozen release tree and images - wouldn't just having it in the updates repository be sufficient?

If there's a reason this can benefit from a freeze exception, please explain. Thanks!

Comment 12 Stef Walter 2015-10-16 07:31:31 UTC
Somehow my response was not recorded by bugzilla. It appears that with rpm-4.13.0-0.rc1.4.fc23 does in fact fix this issue.

Comment 13 Stef Walter 2015-10-16 07:37:11 UTC
> If there's a reason this can benefit from a freeze exception, please explain. Thanks!

The reasoning: In my opinion RPM bugs should be fixed before release, because RPM will be heavily used by people upgrading to the new release. RPM should be rock solid at release time.

Comment 14 Adam Williamson 2015-10-19 20:09:37 UTC
Discussed at 2015-10-19 freeze exception review meeting: https://meetbot.fedoraproject.org/fedora-blocker-review/2015-10-19/f23-blocker-review.2015-10-19-16.00.html . There is still no convincing rationale for breaking the freeze for this. Note that upgrades are performed with the RPM (and dnf and so on) from the *source* release, not the target: when you upgrade from F22 to F23, F22's rpm is used, not F23's.

Comment 15 Florian Festi 2015-10-23 10:53:30 UTC
As there is a bug already ON_QA: Closing as duplicate

*** This bug has been marked as a duplicate of bug 1268883 ***


Note You need to log in before you can comment on or make changes to this bug.