Yes, something is definetly wrong with the LPR. I've installed it in Xubuntu and Ubuntu and both same with the same error. Here is exactly what I did in the terminal:
Code:
brett@brett-xubuntu:~$ sudo apt-get install csh
Password:
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
csh
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 239kB of archives.
After unpacking, 393kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com dapper/universe csh 20050313-1 [239kB]
Fetched 239kB in 1s (125kB/s)
Selecting previously deselected package csh.
(Reading database ... 59957 files and directories currently installed.)
Unpacking csh (from .../csh_20050313-1_i386.deb) ...
Setting up csh (20050313-1) ...
brett@brett-xubuntu:~$ sudo mkdir /var/spool/lpd
brett@brett-xubuntu:~$ sudo mkdir /var/spool/lpd/MFC8440
brett@brett-xubuntu:~$ sudo dpkg -i ~/Desktop/mfc8440/mfc8440lpr-1.1.2-1.i386.deb
Selecting previously deselected package mfc8440lpr.
(Reading database ... 59966 files and directories currently installed.)
Unpacking mfc8440lpr (from .../mfc8440lpr-1.1.2-1.i386.deb) ...
Setting up mfc8440lpr (1.1.2-1) ...
/var/lib/dpkg/info/mfc8440lpr.postinst: line 4: /etc/init.d/lpd: No such file or directory
dpkg: error processing mfc8440lpr (--install):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
mfc8440lpr
Why is it having problems with /etc/init.d/lpd???
And then it had problems removing it:
Code:
brett@brett-xubuntu:~$ sudo aptitude remove mfc8440lpr
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages will be REMOVED:
mfc8440lpr
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
(Reading database ... 59979 files and directories currently installed.)
Removing mfc8440lpr ...
/var/lib/dpkg/info/mfc8440lpr.postrm: line 3: /etc/init.d/lpd: No such file or directory
dpkg: error processing mfc8440lpr (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
mfc8440lpr
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Last time to remove this exact same error, I had to rename /var/lib/dpkg/info/mfc8440lpr.postrm so aptitude or dpkg could not find it.
This is the code:
Code:
$ sudo mv /var/lib/dpkg/info/mfc8440lpr.postrm /var/lib/dpkg/info/mfc8440lpr.postrm-bak
$ sudo dpkg --purge mfc8440lpr
Can't say I'm not confused or at a loss.