BROTHER hll2320d DRIVER INSTALL FAILURE

Joined
Jan 27, 2022
Messages
2
I have a glitch in my build of Ubuntu 18.04. I'd appreciate help from any who may have similar experience.

IThere is a problem loading the Brother hll2320d printer driver
Error msg;
"Sorry, something went wrong:
failed to resolve package_ids: E: The package hll2320dlpr:i386 needs to be reinstalled, but I can't find an archive for it"

I located 4 instances of printer driver debs in Downloads and moved them to /var/cache/apt/archives successfully.
Then ran

sudo apt install --reinstall hll2320dlpr
"Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package hll2320dlpr:i386 needs to be reinstalled, but I can't find an archive for it."

then ran
sudo bash linux-brprinter-installer-2.2.3-1 hll2320d

which produced the following log;

You are going to install following packages.
hll2320dlpr-3.2.0-1.i386.deb
hll2320dcupswrapper-3.2.0-1.i386.deb
OK? [y/N] ->y

(omit EULA)

wget -T 10 -nd --no-cache https://download.brother.com/pub/com/linux/linux/packages/hll2320dcupswrapper-3.2.0-1.i386.deb
--2022-01-26 20:49:13-- https://download.brother.com/pub/com/linux/linux/packages/hll2320dcupswrapper-3.2.0-1.i386.deb
Resolving download.brother.com (download.brother.com)... 104.117.232.235
Connecting to download.brother.com (download.brother.com)|104.117.232.235|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18982 (19K) [text/plain]
Saving to: ‘hll2320dcupswrapper-3.2.0-1.i386.deb’

hll2320dcupswrapper-3.2.0-1.i386.d 100%[================================================================>] 18.54K --.-KB/s in 0.008s

2022-01-26 20:49:13 (2.33 MB/s) - ‘hll2320dcupswrapper-3.2.0-1.i386.deb’ saved [18982/18982]

Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu bionic InRelease
Hit:5 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu bionic InRelease
Hit:2 https://packagecloud.io/AtomEditor/atom/any any InRelease
Hit:6 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu xenial InRelease
Hit:7 http://ppa.launchpad.net/jonathonf/meson/ubuntu bionic InRelease
Hit:8 http://ppa.launchpad.net/jonathonf/meson/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/jonathonf/vlc-3/ubuntu bionic InRelease
Hit:10 http://ppa.launchpad.net/jonathonf/vlc-3/ubuntu xenial InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package hll2320dlpr:i386 needs to be reinstalled, but I can't find an archive for it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package hll2320dlpr:i386 needs to be reinstalled, but I can't find an archive for it.
dpkg -x hll2320dlpr-3.2.0-1.i386.deb /
dpkg -x hll2320dcupswrapper-3.2.0-1.i386.deb /
(Reading database ... 224407 files and directories currently installed.)
Removing hll2320dcupswrapper:i386 (3.2.0-1) ...
Purging configuration files for hll2320dcupswrapper:i386 (3.2.0-1) ...
dpkg-deb: building package 'hll2320dlpr' in 'hll2320dlpr-3.2.0-1a.i386.deb'.
dpkg -b ./brother_driver_packdir hll2320dlpr-3.2.0-1a.i386.deb
dpkg-deb: building package 'hll2320dcupswrapper' in 'hll2320dcupswrapper-3.2.0-1a.i386.deb'.
dpkg -b ./brother_driver_packdir hll2320dcupswrapper-3.2.0-1a.i386.deb
dpkg -i --force-all hll2320dlpr-3.2.0-1a.i386.deb
(Reading database ... 224405 files and directories currently installed.)
Preparing to unpack hll2320dlpr-3.2.0-1a.i386.deb ...
Unpacking hll2320dlpr:i386 (3.2.0-1) over (3.2.0-1) ...
dpkg: warning: old hll2320dlpr:i386 package post-removal script subprocess returned error exit status 5
dpkg: trying script from the new package instead ...
dpkg: error processing archive hll2320dlpr-3.2.0-1a.i386.deb (--install):
new hll2320dlpr:i386 package post-removal script subprocess returned error exit status 5
dpkg: error while cleaning up:
new hll2320dlpr:i386 package post-removal script subprocess returned error exit status 5
Errors were encountered while processing:
hll2320dlpr-3.2.0-1a.i386.deb
dpkg -i --force-all hll2320dcupswrapper-3.2.0-1a.i386.deb
Selecting previously unselected package hll2320dcupswrapper:i386.
(Reading database ... 224405 files and directories currently installed.)
Preparing to unpack hll2320dcupswrapper-3.2.0-1a.i386.deb ...
Unpacking hll2320dcupswrapper:i386 (3.2.0-1) ...
Setting up hll2320dcupswrapper:i386 (3.2.0-1) ...
lpadmin -p HLL2320D -E -v usb://Brother/HL-L2320D%20series?serial=U63877K6N185660 -P /usr/share/ppd/brother/brother-HLL2320D-cups-en.ppd
#
Will you specify the Device URI? [Y/n] ->n


This install glitch has effectively halted not only the printer install but all installs of other programs and upgrade to 20.04.

I would greatly appreciate help with this issue.
 
Joined
Jan 27, 2022
Messages
2
WHAT I DID

sudo mv /var/lib/dpkg/info/hll2320dlpr.* /tmp/

sudo dpkg --remove --force-remove-reinstreq hll2320dlpr

I had to remove the half-installed packages by forcing dependencies.

sudo dpkg --remove --force-remove-reinstreq --force-depends hll2320dlpr
sudo apt-get remove hll2320dlpr

sudo apt-get autoremove && sudo apt-get autoclean

It Worked! No problem now installing other packages.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top