Bug 902810

Summary: dnf complains that there are unfinished transactions remaining (even if not true)
Product: [Fedora] Fedora Reporter: Cristian Ciupitu <cristian.ciupitu>
Component: dnfAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 18CC: akozumpl, jzeleny, lsatenstein
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: dnf-0.2.21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 05:52:33 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 Cristian Ciupitu 2013-01-22 13:03:37 UTC
Description of problem:
I tried to test the possible fix mentioned at https://bugzilla.redhat.com/show_bug.cgi?id=902721#c5

Version-Release number of selected component (if applicable):
dnf-0.2.20-1.gitdec970f.fc18.noarch

How reproducible:
Every time

Steps to Reproduce:
1. yum erase egtk-xfwm4-theme  elementary-icon-theme bluecurve-icon-theme bluecurve-cursor-theme bluecurve-gnome-theme bluecurve-gtk-themes  bluecurve-icon-theme  gnome-icon-theme-extras  greybird-gtk2-theme  greybird-gtk3-theme  greybird-metacity-theme greybird-xfce4-notifyd-theme
2. dnf install egtk-xfwm4-theme  elementary-icon-theme bluecurve-icon-theme bluecurve-cursor-theme bluecurve-gnome-theme bluecurve-gtk-themes  bluecurve-icon-theme  gnome-icon-theme-extras  greybird-gtk2-theme  greybird-gtk3-theme  greybird-metacity-theme greybird-xfce4-notifyd-theme
  
Actual results:
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Starting dependency resolution
---> Package egtk-xfwm4-theme.noarch 3.1-2.fc18 will be installed
...

Expected results:
No complaint about unfinished transactions.

Additional info:
yum-complete-transaction says "No unfinished transactions left."

Comment 1 Ales Kozumplik 2013-02-08 12:50:39 UTC
The master commit 89609d9 addresses this, dnf should no longer complain about unfinished transactions.

Comment 2 Fedora Update System 2013-02-11 12:05:48 UTC
hawkey-0.3.7-2.gitdd10ac7.fc18, dnf-0.2.21-1.git050524e.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/dnf-0.2.21-1.git050524e.fc18,hawkey-0.3.7-2.gitdd10ac7.fc18

Comment 3 Leslie Satenstein 2013-02-11 16:29:50 UTC
I had a similar problem.  DNF created a "Update on Reboot" transaction file for Manaage colors (or similar name). On reboot, and after several loops, the tranaction failed to process to 100%

Redoing the update with yum corrected the problem.  On a reboot, the Manage colors completed successfully.  Yum as a correction message reported an incomplete transaction.

Comment 4 Fedora Update System 2013-02-12 05:11:38 UTC
Package hawkey-0.3.7-2.gitdd10ac7.fc18, dnf-0.2.21-1.git050524e.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hawkey-0.3.7-2.gitdd10ac7.fc18 dnf-0.2.21-1.git050524e.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2318/dnf-0.2.21-1.git050524e.fc18,hawkey-0.3.7-2.gitdd10ac7.fc18
then log in and leave karma (feedback).

Comment 5 Ales Kozumplik 2013-02-12 11:12:03 UTC
(In reply to comment #3)
> I had a similar problem.  DNF created a "Update on Reboot" transaction file
> for Manaage colors (or similar name). On reboot, and after several loops,
> the tranaction failed to process to 100%
> 
> Redoing the update with yum corrected the problem.  On a reboot, the Manage
> colors completed successfully.  Yum as a correction message reported an
> incomplete transaction.

DNF should ignore the 'update on reboot' flag now. Can you please open a separate bug and describe what packages were in the transaction if you're experiencing a different behavior?

Comment 6 Fedora Update System 2013-02-21 05:52:34 UTC
hawkey-0.3.7-2.gitdd10ac7.fc18, dnf-0.2.21-1.git050524e.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.