HPlip -3.20.9 loopt vast bij het installeren

Asked by Marc Dullaers

I have a problem installing an HP Deskjet 2540 in Linux Mint 20 Cinnamon. The printer is seen by the system but is not responding. It is connected over USB. When I tried to install the latest HPlip version (hplip 3.20.9.run) this one stops at the "RUNNING HPLIP LIBS REMOVE COMMANDS" sudo apt-get remove libhmud0 libsane-hpaio.
How can I proceed with the installation.

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

What happens if you execute the command

sudo apt-get remove libhmud0 libsane-hpaio

manually and then re-try the installation?

Revision history for this message
Marc Dullaers (madu2013) said :
#2

When I try to execute manually it reply's that Libmud0 could not be found.
when I retry the installation it stops at the same point.
In the mean time I've tried to connect another HP printer (model Deskjet 3524) and this one worked immediately.
When I connect the Deskjet 2540 to another laptop also with Linux Mint 20 Cinnamon the printer is connected but when I want to print the test page, it responds with the message 'printer is probably not connected'
when I run 'lsusb' in the terminal the device is listed as "Bus 003 Device 006: ID 03f0:c211 HP, Inc Deskjet 2540 series.
Any suggestions what could be the cause of the problem.

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

Please provide the full output (as far as possible).

Revision history for this message
Marc Dullaers (madu2013) said :
#4

marc@marc-K53SD:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 03f0:c211 HP, Inc Deskjet 2540 series
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 058f:a014 Alcor Micro Corp. Asus Integrated Webcam
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
marc@marc-K53SD:~$

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

What is the full output of the commands

sudo apt-get remove libhmud0 libsane-hpaio
sudo apt-get install hplip hplip-gui

Revision history for this message
Marc Dullaers (madu2013) said :
#7

this is the output for the first command:

chris@chris-X756UAK:~$ sudo apt-get remove libhmud0 libsane-hpaio
[sudo] wachtwoord voor chris:
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
E: Kan pakket libhmud0 niet vinden
chris@chris-X756UAK:~$

and this for the second:

chris@chris-X756UAK:~$ sudo apt-get install hplip hplip-gui
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
hplip is reeds de nieuwste versie (3.20.3+dfsg0-2).
hplip-gui is reeds de nieuwste versie (3.20.3+dfsg0-2).
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 10 niet opgewaardeerd.
chris@chris-X756UAK:~$

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

"en 10 niet opgewaardeerd."

What output do you receive for

sudo apt update
sudo apt full-upgrade

And back to your initial question
... this one stops at the "RUNNING HPLIP LIBS REMOVE COMMANDS"
sudo apt-get remove libhmud0 libsane-hpaio. ...

Are you sure that it said libhmud0 and not libhpmud0?

Revision history for this message
Marc Dullaers (madu2013) said :
#9

Output for sudo apt update

chris@chris-X756UAK:~$ sudo apt update
[sudo] wachtwoord voor chris:
Genegeerd:1 http://mirrors.evowise.com/linuxmint/packages ulyana InRelease
Geraakt:2 http://files.eid.belgium.be/debian ulyana InRelease
Geraakt:3 http://files2.eid.belgium.be/debian ulyana InRelease
Geraakt:4 http://dl.google.com/linux/chrome/deb stable InRelease
Geraakt:5 http://mirrors.evowise.com/linuxmint/packages ulyana Release
Geraakt:6 http://archive.ubuntu.com/ubuntu focal InRelease
Geraakt:7 https://linux.teamviewer.com/deb stable InRelease
Ophalen:9 http://archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Ophalen:10 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98,3 kB]
Ophalen:11 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Geraakt:12 http://archive.canonical.com/ubuntu focal InRelease
Ophalen:13 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [362 kB]
Ophalen:14 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [145 kB]
Ophalen:15 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [350 kB]
Ophalen:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [631 kB]
Ophalen:17 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [79,9 kB]
Ophalen:18 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [66,5 kB]
Ophalen:19 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [10,9 kB]
Ophalen:20 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [509 kB]
Ophalen:21 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [683 kB]
3.155 kB opgehaald in 2s (1.665 kB/s)
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
10 pakketten kunnen opgewaardeerd worden. Voer 'apt list --upgradable' uit om ze te zien.
chris@chris-X756UAK:~$

this is the outcome for the second and the 'apt list -- upgradable' instruction

chris@chris-X756UAK:~$ sudo apt full-upgrade
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
Opwaardering wordt doorgerekend... Klaar
De volgende pakketten zijn achtergehouden:
  grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub-pc grub-pc-bin
  grub2-common linux-generic linux-headers-generic linux-image-generic
  linux-libc-dev
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 10 niet opgewaardeerd.
chris@chris-X756UAK:~$ apt list --upgradable
Bezig met oplijsten... Klaar
grub-common/focal-updates 2.04-1ubuntu26.6 amd64 [opwaardeerbaar van: 2.04-1ubuntu26.4]
grub-efi-amd64-bin/focal-updates 2.04-1ubuntu26.6 amd64 [opwaardeerbaar van: 2.04-1ubuntu26.4]
grub-efi-amd64-signed/focal-updates 1.142.8+2.04-1ubuntu26.6 amd64 [opwaardeerbaar van: 1.142.6+2.04-1ubuntu26.4]
grub-pc-bin/focal-updates 2.04-1ubuntu26.6 amd64 [opwaardeerbaar van: 2.04-1ubuntu26.4]
grub-pc/focal-updates 2.04-1ubuntu26.6 amd64 [opwaardeerbaar van: 2.04-1ubuntu26.4]
grub2-common/focal-updates 2.04-1ubuntu26.6 amd64 [opwaardeerbaar van: 2.04-1ubuntu26.4]
linux-generic/focal-updates,focal-security 5.4.0.52.55 amd64 [opwaardeerbaar van: 5.4.0.48.51]
linux-headers-generic/focal-updates,focal-security 5.4.0.52.55 amd64 [opwaardeerbaar van: 5.4.0.48.51]
linux-image-generic/focal-updates,focal-security 5.4.0.52.55 amd64 [opwaardeerbaar van: 5.4.0.48.51]
linux-libc-dev/focal-updates,focal-security 5.4.0-52.57 amd64 [opwaardeerbaar van: 5.4.0-48.52]
chris@chris-X756UAK:~$

In regard to my original question it said :

RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
sudo apt-get remove libhpmud0 libsane-hpaio

Revision history for this message
brian_p (claremont102) said :
#10
Revision history for this message
Marc Dullaers (madu2013) said :
#11

OK, thanks Brian.

This solved the printer problem. It is printing now but scanning does not work yet.

Revision history for this message
Marc Dullaers (madu2013) said :
#12

Hi Manfred,
this time I have removed the correct file libhpmud0 and libsane-hpaio manually, and that worked. After that, I retried the installation and this time there were no more problems.

After this installation I was even able to scan a document. So for me the problem is solved, but I still do not know why the automatic removal of the files was not possible.

Anyway thank you both for the assistance.

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

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