The following packages will be upgraded: cupsys 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 27 not fully installed or removed. Need to get 0B/1557kB of archives. After unpacking 496kB of additional disk space will be used. Do you want to continue [Y/n]? y Preconfiguring packages ... (Reading database ... 106216 files and directories currently installed.) Preparing to replace cupsys 1.2.5-1ubuntu1 (using .../cupsys_1.2.7-1ubuntu1_i386.deb) ... Document `cupsys' is not installed, cannot remove. invoke-rc.d: initscript cupsys, action "stop" failed. dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... invoke-rc.d: initscript cupsys, action "stop" failed. dpkg: error processing /var/cache/apt/archives/cupsys_1.2.7-1ubuntu1_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 1 invoke-rc.d: initscript cupsys, action "start" failed. dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/cupsys_1.2.7-1ubuntu1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)