Following apt-get upgrade I get errors with cupsys. Cupsys won't install because of an error supposed to be solved with dpkg-reconfigure but dpkg won't reconfigure because cupsys not fully installed:
Code:
Errors were encountered while processing:
cupsys
cupsys-driver-gutenprint
cupsys-driver-gimpprint
localepurge: Disk space freed in /usr/share/locale: 55240K
localepurge: Disk space freed in /usr/share/man: 2300K
Total disk space freed by localepurge: 57540K
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@desktop:/home/crashedagain# dpkg-reconfigure cupsys
/usr/sbin/dpkg-reconfigure: cupsys is broken or not fully installed
root@desktop:/home/crashedagain# 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 84 not upgraded.
3 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.1.23-14) ...
Illegal port value for CUPS. Please correct this by running 'dpkg-reconfigure cupsys'.
dpkg: error processing cupsys (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cupsys-driver-gutenprint:
cupsys-driver-gutenprint depends on cupsys (>= 1.1.23) | cups (>= 1.1.23); however:
Package cupsys is not configured yet.
Package cups is not installed.
dpkg: error processing cupsys-driver-gutenprint (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cupsys-driver-gimpprint:
cupsys-driver-gimpprint depends on cupsys-driver-gutenprint (>= 4.3.99+cvs20051122.dfsg.1-2); however:
Package cupsys-driver-gutenprint is not configured yet.
dpkg: error processing cupsys-driver-gimpprint (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cupsys
cupsys-driver-gutenprint
cupsys-driver-gimpprint
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@desktop:/home/crashedagain#
How do I get out of this loop? I have already tried apt-get -f install. I have no idea what the "illegal port value" is or where it came from, everything WAS working. How do I track it down?