Bug 1273077
| Summary: | dnf install fails if local package is mentioned twice | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Mráka <mmraka> |
| Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | jsilhan, mluscon, packaging-team-maint, pnemade, projects.rg, vmukhame |
| 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: | 2016-04-04 12:38:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Michael Mráka
2015-10-19 14:10:39 UTC
Propably this could break fedora-review, it tries to install any debuginfo package twice and fails. IIRC, it's because of our decision to treat local packages installation as a strict operation. Could you please clarify how this could break fedora-review? DEBUG util.py:108: touching file: /var/lib/mock/fedora-rawhide-x86_64/root/.ini
tialized
INFO backend.py:133: installing package(s): /home/builder/fedora-review/1273927
-qtcurve/results/qtcurve-1.8.18-1.fc24.x86_64.rpm /home/builder/fedora-review/12
73927-qtcurve/results/qtcurve-libs-1.8.18-1.fc24.x86_64.rpm /home/builder/fedora
-review/1273927-qtcurve/results/qtcurve-gtk2-1.8.18-1.fc24.x86_64.rpm /home/buil
der/fedora-review/1273927-qtcurve/results/qtcurve-qt4-1.8.18-1.fc24.x86_64.rpm /
home/builder/fedora-review/1273927-qtcurve/results/qtcurve-debuginfo-1.8.18-1.fc
24.x86_64.rpm /home/builder/fedora-review/1273927-qtcurve/results/qtcurve-debugi
nfo-1.8.18-1.fc24.x86_64.rpm
DEBUG package_manager.py:92: ['/usr/bin/dnf', '--installroot', '/var/lib/mock/f
edora-rawhide-x86_64/root/', '--releasever', '24', 'install', '/home/builder/fed
ora-review/1273927-qtcurve/results/qtcurve-1.8.18-1.fc24.x86_64.rpm', '/home/bui
lder/fedora-review/1273927-qtcurve/results/qtcurve-libs-1.8.18-1.fc24.x86_64.rpm
', '/home/builder/fedora-review/1273927-qtcurve/results/qtcurve-gtk2-1.8.18-1.fc
24.x86_64.rpm', '/home/builder/fedora-review/1273927-qtcurve/results/qtcurve-qt4
-1.8.18-1.fc24.x86_64.rpm', '/home/builder/fedora-review/1273927-qtcurve/results
/qtcurve-debuginfo-1.8.18-1.fc24.x86_64.rpm', '/home/builder/fedora-review/1273927-qtcurve/results/qtcurve-debuginfo-1.8.18-1.fc24.x86_64.rpm']
DEBUG util.py:535: child environment: None
DEBUG util.py:468: Executing command: ['/usr/bin/dnf', '--installroot', '/var/lib/mock/fedora-rawhide-x86_64/root/', '--releasever', '24', 'install', '/home/builder/fedora-review/1273927-qtcurve/results/qtcurve-1.8.18-1.fc24.x86_64.rpm', '/home/builder/fedora-review/1273927-qtcurve/results/qtcurve-libs-1.8.18-1.fc24.x86_64.rpm', '/home/builder/fedora-review/1273927-qtcurve/results/qtcurve-gtk2-1.8.18-1.fc24.x86_64.rpm', '/home/builder/fedora-review/1273927-qtcurve/results/qtcurve-qt4-1.8.18-1.fc24.x86_64.rpm', '/home/builder/fedora-review/1273927-qtcurve/results/qtcurve-debuginfo-1.8.18-1.fc24.x86_64.rpm', '/home/builder/fedora-review/1273927-qtcurve/results/qtcurve-debuginfo-1.8.18-1.fc24.x86_64.rpm', '--setopt=tsflags=nocontexts'] with env {'HOME': '/builddir', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'LANG': 'de_DE.utf8', 'SHELL': '/bin/bash', 'CCACHE_UMASK': '002', 'LC_MESSAGES': 'C', 'CCACHE_DIR': '/tmp/ccache', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False
DEBUG util.py:393: Last metadata expiration check performed 0:00:00 ago on Thu Oct 22 16:27:21 2015.
DEBUG util.py:393: Error: cannot install both qtcurve-debuginfo-1.8.18-1.fc24.x86_64 and qtcurve-debuginfo-1.8.18-1.fc24.x86_64
DEBUG util.py:393: (try to add '--allowerasing' to command line to replace conflicting packages)
DEBUG util.py:515: Child return code was: 1
qtcurve as in comment #3 is just an example, I see this with all other package reviews analogously as well. friendly ping? What's the state about this bug? Again: This nasty bug is noted in every log of f-r as a package installation error with debuginfo generated from c/c++ source. This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase Hi, Fedora Review should run dnf with --setopt=strict=false option if this is desired behavior. I would consider this to be fixed by introduction of strict option --> closing. Not reproducible with fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02, dnf . |