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

Re: Printing stopped working on Debian testing

Joshua McGee wrote:
Printing stopped working overnight on Debian testing, possibly due to
cron-apt running.  I tried to remove and reinstall, and I am facing
the following messages:

www:~# apt-get install cupsys
Reading package lists... Done
Building dependency tree... Done
cupsys is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up cupsys (1.2.1-2) ...
Starting Common Unix Printing System: cupsdcupsd: Child exited with status 1!
invoke-rc.d: initscript cupsys, action "start" failed.
dpkg: error processing cupsys (--configure):
subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of printconf:
printconf depends on cupsys; however:
 Package cupsys is not configured yet.
dpkg: error processing printconf (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)


I [29/Jun/2006:18:33:19 -0700] Listening to :::631 (IPv6)
I [29/Jun/2006:18:33:19 -0700] Listening to (IPv4)
E [29/Jun/2006:18:33:19 -0700] Hostname lookup for "x.y.z.255" failed!
E [29/Jun/2006:18:33:19 -0700] Bad BrowseAddress x.y.z.255 at line 531.
E [29/Jun/2006:18:33:19 -0700] Bad netmask value 192.168.123.* on line 772.
E [29/Jun/2006:18:33:19 -0700] Unknown Location directive Allow on line 772.

I've looked at cupsd.conf, and to my untrained eyes lines 531 and 772
look valid, as everything is within the netmask:

BrowseAddress x.y.z.255

772 with context:
<Location />
Order Deny,Allow
Deny From All
Allow From
Allow From 192.168.123.*

Can someone give me a pointer?

Changes list indicates a number of configuration changes. In my case, the easiest thing to do was to purge cupsys, then reinstall. Then all was OK.


fn:W Paul Mills
n:Mills;W Paul
org:The Mills Chaos In The USA
note:Hint: remove -NOT

Reply to: