Distro: Debian etch
- installed basic system from net install cd then manually installed xserver, gdm, and gnome using apt
Using the information from http://users.cybercity.dk/~dko12479/ I tried to install drivers for my lexmark printer. the first one installed without a hitch,but the second one returned an error. Now any time i try to use apt to install or remove something i get an error message and my requested operation does not complete. makeing the .deb did not generate an error
(Reading database ... 68102 files and directories currently installed.)
Preparing to replace lexmark-z700-cups-driver 1.1.1-2 (using lexmark-z700-cups-driver_1.1.1-1_i386.deb) ...
Unpacking replacement lexmark-z700-cups-driver ...
/var/lib/dpkg/info/lexmark-z700-cups-driver.postrm: line 2: /etc/init.d/cups: No such file or directory
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: line 2: /etc/init.d/cups: No such file or directorydpkg: error processing lexmark-z700-cups-driver_1.1.1-1_i386.deb (--install):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: line 2: /etc/init.d/cups: No such file or directorydpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
apt error: (when trying to install anything)
Reading package lists... Done
Building dependency tree... Done
E: The package lexmark-z700-cups-driver needs to be reinstalled, but I can't find an archive for it.
P.S. did not install from source
Have you tried doing what the error message says and tried to reinstall the driver that errored out?
yes, i tried reinstalling and also remaking with alien and reinstalling
This is the method i tried for Ubuntu and it worked fine