Bug 1194424 - Dnf reports success eventhough update failed
Summary: Dnf reports success eventhough update failed
Keywords:
Status: CLOSED DUPLICATE of bug 1207981
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 21
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-19 19:19 UTC by Suvayu
Modified: 2015-07-03 20:33 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-03 20:33:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Dnf output log (14.26 KB, text/plain)
2015-02-19 19:19 UTC, Suvayu
no flags Details
DNF output log Fedora 22 (5.06 KB, text/plain)
2015-07-03 07:20 UTC, redhat
no flags Details

Description Suvayu 2015-02-19 19:19:12 UTC
Created attachment 993746 [details]
Dnf output log

Description of problem:
For some strange reason cpio fails to extracts randomly on my system during an update.  When this happens Dnf complains about the errors, but in the final summary it reports success for all the package updates!  I would expect it to report the successes and failures separately.

Version-Release number of selected component (if applicable):
$ dnf --version
0.6.3
  Installed: dnf-0:0.6.3-2.fc21.noarch at 2015-01-07 17:04
  Built    : Fedora Project at 2014-12-09 13:51

  Installed: rpm-0:4.12.0.1-4.fc21.x86_64 at 2015-01-07 16:59
  Built    : Fedora Project at 2014-12-12 16:22

How reproducible:
Whenever cpio extract failure happens, dnf shows this behaviour.  I can't predict when cpio will fail though, so I can't provide a reproducible recipe. 

Steps to Reproduce:
1. wait for a package update to fail
2. look at the output
3.

Actual results:
Output from such a session is attached as a log file

Expected results:
I would expect Dnf to report the packages which failed to install under Failures, not Upgraded or Installed.

Additional info:
It would be really helpful if someone could also shed some light on why cpio is failing (randomly) on my laptop, although I realise that is not the topic of this bug report.

Comment 1 Honza Silhan 2015-03-10 18:36:57 UTC
Thanks for the report, we'll take a look. The failures should be printed in separate table "Not Upgraded", "Not installed", etc.

Comment 2 redhat 2015-07-03 07:20:45 UTC
Created attachment 1045755 [details]
DNF output log Fedora 22

I can see the same behaviour on Fedora 22 (upgraded from 20) as-well.

Comment 3 Honza Silhan 2015-07-03 20:33:10 UTC

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


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