Bug 1343613

Summary: dnf remove bookmarks wants to remove firefox
Product: [Fedora] Fedora Reporter: Flo H. <emailtoflorian>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: bugzilla, ignatenko, jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-13 11:18:55 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 Flo H. 2016-06-07 14:25:11 UTC
Description of problem:
Dependencies seems to be weird here. I am running a Fedora 24 Workstation Beta, and a recent update wants to update fedora-bookmarks and astronomy-booksmarks 

(BUG in itself: "file /usr/share/bookmarks/default-bookmarks.html conflicts between attempted installs of fedora-bookmarks-24-1.fc24.noarch and astronomy-bookmarks-1-15.fc24.noarch")

Since I don't care about astronomy-bookmarks, I wanted to remove it: 
dnf remove astronomy-bookmarks. dnf then wants to remove firefox:

==================================================================================================================
 Package                           Arch                 Version                       Repository             Size
==================================================================================================================
Removing:
 astronomy-bookmarks               noarch               1-14.fc24                     @fedora               4.2 k
 firefox                           x86_64               46.0.1-4.fc24                 @fedora               130 M

Transaction Summary
==================================================================================================================
Remove  2 Packages


That can't be right...

Version-Release number of selected component (if applicable):
Name        : dnf
Arch        : noarch
Epoch       : 0
Version     : 1.1.9
Release     : 2.fc24

Name        : rpm
Arch        : x86_64
Epoch       : 0
Version     : 4.13.0
Release     : 0.rc1.27.fc24



How reproducible:
Always.

Steps to Reproduce:
1.sudo dnf remove astronomy-booksmarks
2.
3.

Actual results:
dnf suggests to remove firefox

Expected results:
dnf removes astronomy-bookmarks


Additional info:

Comment 1 Igor Gnatenko 2016-06-13 11:12:16 UTC
[ignatenk@ignatenko debugdata]$ sudo dnf repoquery --requires firefox | grep system-bookmarks
system-bookmarks
[ignatenk@ignatenko debugdata]$ sudo dnf repoquery --whatprovides system-bookmarks
Last metadata expiration check: 1:14:47 ago on Mon Jun 13 11:55:29 2016.
astronomy-bookmarks-0:1-14.fc24.noarch
fedora-bookmarks-0:24-1.fc24.noarch


"firefox" requires "system-bookmarks" which is provided in your system only by "astronomy-bookmarks" so removal is correct.

Comment 2 Igor Gnatenko 2016-06-13 11:19:36 UTC
*** Bug 1343740 has been marked as a duplicate of this bug. ***