Bug#427617: cupsys-bsd: on upgrade remove lpr package; obscure warning.

2007-06-05 Thread Leonardo Boselli
Package: cupsys-bsd
Severity: minor

On two lenny computer a plain update bring in cupsys-lpd that in turn 
removed lpr service.
Differently than usual, that is, if a previous configuration is found, 
this is used as a  default, the default is to drop lpr service.
I just get back operations by removing it and reinstalling lpr, but this 
could not always be the neatier solution ...



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages cupsys-bsd depends on:
pn  cupsys-client none (no description available)
ii  cupsys-common 1.2.11-2   Common UNIX Printing System(tm) - 
ii  debconf   1.5.13 Debian configuration management sy
ii  libc6 2.5-9  GNU C Library: Shared libraries
ii  libcupsys21.2.11-2   Common UNIX Printing System(tm) - 
ii  libgnutls13   1.6.3-1the GNU TLS library - runtime libr
ii  update-inetd  4.27-0.5   inetd.conf updater

cupsys-bsd recommends no packages.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#427617: cupsys-bsd: on upgrade remove lpr package; obscure warning.

2007-06-05 Thread Leonardo Boselli
OPS : 
Read: On lenny a plain update brings in cupsys-bsd that in turn removes
lpr package and consequently the lpd services.
(note also that it removes the executable, but leaves the script in
etc/init.d)

On Tue, 5 Jun 2007, Leonardo Boselli wrote:
 On two lenny computer a plain update bring in cupsys-lpd that in turn 
 removed lpr service.





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#427617: [Pkg-cups-devel] Bug#427617: cupsys-bsd: on upgrade remove lpr package; obscure warning.

2007-06-05 Thread Martin-Éric Racine

On 6/5/07, Leonardo Boselli [EMAIL PROTECTED] wrote:

On Tue, 5 Jun 2007, Leonardo Boselli wrote:
 On two lenny computer a plain update bring in cupsys-lpd that in turn
 removed lpr service.

OPS :
Read: On lenny a plain update brings in cupsys-bsd that in turn removes
lpr package and consequently the lpd services.
(note also that it removes the executable, but leaves the script in
etc/init.d)


Thanks for this extra detail.

cupsys-bsd indeed conflicts with lpr, because it provides the same
service, that is a BSD printing service on port 515. additionally, it
provides BSD-style commands to manipulate the printer spool.

The way dpkg works, a package removal only removes the binaries; it
leaves the startup scripts and configuration files in place.  If you
want to purge the scripts and configuration files too, you need to
manually specify -P for dpkg or --purge for APT's removal command.

--
Martin-Éric Racine
http://q-funk.iki.fi


Bug#427617: [Pkg-cups-devel] Bug#427617: cupsys-bsd: on upgrade remove lpr package; obscure warning.

2007-06-05 Thread Martin-Éric Racine

(please keep the CC to the bug report when replying)

On 6/5/07, Leonardo Boselli [EMAIL PROTECTED] wrote:

On Tue, 5 Jun 2007, [UTF-8] Martin-Éric Racine wrote:
 cupsys-bsd indeed conflicts with lpr, because it provides the same
 service, that is a BSD printing service on port 515. additionally, it
 provides BSD-style commands to manipulate the printer spool.
Unfortunately the default is to disable LPR access so i was not able to
print neither locally neither using samba.


Yes, because some people consider the old BSD spooler as problematic.

Enabling it simply requires answering YES to the debconf question when
installing cupsys-bsd or issuing a dpkg-reconfigure cupsys-bsd to
answer YES afterwards.

Anyhow, running both lpr and cups on the same host is generally a bad
idea. If you run cups, but still require traditional BSD printing
services, installing and enabling cupsys-bsd with cups is a much
better alternative.

Should we close this bug?

--
Martin-Éric Racine
http://q-funk.iki.fi


Bug#427617: [Pkg-cups-devel] Bug#427617: cupsys-bsd: on upgrade remove lpr package; obscure warning.

2007-06-05 Thread Leonardo Boselli
On Tue, 5 Jun 2007, [UTF-8] Martin-Éric Racine wrote:
 Unfortunately the default is to disable LPR access so i was not able to
 print neither locally neither using samba.
Enabling it simply requires answering YES to the debconf question when
installing cupsys-bsd or issuing a dpkg-reconfigure cupsys-bsd to
answer YES afterwards.

Should we close this bug?

You could, also if i would prefer that the configurator would test if a
lpd is runnuing and in that case propose a different default.
It would be consistent with the behaviour of other packages.