Bug 1286724

Summary: PackageKit writes wrong reason into dnf's yumdb
Product: [Fedora] Fedora Reporter: Michal Luscon <mluscon>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jonathan, klember, rdieter, rhughes, smparrish
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: 2015-11-30 15:48:54 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 Michal Luscon 2015-11-30 15:20:14 UTC
Hi Richard,

we found out that the PackageKit marks all of installed packages with reason "dependency" in dnf's yumdb despite the fact that the actual reason should be "user installed". This can cause an autoremoval of packages installed by PackageKit if user consequently uses DNF.

Steps to reproduce:

1, install vim via command not found
2, cat /var/lib/dnf/yumdb/v/*vim*/reason

Comment 1 Rex Dieter 2015-11-30 15:48:54 UTC

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