Bug 1260299 - dnf removing important packages like zlib and sqlite within removal of some packages
Summary: dnf removing important packages like zlib and sqlite within removal of some p...
Keywords:
Status: CLOSED DUPLICATE of bug 1222812
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-05 19:09 UTC by Roni Laukkarinen
Modified: 2015-09-07 12:38 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-07 12:38:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Roni Laukkarinen 2015-09-05 19:09:48 UTC
Description of problem:

I have had this problem twice now. It seems that when removing some packages with dnf, it automatically removes packages important to system like zlib and sqlite. I'm newcomer to Fedora, but had centos before it and suse before that so I'm quite at home with rpm-redhat-based systems.


Version-Release number of selected component (if applicable):

Fedora Server, 22.

How reproducible:

Very.

Steps to Reproduce:
1. Install skype or postgresql via dnf or rpm
2. Run `dnf remove skype` or `dnf remove postgresql`, hit Y
3. Have a broken system

Actual results:

Since most of the important packages and commands depend on zlib, wget, curl, dnf, rpm or connecting with ssh no longer work.

Expected results:

Broken system.

Additional info:

Got it resolved with the tips and kind help of #fedora at freenode and my own findings. Tips to solve: have a VM or another machine with rpm2cpio, get the files from koji.fedoraproject.org/koji, unpack them and copy them over to the system, then `dnf reinstall zlib uuid sqlite`.

Dnf should not remove zlib only during removal of postgresql or freaking skype... this could be happening for many dnf remove commands if the user is not careful enough.

Comment 1 Roni Laukkarinen 2015-09-05 19:15:48 UTC
Here are the pastebins, by the way:
http://pastebin.com/hW0BfEi1
http://pastebin.com/LW4TKSc3

Comment 2 Radek Holy 2015-09-07 12:38:51 UTC
Looks like a duplicate of the bug 1222812.

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


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