Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 236805 - [Enhancement] Ability to mark packages/package groups as important
Summary: [Enhancement] Ability to mark packages/package groups as important
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-04-17 18:51 UTC by Kelly Miller
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-07-18 19:16:20 UTC

Attachments (Terms of Use)

Description Kelly Miller 2007-04-17 18:51:40 UTC
Regardless of anything else, there really ought to be a way to mark a 
package/set of packages as IMPORTANT and get yum/whatever to issue a warning 
("Warning: removing this component may break the system/prevent you from 
using GUI/whatever; are you sure you want to to do this?") if one of these 
important packages is marked for removal.

This might lead to less reports on the mailing lists from people who 
accidentally removed Xorg/KDE/GNOME/other big section of programs without 
knowing that the aforementioned big section of programs is necessary to 
provide the features the user expects to receive.

I'm not suggesting a prompt like the one in Vista ("Are you sure?" every 5 
minutes), but I think it'd be better if the user in question was at least 
warned about potentially system-breaking removals before the system goes 
through with them.

Comment 1 Jeff Johnson 2007-04-17 23:26:01 UTC
rpm-4.4.9 has per-transaction dependencies that can be configured on end-user susyems.

    echo "/bin/sh" >> /etc/rpm/sysinfo/Requirename
will prevent the bash package (or whatever package contains /bin/sh)
from being removed.


Comment 2 Panu Matilainen 2007-07-18 19:16:20 UTC
Yum can do this by using protect-packages plugin, apt-rpm has it's own native
mechanism. So actually the tools that do support recursively removing packages'
dependencies already support the type of protection requested here.

WONTFIX on rpm terms, but check out yum-protect-packages plugin.

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