Bug 115098 - Obsoleting LPRng with CUPS removes lp, lpr, cancel, etc.
Summary: Obsoleting LPRng with CUPS removes lp, lpr, cancel, etc.
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: cups (Show other bugs)
(Show other bugs)
Version: 1.0
Hardware: All Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2004-02-06 17:15 UTC by Robert van den Aker
Modified: 2007-04-18 17:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-02-06 17:16:19 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Robert van den Aker 2004-02-06 17:15:00 UTC
Description of problem:
Let me say up front that this is a second-hand bug report and that I
unfortunately do not have a spare machine to test this on. I'm hoping
someone with a test machine can confirm this bug.
I built a cups-1.1.19-8 package (without use_alternatives) for a
friend who had LPRng installed. He installed the package with "rpm
-Uvh cups-*". The cups package obsoletes LPRng, so that package was
removed, but in the process it removed all files that were shared
between the obsoleted LPRng package and the obsoleting cups package.
This means that after installing the cups package there were no
/usr/bin/lp, /usr/bin/lpr, /usr/bin/cancel, or any other files that
used to be owned by the obsoleted LPRng package, such as the man pages
for lp, lpr, and cancel. Reinstalling cups with "rpm -Uvh
--replacepkgs cups-*" fixed the problem.
My hunch is that this bug was introduced in cups-1.1.19-3 with the fix
for bug #92145. At least, this problem did not occur when I obsoleted
my LPRng package with a cups package that provided LPRng without a
version. If this bug can be reproduced and if it is not in fact a bug
in rpm (or my friend's version of rpm), I suppose this bug can be
fixed by not having the cups package provide LPRng at all.

Version-Release number of selected component (if applicable):
cups >= 1.1.19-3

How reproducible:
Didn't try

Steps to Reproduce:
1. Install LPRng without "alternatives".
2. Build cups >= 1.1.19-3 without "alternatives".
3. # rpm -Uvh cups-*
4. $ which lp lpr cancel

Actual Results:  No lp, lpr, cancel in PATH.

Expected Results:  /usr/bin/lp

Additional info:

Comment 1 Tim Waugh 2004-02-06 17:16:19 UTC
We don't build cups without alternatives in Red Hat Linux or in Fedora

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