Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a problem installing drivers for my DCP-1400 printer. I am using Ubuntu 11.10 and am new to Ubuntu and Linux in general. I downloaded the lpr and cupswrapper files from the Brother linux site into my Download directory.
I next run Terminal and switch to the Downloads directory. At the prompt I type in the following:

sudo dpkg -i --force-all dcp1400lpr-1.1.2-1.386.deb

It asks for my password which I type in and press Enter. I get the following errors:

(Reading database ... 155195 files and directories currently installed.)
Preparing to replace dcp1400lpr 1.1.2-1 (using dcp1400lpr-1.1.2-1.i386.deb) ...
Unpacking replacement dcp1400lpr ...
/var/lib/dpkg/info/dcp1400lpr.postrm: 3: /etc/init.d/lpd: not found
dpkg: warning: subprocess old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: 3: /etc/init.d/lpd: not found
dpkg: error processing dcp1400lpr-1.1.2-1.i386.deb (--install):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: 3: /etc/init.d/lpd: not found
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 127
Errors were encountered while processing:
dcp1400lpr-1.1.2-1.i386.deb

I now notice when I open the Synaptics package manager I get the message: E: The package dcp1400lpr needs to be reinstalled, but I can't find an archive for it. E: Internal error opening cache (1). Please report. Any help provided would be appreciated. Thank you TB

share|improve this question
Can you check with dpkg -l | grep brother-lpr-driver what brother related packages are installed. – mikewhatever Apr 16 '12 at 2:49
Hello @mikewhatever and thank you for replying. In the terminal window, without changing the directory from the one initially shown (toddb@toddb-hp-zd8000:~$) I typed in the command who specified. Nothing was shown after I pressed Enter. – ToddB Apr 17 '12 at 2:09
Try removing the package with sudo dpkg -r dcp1400lpr, and then install the driver from the repositories: sudo apt-get install brother-lpr-drivers-laser1 – mikewhatever Apr 17 '12 at 4:32
Hello @mikewhatever and thank you again for replying. I tried to remove the package but could not. Instead I just reinstalled Ubuntu from my Install CD and am starting over. I installed Synaptics Package Manager and I see these are shown in. When I get a chance, I will try this method. Please consider this issue closed. – ToddB Apr 19 '12 at 4:50

closed as too localized by Marco Ceppi Aug 13 '12 at 11:23

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.