Your message dated Thu, 12 May 2016 11:52:37 +0100
with message-id <20160512105236.ga15...@copernicus.demon.co.uk>
and subject line Re: Bug#823744: cups-common: after purge: /etc/cups/cupsd.conf
not created
has caused the Debian Bug report #823744,
regarding cups-common: after purge: /etc/cups/cupsd.conf not created
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
823744: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823744
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cups-common
Version: 1.7.5-11+deb8u1
Severity: normal
Dear Maintainer,
I was not able to modify any printers anymore. So somehow my config got broken
and I was not able to figure out why.
Usual way to fix such a problem is to purge the package and config.
apt-get purge --auto-remove cups cups-common
(and then manualy removing /etc/cups/ as the post install script could not
remove it because
not empty)
and then: apt-get install cups
This results in a broken installation as /etc/cups/cupsd.conf is not created.
What could be the cause of the problem?
-Benoit-
-- System Information:
Debian Release: 8.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-- no debconf information
--- End Message ---
--- Begin Message ---
On Thu 12 May 2016 at 11:34:00 +0200, Benoit Panizzon wrote:
> Hi Brian
Hi Benoit.
> > > How do you go on with
> > >
> > > apt-get --reinstall install cups-daemon
> > >
> > > after installing cups?
> >
> > Any progress on this?
>
> It looks like I missed your first email.
>
> Let's reproduce (sorry, locale is de_CH, so the message about non
> empty /etc/cups is german)
>
> root@krup:~# uname -a
> Linux krup.woody.ch 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1
> (2016-03-06) x86_64 GNU/Linux
>
> root@krup:~# lsb_release -a
> LSB Version:
> core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch
> Distributor ID: Debian Description: Debian GNU/Linux 8.4 (jessie)
> Release: 8.4
> Codename: jessi
>
> root@krup:~# ls -l /etc/cups/cupsd.conf
> -rw-r--r-- 1 root root 4499 Mai 8 13:33 /etc/cups/cupsd.conf
>
> root@krup:~# apt-get purge cups-common cups
> [...]
This command does not remove cups-daemon so.....
> dpkg: Warnung: Während Entfernens von cups ist Verzeichnis »/etc/cups«
> nicht leer, wird daher nicht gelöscht
> [...]
.....cupsd.conf is still present in /etc/cups.....
> root@krup:~# ls
> -l /etc/cups/cupsd.conf -rw-r--r-- 1 root root 4499 Mai 8
> 13:33 /etc/cups/cupsd.conf
....as we see.
> root@krup:~# rm -r /etc/cups/
>
> Now we are 'clean'...
cupsd.conf has been deleted but....
> root@krup:~# apt-get install cups hplip printer-driver-hpcups
> [...]
.....this command does not install cups-daemon as it is stll on the system.
So.....
> root@krup:~# ls -l /etc/cups/
> insgesamt 20
> drwxr-xr-x 2 root root 4096 Jun 9 2015 interfaces
> drwxr-xr-x 2 root root 4096 Jun 9 2015 ppd
> -rw-r--r-- 1 root root 240 Mai 12 11:32 raw.convs
> -rw-r--r-- 1 root root 211 Mai 12 11:32 raw.types
> -rw-r--r-- 1 root root 160 Jun 9 2015 snmp.conf
cupsd.conf is not replaced.
> root@krup:~# service cups restart
> root@krup:~#
> Message from syslogd@krup at May 12 11:32:47 ...
> cupsd: Unable to open "/etc/cups/cupsd.conf": No such file or directory
>
> Broadcast message from systemd-journ...@krup.woody.ch (Thu 2016-05-12
> 11:32:47 CEST):
>
> cupsd[11173]: Unable to open "/etc/cups/cupsd.conf": No such file or
> directory
You have outlined the assumption you made in your other mail so I think
we can be confident there is no bug in cups or cups-daemon. Hence I am
closing the report.
Thank you for your speedy reply and the attention to detail.
Happy printing!
Brian.
--- End Message ---