Bug 684882 - rpmdev-rmdevelrpms does not delete devel rpms
Summary: rpmdev-rmdevelrpms does not delete devel rpms
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmdevtools
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-14 17:30 UTC by Jan Klepek
Modified: 2011-03-14 18:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-14 18:25:11 UTC
Type: ---


Attachments (Terms of Use)

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.


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