LPRng-style printer spec with CUPS?

Aaron Gaudio prothonotar at tarnation.dyndns.org
Wed Aug 25 00:21:20 UTC 2004


On Tue, 2004-08-24 at 15:59 -0400, Bryan K. Wright wrote:
> Hi folks,
> 
> balay at fastmail.fm said:
> > - CUPS obsoletes LPRng - so if using apt - it will always prompt to
> >   remove LPRng. (i just stick with yum) 
> 
> 	I find that if I do the following, both CUPS and LPRng seem
> to run fine:
> 
>    rpm -e cups --nodeps
>    rpm -i LPRng-3.8.27-1.i386.rpm --replacefiles
>    rpm -i cups-1.1.20-11.1.i386.rpm
> 
> (The "--replacefiles" is necessary because the LPRng package I'm using
> has two file conflicts: /etc/printcap from setup-2.5.33-1 and 
> /usr/share/man/man1/monitor.1.gz from perl-SGI-FAM-1.002-1.)
> 

Or, you could use:

rpm -i --excludepath /etc/printcap --excludepath /usr/share/man/man1/
monitor.1.gz LPRng-3.8.27-1.i386.rpm


> 	There's still a problem, though:  If, instead of using rpm to 
> re-install cups, I use "yum install cups" the install procedure ends
> up by un-installing LPRng.  The same thing happens if I install an
> earlier version of cups, then do a "yum update cups".  This leads
> me to believe that LPRng will be nuked the next time I do a "yum update".
> 

Don't know about yum, but in apt, you can try adding the package to the
Ignore or Hold rules in /etc/apt/apt.conf. 





More information about the fedora-list mailing list