Bug 1261917 - Transactions by PackageKit aren't recorded the DNF transaction log
Summary: Transactions by PackageKit aren't recorded the DNF transaction log
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-10 12:36 UTC by Neal Gompa
Modified: 2015-09-14 10:43 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-14 10:43:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Neal Gompa 2015-09-10 12:36:22 UTC
Description of problem:
Transactions (such as package updates, installs, etc.) are not recorded in the DNF transaction log. Consequently, it's not possible to audit or roll back updates through DNF if they are bad.

Version-Release number of selected component (if applicable):
PackageKit-1.0.8-2.fc22

How reproducible:
Always

Steps to Reproduce:
1. Be notified of updates
2. Update through PackageKit (pkcon, apper, GNOME Software, etc.)
3. Do "dnf history info"

Actual results:
The latest transaction shown is the last one triggered through DNF

Expected results:
The latest transaction shown is the one done by PackageKit

Comment 1 Richard Hughes 2015-09-14 10:43:56 UTC
yum and PackageKit have traditionally recorded changes to the yumdb. DNF logs changes to the dnfdb, which is exactly the same format but in a different place (overzealous sed script?). Kalev changed PackageKit to record history information in the dnfdb instead of the yumdb for f23.


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