CUPS install/reinstall causes Ubuntu 11 to hang

1

I'm having a terrible time with CUPS. I've read every thread about this issue that I can find and none seem to help in the slightest.

 ely@zaffpants:~$ sudo dpkg --configure -a
 ely@zaffpants:~$ sudo apt-get install -f
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 The following packages were automatically installed and are no longer required:
   libgpg-error-dev comerr-dev libkrb5-dev libgssrpc4 libtasn1-3-dev
   libgcrypt11-dev libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libgnutls-dev
   krb5-multidev
 Use 'apt-get autoremove' to remove them.
 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
 ely@zaffpants:~$ sudo apt-get purge cups
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 The following packages were automatically installed and are no longer required:
   libgpg-error-dev comerr-dev libkrb5-dev libgssrpc4 libtasn1-3-dev
   libgcrypt11-dev libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libgnutls-dev
   krb5-multidev
 Use 'apt-get autoremove' to remove them.
 The following packages will be REMOVED:
   cups* cups-driver-gutenprint*
 0 upgraded, 0 newly installed, 2 to remove and 19 not upgraded.
 After this operation, 9,331 kB disk space will be freed.
 Do you want to continue [Y/n]? Y
 (Reading database ... 366943 files and directories currently installed.)
 Removing cups-driver-gutenprint ...
 reload: Not running
 invoke-rc.d: initscript cups, action "force-reload" failed.
 Purging configuration files for cups-driver-gutenprint ...
 Removing cups ...
 Purging configuration files for cups ...
 dpkg: warning: while removing cups, directory '/etc/cups/ssl' not empty so not removed.
 dpkg: warning: while removing cups, directory '/etc/cups' not empty so not removed.
 Processing triggers for man-db ...
 Processing triggers for doc-base ...
 Processing 1 removed doc-base file(s)...
 Registering documents with scrollkeeper...
 Processing triggers for ureadahead ...
 Processing triggers for ufw ...
 ely@zaffpants:~$ sudo rm -rf /etc/cups
 ely@zaffpants:~$ 
 ely@zaffpants:~$ sudo apt-get install cups
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 The following packages were automatically installed and are no longer required:
   libgpg-error-dev comerr-dev libkrb5-dev libgssrpc4 libtasn1-3-dev libgcrypt11-dev      libkadm5clnt-mit7 libkadm5srv-mit7
   libkdb5-4 libgnutls-dev krb5-multidev
 Use 'apt-get autoremove' to remove them.
 The following extra packages will be installed:
   cups-driver-gutenprint
 Suggested packages:
   cups-bsd hplip cups-pdf gutenprint-doc gutenprint-locales
 The following NEW packages will be installed:
   cups cups-driver-gutenprint
 0 upgraded, 2 newly installed, 0 to remove and 19 not upgraded.
 Need to get 0 B/2,411 kB of archives.
 After this operation, 9,331 kB of additional disk space will be used.
 Do you want to continue [Y/n]? Y
 Preconfiguring packages ...
 Selecting previously deselected package cups.
 (Reading database ... 365981 files and directories currently installed.)
 Unpacking cups (from .../cups_1.4.6-5ubuntu1.2_amd64.deb) ...
 Selecting previously deselected package cups-driver-gutenprint.
 Unpacking cups-driver-gutenprint (from .../cups-driver-gutenprint_5.2.6-1ubuntu1_amd64.deb) ...
 Processing triggers for ureadahead ...
 Processing triggers for ufw ...
 Processing triggers for doc-base ...
 Processing 1 added doc-base file(s)...
 Registering documents with scrollkeeper...
 Processing triggers for man-db ...
 Setting up cups (1.4.6-5ubuntu1.2) ...

At this point, it just hangs. I can't kill the process, I can only manually close the terminal or restart the machine. If I open Synaptic and do all of this through Synaptic, I get the exact same hang error at exactly the same place.

Any ideas? I really am at my wit's end here.

ely

Posted 2011-07-05T18:03:26.243

Reputation: 182

No answers