Bug 684882

Summary: rpmdev-rmdevelrpms does not delete devel rpms
Product: [Fedora] Fedora Reporter: Jan Klepek <jan.klepek>
Component: rpmdevtoolsAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: a.badger, ville.skytta
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: 2011-03-14 18:25:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Klepek 2011-03-14 17:30:29 UTC
Description of problem:
when rpmdev-rmdevelrpms is executed it does not remove devel packages.

Version-Release number of selected component (if applicable):
7.10-1.fc14

How reproducible:


Steps to Reproduce:
1. install lcms-devel
2. try to remove it with rpmdev-rmdevelrpms
3. error "Not removed due to dependencies."
  
Actual results:
devel package not removed because at least one other devel package is required by another non-devel package (kernel & kernel-devel for example)

Expected results:
unneeded devel packages are removed from system

Additional info:

Comment 1 Ville Skyttä 2011-03-14 18:25:11 UTC
rmdevelrpms does not do partial removals, it just tries to remove *all* packages it considers devel in one transaction, just like what would happen if you passed the same list of packages to remove to one "rpm -e" command.  This is intended behavior and not a bug, but I would consider applying a patch that changes this if someone submits one.

Comment 2 Ville Skyttä 2011-03-14 18:29:35 UTC
BTW, you can customize what rmdevelrpms considers devel packages in /etc/rpmdevtools/rmdevelrpms.conf.