Steven Curren reported a rather interesting bug against my cups-1.1.19
build, which is a RawHide build with minor modifications. Upgrading the
cups-1.1.19 package over an existing LPRng package, which is possible
because the cups package "Obsoletes" the LPRng package and is the method
recommended in my cups installation howto, results in the removal of files
that are duplicated between the cups and LPRng packages, including
/usr/bin/lp, /usr/bin/lpr, and /usr/bin/cancel. Ouch.

To find out if you are affected by this bug, try 'which lp' and 'which
lpr' to see if these commands are found.

A fix for this bug is to reinstall cups over the current cups package like 
so:
# rpm -Uvh --replacepkgs cups-1.1.19-8smea1.i386.rpm
for x86 systems, or
# rpm -Uvh --replacepkgs cups-1.1.19-8smea1.alpha.rpm
for Alpha systems.

If you're doing a fresh install the following should work (but let me know 
if it doesn't):
# rpm -ivh cups-*.rpm
# rpm -Uvh [rest_of_cups_related_packages]

I believe it should be possible to 'rpm -U' cups over LPRng properly if
the cups package didn't "Provide" LPRng, which it does to meet a
redhat-printerconf dependency. Can anyone on this list confirm from
similar experience that obsoleting and providing a package at the same
time would indeed cause this upgrade error? I'll file a bug in Red Hat's
bugzilla once I have gathered more info on this.

Cheers,
Robert


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to