Brother MFC-J4420DW 64-bit install succeeded neglect multimediacodecs and/or create directory /var/spool/lpd/mfcj4420dw

Forum rules
Before you post please read this
Post Reply
Haas
Level 1
Level 1
Posts: 1
Joined: Wed Jan 17, 2018 5:10 am

Brother MFC-J4420DW 64-bit install succeeded neglect multimediacodecs and/or create directory /var/spool/lpd/mfcj4420dw

Post by Haas » Wed Jan 17, 2018 5:45 am

This is not so much a question as two tips on how to succesfully install a Brother MFC-J4420DW printer on 64bit Linux Mint 18.3 xfce. I struggled with it for a couple of days, but now everything works fine.
I used Pjotr's script at https://sites.google.com/site/easylinuxtipsproject/15. This didn't seem to work. The printer did not react to test prints (nor print commands from other applications).
Eventually I decided to take a closer look at the outcome of
"bash linux-brprinter-installer-2.2.0-1 MFC-J4420DW"
When I looked at the output from the terminal, I found out that a part of the installation of ia32-lib caused problems:
Quote:
"libavformat-ffmpeg56 : Depends: libavcodec-ffmpeg56 (>= 7:2.7) but it is not going to be installed or
libavcodec-ffmpeg-extra56 (>= 7:2.7) but it is not going to be installed
libchromaprint0 : Depends: libavcodec-ffmpeg56 (>= 7:2.4) but it is not going to be installed or
libavcodec-ffmpeg-extra56 (>= 7:2.4) but it is not going to be installed
libopencv-highgui2.4v5 : Depends: libavcodec-ffmpeg56 (>= 7:2.4) but it is not going to be installed or
libavcodec-ffmpeg-extra56 (>= 7:2.4) but it is not going to be installed
vlc-nox : Depends: libavcodec-ffmpeg56 (>= 7:2.4) but it is not going to be installed or
libavcodec-ffmpeg-extra56 (>= 7:2.4) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
(...)
The following packages have unmet dependencies:
lib32stdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.4) but 5.4.0-6ubuntu1~16.04.5 is to be installed
E: Unable to correct problems, you have held broken packages."

Triggered by the term 'libavcodec' I decided it could be useful to do a fresh install and leave out the 'install multimedia codecs' during installation. So when I started over again I first installed the printer and after that installed the multimedia codecs.

My second trigger was a failure to create the proper directory for lpd.

Quote:
""mkdir: cannot create directory ‘/var/spool/lpd/mfcj4420dw’: No such file or directory
chown: cannot access '/var/spool/lpd/mfcj4420dw': No such file or directory
chgrp: cannot access '/var/spool/lpd/mfcj4420dw': No such file or directory
chmod: cannot access '/var/spool/lpd/mfcj4420dw': No such file or directory
dpkg -i --force-all mfcj4420dwcupswrapper-3.0.1-1a.i386.deb"

It seemed as if the script was unable to make this directory. Possibly because in fact it should make TWO directories. I looked into it and found that /var/spool/lpd did not exist. So I figured, may be that was the reason it was not possible to create /var/spool/lpd/mfcj4420dw. So the second thing I did was make this directory myself before installing the printer.

Now everything works fine.

I'm only not sure if both these things (not installing multimedia codecs durting install AND creating the lpd directory) are necessary. However, being a newbie I'm more than happy I resolved the problem.

User avatar
Pierre
Level 16
Level 16
Posts: 6127
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Brother MFC-J4420DW 64-bit install succeeded ..

Post by Pierre » Wed Jan 17, 2018 9:34 am

at least you got the printer working.
:D

and sometimes, the answer is as simple as what you tried out,
& whereas some of us would have found a more convoluted method & have that fail at the first hurdle.

Well Done.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

Post Reply

Return to “Printers & Scanners”