Bug 510534 - RFE: rpm should print warning when manually using -i, -U and esp. -F
Summary: RFE: rpm should print warning when manually using -i, -U and esp. -F
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-09 17:15 UTC by James Antill
Modified: 2014-01-21 23:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-25 12:24:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Antill 2009-07-09 17:15:02 UTC
Description of problem:
 People who are using rpm -i/-U/-F instead of yum are now not getting any data into the yumdb, so it seems like a good idea to issue a warning (if stderr is a tty) if someone uses those options.
 I assume this would be Fedora specific, or maybe a compile optional.

 We don't need to go overboard, just something like "Unless you know what you are doing, you probably want to use `yum install blah' instead".

Comment 1 Panu Matilainen 2009-11-25 12:24:44 UTC
Sorry but no, rpm is not going to illegitimize or deprecate itself installing and removing packages.

If you want to have such warnings, put them into yum itself: a warning in rpm wouldn't prevent the install/erase, so yum would complain anyway on next operation. So you have the same chance at educating the average Fedora users to prefer yum over rpm as rpm would have, without polluting rpm default output with messages that dont belong there.

In other words, just make the warning discussed in bug 530781 more to the point.


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