Bug 1319071

Summary: RFE: show hint when hitting cpio error
Product: [Fedora] Fedora Reporter: Honza Silhan <jsilhan>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jsilhan, jzeleny, lkardos, mluscon, novyjindrich, packaging-team-maint, pknirsch, pnemade, 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-03-31 10:56: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:

Description Honza Silhan 2016-03-18 15:14:21 UTC
When there's the cpio error during transaction, show more useful hint

actual result:
error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/requests/packages/chardet: cpio: rename

expected result:
error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/requests/packages/chardet: cpio: rename,
the content of the package might be already installed via different source

Comment 1 Honza Silhan 2016-03-29 14:45:00 UTC
This was reported from IRC by some confused user. IMO the hint should be inside rpm error message.

Reproducer:
1) rpm -e python(3)-requests
2) pip(3) install requests
3) dnf install python(3)-requests

Comment 2 Ľuboš Kardoš 2016-03-31 10:56:15 UTC

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