Brother mcf 8840d package uninstall

Asked by Thomas Galletly

I have a Brother 8840D MCF printer and Ununtu 12.4 does not reconize it. I found a package and tried to install it but it failed. Now Ubuntu cannot complete the install or remove the package. When I try to run system cleanup the program fails to remove the package.

I really need some help as I can't print anything using Ubuntu.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

lsb_release -a; uname -a; lsusb

Thanks

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
Thomas Galletly (galletly) said :
#3

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Linux desertdog62-System-Product-Name 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 04cc:1521 ST-Ericsson USB 2.0 Hub
Bus 005 Device 002: ID 045e:071d Microsoft Corp.
Bus 005 Device 003: ID 046d:0a02 Logitech, Inc. Premium Stereo USB Headset 350
Bus 007 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
Bus 003 Device 004: ID 041e:406a Creative Technology, Ltd

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

mkdir ~/brotherdriver
cd ~/brotherdriver
wget http://www.brother.com/pub/bsc/linux/dlf/mfc8840dlpr-1.1.2-1.i386.deb
sudo dpkg -i mfc8840dlpr-1.1.2-1.i386.deb
wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperMFC8840D-1.0.2-1.i386.deb
sudo dpkg -i ./cupswrapperMFC8840D-1.0.2-1.i386.deb
cd $HOME
sudo apt-get -f install

HTH

Revision history for this message
Thomas Galletly (desertdog62) said :
#5

desertdog62@desertdog62-System-Product-Name:~$ mkdir ~/brotherdriver
mkdir: cannot create directory `/home/desertdog62/brotherdriver': File exists
desertdog62@desertdog62-System-Product-Name:~$ cd ~/brotherdriver
desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ wget http://www.brother.com/pub/bsc/linux/dlf/mfc8840dlpr-1.1.2-1.i386.deb
--2012-06-18 09:56:44-- http://www.brother.com/pub/bsc/linux/dlf/mfc8840dlpr-1.1.2-1.i386.deb
Resolving www.brother.com (www.brother.com)... 63.80.242.49, 63.80.242.27
Connecting to www.brother.com (www.brother.com)|63.80.242.49|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://pub.brother.com/pub/com/bsc/linux/dlf/mfc8840dlpr-1.1.2-1.i386.deb [following]
--2012-06-18 09:56:44-- http://pub.brother.com/pub/com/bsc/linux/dlf/mfc8840dlpr-1.1.2-1.i386.deb
Resolving pub.brother.com (pub.brother.com)... 63.80.242.26, 63.80.242.49
Reusing existing connection to www.brother.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 28906 (28K) [text/plain]
Saving to: `mfc8840dlpr-1.1.2-1.i386.deb.1'

100%[======================================>] 28,906 --.-K/s in 0.1s

2012-06-18 09:56:45 (194 KB/s) - `mfc8840dlpr-1.1.2-1.i386.deb.1' saved [28906/28906]

desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ sudo dpkg -i mfc8840dlpr-1.1.2-1.i386.deb
[sudo] password for desertdog62:
Sorry, try again.
[sudo] password for desertdog62:
Sorry, try again.
[sudo] password for desertdog62:
Selecting previously unselected package mfc8840dlpr:i386.
(Reading database ... 235783 files and directories currently installed.)
Preparing to replace mfc8840dlpr:i386 1.1.2-1 (using mfc8840dlpr-1.1.2-1.i386.deb) ...
Unpacking replacement mfc8840dlpr:i386 ...
/var/lib/dpkg/info/mfc8840dlpr.postrm: 3: /var/lib/dpkg/info/mfc8840dlpr.postrm: /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: /var/lib/dpkg/tmp.ci/postrm: /etc/init.d/lpd: not found
dpkg: error processing mfc8840dlpr-1.1.2-1.i386.deb (--install):
 subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: 3: /var/lib/dpkg/tmp.ci/postrm: /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:
 mfc8840dlpr-1.1.2-1.i386.deb

Revision history for this message
Thomas Galletly (desertdog62) said :
#6

desertdog62@desertdog62-System-Product-Name:~$ ln -s /etc/init.d/cups /etc/init.d/lpd
ln: failed to create symbolic link `/etc/init.d/lpd': File exists
I still can't install the printer

desertdog62@desertdog62-System-Product-Name:~$ mkdir /var/spool/lpd
mkdir: cannot create directory `/var/spool/lpd': Permission denied
desertdog62@desertdog62-System-Product-Name:~$ lppasswd -g sys -a root
lppasswd: Only root can add or delete passwords.
desertdog62@desertdog62-System-Product-Name:~$ sudo aa-complain cupsd
[sudo] password for desertdog62:
Setting /etc/apparmor.d/usr.sbin.cupsd to complain mode.
desertdog62@desertdog62-System-Product-Name:~$ sudo mkdir /usr/share/cups/model
mkdir: cannot create directory `/usr/share/cups/model': File exists
desertdog62@desertdog62-System-Product-Name:~$ ln -s /etc/init.d/cups /etc/init.d/lpd
ln: failed to create symbolic link `/etc/init.d/lpd': File exists
desertdog62@desertdog62-System-Product-Name:~$ mkdir /var/spool/lpd
mkdir: cannot create directory `/var/spool/lpd': Permission denied
desertdog62@desertdog62-System-Product-Name:~$ ia32-libs or lib32stdc++
ia32-libs: command not found

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

duplicate of https://answers.launchpad.net/ubuntu/+source/cups/+question/200800
has been solved there - please mark as solved.

Revision history for this message
Thomas Galletly (desertdog62) said :
#8

This problem was solved in question 200800. Thank you for your help

Revision history for this message
Thomas Galletly (desertdog62) said :
#9

Thank you for all your help. I did not find the option to show this
problem solved. I opened a new Question #201660 because I cannot connect
to the printer. Even though Ubuntu shows the printer and the jobs in the
cue it does not print them. When I tried following step 5a on the
Brother site, I was never given the option to choose the brother
printer. It only showed 2 HP and one other brand printer,

Thanks again,

Tom

On 06/26/2012 10:51 PM, Manfred Hampl wrote:
> Question #198487 on software-center in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/198487
>
> Manfred Hampl requested more information:
> duplicate of https://answers.launchpad.net/ubuntu/+source/cups/+question/200800
> has been solved there - please mark as solved.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10
Revision history for this message
Thomas Galletly (desertdog62) said :
#11

Problem Closed

Can you help with this problem?

Provide an answer of your own, or ask Thomas Galletly for more information if necessary.

To post a message you must log in.