CUPS is broken after 9.04 -> 9.10 distribution upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cups
1) Ubuntu 9.10 "Karmic Koala" amd64
2) cups version : 1.3.11-2ubuntu1
3) After upgrade, my printer is not detected. I expect my printer to get detected (scx4200).
4) If I go to "System -> Preferences -> Default printer, I get a warning message (popup) saying : (CUPS server Error) The CUPS scheduler is not running. So I googled and found some commands to gather details :
>sudo /etc/init.d/cups status
Status of Common Unix Printing System: cupsd is not running.
Then I try to restart the cups server with :
>sudo /etc/init.d/cupsys restart
sudo: /etc/init.d/cupsys: command not found
Another try :
>cupsd
cupsd: Child exited on signal 15!
I have included the trace of the command (see attached file) :
>sudo strace -fv -o /tmp/trace /usr/sbin/cupsd
Any clue as to what is going on? My CUPS used to work perfectly before the dist upgrade to the Karmic Koala.
Many thanks!
As I needed to print, I tried to repair this problem. First I copied an old cupsd.conf file I had in place of the updated one. No success. Then I replaced all of my /etc/cups folder with the one I had from a Ubuntu 9.04 backup. Still same Child exited on signal 15! error.
Then I went in Synaptic and removed everything that was linked to CUPS. Purge all files that I found using "sudo find / . -name cups". Reinstalled CUPS from Synaptic : no success! But the error message was now "Child exited on signal 1!".
The final and successful solution was to download the latest CUPS source from their website and then make installing it. But it seems I lost the print notification in the system tray when I print. Well, at least it prints!