Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388515 - net-print/lprng and net-print/cups: patch to allow both installed at the same time
Summary: net-print/lprng and net-print/cups: patch to allow both installed at the same...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2011-10-26 08:17 UTC by Martin von Gagern
Modified: 2012-02-19 23:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Allow lprng and cups to both be installed (gentoo388515a.patch,4.18 KB, patch)
2011-10-26 08:52 UTC, Martin von Gagern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2011-10-26 08:17:15 UTC
Just failed to merge lprng due to file collisions:

 * package net-print/lprng-3.8.28 NOT merged
 * 
 * Detected file collision(s):
 * 
[...]
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * net-print/cups-1.4.8-r22
 *      /usr/bin/cancel
 *      /usr/bin/lp
 *      /usr/bin/lpq
 *      /usr/bin/lpr
 *      /usr/bin/lprm
 *      /usr/bin/lpstat
 *      /usr/lib/debug/usr/bin/lpq.debug
 *      /usr/lib/debug/usr/bin/lpr.debug
 *      /usr/lib/debug/usr/bin/lprm.debug
 *      /usr/lib/debug/usr/bin/lpstat.debug
 *      /usr/lib/debug/usr/sbin/lpc.debug
 *      /usr/sbin/lpc
 *      /usr/share/man/man1/cancel.1.bz2
 *      /usr/share/man/man1/lp.1.bz2
 *      /usr/share/man/man1/lpq.1.bz2
 *      /usr/share/man/man1/lpr.1.bz2
 *      /usr/share/man/man1/lprm.1.bz2
 *      /usr/share/man/man1/lpstat.1.bz2
 *      /usr/share/man/man8/lpc.8.bz2

The packages should have blockers for one another in their RDEOEND variables, so that package managers will detect those problems before starting the build.

Issues like this have been reported before in bug 17473, but as I cannot reopen that one, and as the blockers mentioned there don't seem to be in place any more, I'm filing a new report for this.
Comment 1 Martin von Gagern 2011-10-26 08:52:18 UTC
Created attachment 290851 [details, diff]
Allow lprng and cups to both be installed

Or you might go one step further and even allow things to be installed concurrently. This is useful e.g. if you are running cups locally, but want to be able to talk to remote lpr printers using the command line tools from lprng.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-01-20 09:28:13 UTC
Confirmed.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-01-20 09:31:34 UTC
Samuli, this seems to be caused by http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild?r1=1.19&r2=1.20 committed by you.

Please take a look at this collision issue.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-01-27 14:34:56 UTC
(In reply to comment #3)
> Samuli, this seems to be caused by
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild?r1=1.19&r2=1.20
> committed by you.
> 
> Please take a look at this collision issue.

I added the block on net-print/cups myself. Feel free to decide what to do with the suggested change to allow both to be installed at the same time.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-01-27 14:44:19 UTC
(In reply to comment #3)
> Samuli, this seems to be caused by
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild?r1=1.19&r2=1.20
> committed by you.
> 
> Please take a look at this collision issue.

Indeed. And your commit just fixed it. I can't say if this is desirable either, to allow both installed at the same time. So as such, thanks Paweł (and Martin) but nothing for me left in this bug.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2012-02-19 23:33:45 UTC
We're not going to support placing both a Trabant and a Porsche engine into the chassis... sorry but there are limits...