Bug 1322166 - failed to install RPMs because of duplicated debuginfo packages
Summary: failed to install RPMs because of duplicated debuginfo packages
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-review
Version: 25
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: ---
Assignee: Stanislav Ochotnicky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-29 23:40 UTC by Honggang LI
Modified: 2017-04-11 12:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-11 12:55:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
ibacm src rpm (357.10 KB, application/x-rpm)
2016-03-29 23:40 UTC, Honggang LI
no flags Details

Description Honggang LI 2016-03-29 23:40:02 UTC
Created attachment 1141477 [details]
ibacm src rpm

Description of problem:

Failed to run fedora-view to check ibacm packages.

===== EXTRA items =====

Generic:
[!]: Rpmlint is run on all installed packages.
     Note: Mock build failed
     See: http://fedoraproject.org/wiki/Packaging/Guidelines#rpmlint
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Spec file according to URL is the same as in SRPM.


Installation errors
-------------------
INFO: mock.py version 1.2.17 starting (python version = 3.5.1)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled dnf cache
Start: cleaning dnf metadata
Finish: cleaning dnf metadata
Mock Version: 1.2.17
INFO: Mock Version: 1.2.17
Finish: chroot init
INFO: installing package(s): /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-1.2.0-1.fc25.x86_64.rpm /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-devel-1.2.0-1.fc25.x86_64.rpm /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-debuginfo-1.2.0-1.fc25.x86_64.rpm /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-debuginfo-1.2.0-1.fc25.x86_64.rpm
ERROR: Command failed. See logs for output.
 # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 25 --disableplugin=local --setopt=deltarpm=false install /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-1.2.0-1.fc25.x86_64.rpm /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-devel-1.2.0-1.fc25.x86_64.rpm /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-debuginfo-1.2.0-1.fc25.x86_64.rpm /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-debuginfo-1.2.0-1.fc25.x86_64.rpm --setopt=tsflags=nocontexts


Version-Release number of selected component (if applicable):
honli@dhcp47-85:~/ibacm$ rpm -qa fedora-review*
fedora-review-0.6.0-4.fc24.noarch
fedora-review-plugin-java-4.6.1-4.fc24.noarch
fedora-review-tests-0.6.0-4.fc24.noarch
honli@dhcp47-85:~/ibacm$ 
honli@dhcp47-85:~/ibacm$ 
honli@dhcp47-85:~/ibacm$ rpm -qf /usr/lib64/python3.5/re.py
system-python-libs-3.5.1-7.fc24.x86_64
honli@dhcp47-85:~/ibacm$ 
honli@dhcp47-85:~/ibacm$ cat /etc/fedora-release 
Fedora release 24 (Twenty Four)

How reproducible:
always

Steps to Reproduce:
1. rpm2cpio ibacm-1.2.0-1.fc25.src.rpm | cpio -div
2. cat x.sh 
#!/bin/bash
set -x

rm -fr src x86_64

mock -r fedora-rawhide-x86_64 --buildsrpm --sources .  --spec ibacm.spec --resultdir  src
mock -r fedora-rawhide-x86_64 --rebuild --resultdir x86_64 src/ibacm-*.fc25.src.rpm 
mock -r fedora-rawhide-x86_64 --rebuild src/ibacm-*.fc25.src.rpm

cp ibacm.spec x86_64
(cd x86_64; fedora-review -n ibacm -m fedora-rawhide-x86_64)

3. sh x.sh

Actual results:

honli@dhcp47-85:~/ibacm$ sudo /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 25 --disableplugin=local --setopt=deltarpm=false install /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-1.2.0-1.fc25.x86_64.rpm /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-devel-1.2.0-1.fc25.x86_64.rpm /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-debuginfo-1.2.0-1.fc25.x86_64.rpm /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-debuginfo-1.2.0-1.fc25.x86_64.rpm --setopt=tsflags=nocontexts
/usr/lib64/python3.5/re.py:203: FutureWarning: split() requires a non-empty pattern match.
  return _compile(pattern, flags).split(string, maxsplit)
Last metadata expiration check: 0:00:00 ago on Tue Mar 29 19:30:54 2016.
Error: cannot install both ibacm-debuginfo-1.2.0-1.fc25.x86_64 and ibacm-debuginfo-1.2.0-1.fc25.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages)
1 honli@dhcp47-85:~/ibacm$ 
1 honli@dhcp47-85:~/ibacm$ 
1 honli@dhcp47-85:~/ibacm$ 


After removed duplicated "/home/honli/ibacm/x86_64/review-ibacm/results/ibacm-debuginfo-1.2.0-1.fc25.x86_64.rpm" from command line, installation works again.


1 honli@dhcp47-85:~/ibacm$ sudo /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 25 --disableplugin=local --setopt=deltarpm=false install /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-1.2.0-1.fc25.x86_64.rpm /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-devel-1.2.0-1.fc25.x86_64.rpm /home/honli/ibacm/x86_64/review-ibacm/results/ibacm-debuginfo-1.2.0-1.fc25.x86_64.rpm  --setopt=tsflags=nocontexts/usr/lib64/python3.5/re.py:203: FutureWarning: split() requires a non-empty pattern match.
  return _compile(pattern, flags).split(string, maxsplit)
Last metadata expiration check: 0:00:00 ago on Tue Mar 29 19:31:19 2016.
Dependencies resolved.
===============================================================================================================
 Package                      Arch                Version                      Repository                 Size
===============================================================================================================
Installing:
 ibacm                        x86_64              1.2.0-1.fc25                 @commandline               84 k
 ibacm-debuginfo              x86_64              1.2.0-1.fc25                 @commandline              189 k
 ibacm-devel                  x86_64              1.2.0-1.fc25                 @commandline               12 k

Transaction Summary
===============================================================================================================
Install  3 Packages

Total size: 285 k
Installed size: 859 k
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : ibacm-1.2.0-1.fc25.x86_64                                                                  1/3 
  Installing  : ibacm-devel-1.2.0-1.fc25.x86_64                                                            2/3 
  Installing  : ibacm-debuginfo-1.2.0-1.fc25.x86_64                                                        3/3 
Failed to connect to bus: No such file or directory
  Verifying   : ibacm-devel-1.2.0-1.fc25.x86_64                                                            1/3 
  Verifying   : ibacm-debuginfo-1.2.0-1.fc25.x86_64                                                        2/3 
  Verifying   : ibacm-1.2.0-1.fc25.x86_64                                                                  3/3 

Installed:
  ibacm.x86_64 1.2.0-1.fc25      ibacm-debuginfo.x86_64 1.2.0-1.fc25      ibacm-devel.x86_64 1.2.0-1.fc25     

Complete!


Expected results:


Additional info:

Comment 1 Honggang LI 2016-03-29 23:56:42 UTC
This bug blockers ibacm package review request process.

Comment 2 Honggang LI 2016-04-05 11:58:57 UTC
Any update? thanks

Comment 3 Jan Kurik 2016-07-26 05:04:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.


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