[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823744: cups-common: after purge: /etc/cups/cupsd.conf not created



Hi Brian

> > 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
[...]
dpkg: Warnung: Während Entfernens von cups ist Verzeichnis »/etc/cups«
nicht leer, wird daher nicht gelöscht
[...]

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:~# rm -r /etc/cups/

Now we are 'clean'...

root@krup:~# apt-get install cups hplip printer-driver-hpcups
[...]

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

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-journald@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

-Benoît Panizzon-


Reply to: