I upgraded HPLIPS. Printer now not working

Asked by Charlene

I have HP officejet 4500. I upgraded HPLIPS. Printer now not working "Stopped - File /usr/lib/cups/filter/hpcups not available. No such file or directory." I copied a command for a similar issue - TypeError: exception() takes exactly 1 argument (2

Question information

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

Details, please!

Which Ubuntu release are you running, how did you upgrade HPLIP (without S, at least I assume that this is what you are talking about), which printer make and model, which command did you try, etc.

Revision history for this message
Charlene (charlkc) said :
#2

Thank you so much for your reply.
I have used your questions to answer*Which Ubuntu release are you running, *
Linux Mint

*how did you upgrade HPLIP* (withoutS, at least I assume that this is what you are talking about),
I am so sorry, I have no clue what you are asking. I googled HP drivers for Linux and was directed to HPLIP

*which printer make and model*,
HP Officejet 4500

which command did you try, etc.
sudo apt-get update; sudo apt-get install hplip; lsmod | grep usb ; lsusb ; ls -l /dev/usb/lp* /dev/bus/usb/*/* ; hp-info -i; lpinfo -v; sudo usb_printerid /dev/usb/lp0; hp-doctor

*This is the full response*
charlene@charlene-TravelMate-5760 ~ $ sudo apt-get update; sudo apt-get install hplip; lsmod | grep usb ; lsusb ; ls -l /dev/usb/lp* /dev/bus/usb/*/* ; hp-info -i; lpinfo -v; sudo usb_printerid /dev/usb/lp0; hp-doctor
[sudo] password for charlene:
Hit:1 http://ppa.launchpad.net/audacity-team/daily/ubuntu xenial InRelease
Hit:2 https://linux.teamviewer.com/deb stable InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:4 http://packages.linuxmint.com serena InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:6 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease [17.5 kB]
Get:7 https://repo.skype.com/deb stable InRelease [4,502 B]
Hit:8 http://archive.canonical.com/ubuntu xenial InRelease
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Ign:10 http://download.ebz.epson.net/dsc/op/stable/debian lsb3.2 InRelease
Hit:11 http://packages.linuxmint.com serena Release
Get:12 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Err:7 https://repo.skype.com/deb stable InRelease
   The following signatures were invalid: KEYEXPIRED 1624268195 KEYEXPIRED 1624268195 KEYEXPIRED 1624268195
Ign:6 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Hit:14 http://ppa.launchpad.net/ubuntuhandbook1/audacity/ubuntu xenial InRelease
Hit:15 https://packages.microsoft.com/repos/ms-teams stable InRelease
Get:16 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Hit:17 http://download.ebz.epson.net/dsc/op/stable/debian lsb3.2 Release
Fetched 347 kB in 2s (164 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.skype.com/deb stable InRelease: The following signatures were invalid: KEYEXPIRED 1624268195 KEYEXPIRED 1624268195 KEYEXPIRED 1624268195
W: GPG error: http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 531EE72F4C9D234C
W: The repository 'http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://download.ebz.epson.net/dsc/op/stable/debian/dists/lsb3.2/Release.gpg: Signature by key E5220FB7014D0FBDA50DFC2BE5E86C008AA65D56 uses weak digest algorithm (SHA1)
W: Failed to fetch https://repo.skype.com/deb/dists/stable/InRelease The following signatures were invalid: KEYEXPIRED 1624268195 KEYEXPIRED 1624268195 KEYEXPIRED 1624268195
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
   alien at debugedit gir1.2-rsvg-2.0 libcairo-script-interpreter2
   libcairo2-dev libcdt5 libcgraph6 libdjvulibre-dev libfontconfig1-dev
   libgdk-pixbuf2.0-dev libglib2.0-dev libgraphviz-dev libgvc6
   libgvc6-plugins-gtk libgvpr2 libilmbase-dev libjpeg62 liblqr-1-0-dev
   libmagick++-6-headers libmagick++-6.q16-dev libmagickcore-6-arch-config
   libmagickcore-6-headers libmagickcore-6.q16-dev libmagickwand-6-headers
   libmagickwand-6.q16-dev libopenexr-dev libpathplan4 libpcre3-dev libpcre32-3
   libpcrecpp0v5 libpixman-1-dev librpmbuild3 librpmsign3 librsvg2-dev
   libxcb-render0-dev libxcb-shm0-dev libxdot4 libxrender-dev libxt-dev
   lsb-core lsb-security ncurses-term pax rpm x11proto-render-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
   cups cups-filters imagemagick libhpmud0 libsane-hpaio printer-driver-hpcups
Suggested packages:
   cups-pdf antiword docx2txt hplip-doc hplip-gui python3-notify2
   system-config-printer
Recommended packages:
   printer-driver-gutenprint liblouisutdml-bin | liblouis-bin
   printer-driver-postscript-hp
The following packages will be REMOVED:
   foomatic-filters graphicsmagick-imagemagick-compat
The following NEW packages will be installed:
   cups cups-filters hplip imagemagick libhpmud0 libsane-hpaio
   printer-driver-hpcups
0 upgraded, 7 newly installed, 2 to remove and 13 not upgraded.
Need to get 1,221 kB of archives.
After this operation, 6,010 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 imagemagick amd64 8:6.8.9.9-7ubuntu5.16 [44.9 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 cups-filters amd64 1.8.3-2ubuntu3.5 [447 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 cups amd64 2.1.3-4ubuntu0.11 [191 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libhpmud0 amd64 3.16.3+repack0-1 [107 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsane-hpaio amd64 3.16.3+repack0-1 [114 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 printer-driver-hpcups amd64 3.16.3+repack0-1 [252 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 hplip amd64 3.16.3+repack0-1 [65.6 kB]
Fetched 1,221 kB in 2s (527 kB/s)
Preconfiguring packages ...
dpkg: graphicsmagick-imagemagick-compat: dependency problems, but removing anyway as you requested:
  shutter depends on imagemagick; however:
   Package imagemagick is not installed.
   Package graphicsmagick-imagemagick-compat which provides imagemagick is to be removed.

(Reading database ... 1172812 files and directories currently installed.)
Removing graphicsmagick-imagemagick-compat (1.3.23-1ubuntu0.6) ...
Processing triggers for man-db (2.7.5-1) ...
Selecting previously unselected package imagemagick.
(Reading database ... 1172793 files and directories currently installed.)
Preparing to unpack .../imagemagick_8%3a6.8.9.9-7ubuntu5.16_amd64.deb ...
Unpacking imagemagick (8:6.8.9.9-7ubuntu5.16) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
dpkg: foomatic-filters: dependency problems, but removing anyway as you requested:
  printer-driver-pxljr depends on cups-filters (>= 1.0.42) | foomatic-filters (>= 4.0.0~bzr156); however:
   Package cups-filters is not installed.
   Package foomatic-filters is to be removed.
   Package cups-filters which provides foomatic-filters is not installed.

(Reading database ... 1172823 files and directories currently installed.)
Removing foomatic-filters (4.0.17-8) ...
Processing triggers for man-db (2.7.5-1) ...
Selecting previously unselected package cups-filters.
(Reading database ... 1172796 files and directories currently installed.)
Preparing to unpack .../cups-filters_1.8.3-2ubuntu3.5_amd64.deb ...
Unpacking cups-filters (1.8.3-2ubuntu3.5) ...
Selecting previously unselected package cups.
Preparing to unpack .../cups_2.1.3-4ubuntu0.11_amd64.deb ...
Unpacking cups (2.1.3-4ubuntu0.11) ...
Selecting previously unselected package libhpmud0:amd64.
Preparing to unpack .../libhpmud0_3.16.3+repack0-1_amd64.deb ...
Unpacking libhpmud0:amd64 (3.16.3+repack0-1) ...
Selecting previously unselected package libsane-hpaio:amd64.
Preparing to unpack .../libsane-hpaio_3.16.3+repack0-1_amd64.deb ...
Unpacking libsane-hpaio:amd64 (3.16.3+repack0-1) ...
Selecting previously unselected package printer-driver-hpcups.
Preparing to unpack .../printer-driver-hpcups_3.16.3+repack0-1_amd64.deb ...
Unpacking printer-driver-hpcups (3.16.3+repack0-1) ...
Selecting previously unselected package hplip.
Preparing to unpack .../hplip_3.16.3+repack0-1_amd64.deb ...
Unpacking hplip (3.16.3+repack0-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11.3) ...
Processing triggers for dbus (1.10.6-1ubuntu3.6) ...
Setting up imagemagick (8:6.8.9.9-7ubuntu5.16) ...
update-alternatives: using /usr/bin/compare-im6 to provide /usr/bin/compare (compare) in auto mode
update-alternatives: using /usr/bin/animate-im6 to provide /usr/bin/animate (animate) in auto mode
update-alternatives: using /usr/bin/convert-im6 to provide /usr/bin/convert (convert) in auto mode
update-alternatives: using /usr/bin/composite-im6 to provide /usr/bin/composite (composite) in auto mode
update-alternatives: using /usr/bin/conjure-im6 to provide /usr/bin/conjure (conjure) in auto mode
update-alternatives: using /usr/bin/import-im6 to provide /usr/bin/import (import) in auto mode
update-alternatives: using /usr/bin/identify-im6 to provide /usr/bin/identify (identify) in auto mode
update-alternatives: using /usr/bin/stream-im6 to provide /usr/bin/stream (stream) in auto mode
update-alternatives: using /usr/bin/display-im6 to provide /usr/bin/display (display) in auto mode
update-alternatives: using /usr/bin/montage-im6 to provide /usr/bin/montage (montage) in auto mode
update-alternatives: using /usr/bin/mogrify-im6 to provide /usr/bin/mogrify (mogrify) in auto mode
Setting up cups-filters (1.8.3-2ubuntu3.5) ...

Setting up cups (2.1.3-4ubuntu0.11) ...
Updating PPD files for cups ...
Setting up libhpmud0:amd64 (3.16.3+repack0-1) ...
Setting up libsane-hpaio:amd64 (3.16.3+repack0-1) ...
Setting up printer-driver-hpcups (3.16.3+repack0-1) ...
Setting up hplip (3.16.3+repack0-1) ...
Creating/updating hplip user account...
Processing triggers for libc-bin (2.23-0ubuntu11.3) ...
usblp 20480 0
btusb 45056 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 516096 10 bnep,ath3k,btbcm,btrtl,btusb,btintel
Bus 002 Device 003: ID 03f0:2d12 Hewlett-Packard
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 001 Device 003: ID 058f:b002 Alcor Micro Corp. Acer 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
crw-rw-r-- 1 root root 189, 0 Nov 4 18:08 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 1 Nov 4 18:08 /dev/bus/usb/001/002
crw-rw-r-- 1 root root 189, 2 Nov 4 18:08 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 128 Nov 4 18:08 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 Nov 4 18:08 /dev/bus/usb/002/002
crw-rw-r--+ 1 root lp 189, 130 Nov 4 18:09 /dev/bus/usb/002/003
crw-rw---- 1 root lp 180, 0 Nov 4 18:09 /dev/usb/lp0
Traceback (most recent call last):
   File "/usr/bin/hp-info", line 38, in <module>
     from base import device, status, utils, tui, module
   File "/usr/share/hplip/base/device.py", line 42, in <module>
     from . import status
   File "/usr/share/hplip/base/status.py", line 50, in <module>
     import hpmudext
ImportError: /usr/lib/python2.7/dist-packages/hpmudext.so: undefined symbol: ipAddressBuff
network beh
direct hp:/usb/Officejet_4500_G510g-m?serial=CN31GK41P405CQ
network lpd
network socket
network http
network ipp
network https
network ipps
network ipp14
direct usb://HP/Officejet%204500%20G510g-m?serial=CN31GK41P405CQ&interface=1
direct hpfax:/usb/Officejet_4500_G510g-m?serial=CN31GK41P405CQ
network smb
sudo: usb_printerid: command not found
Traceback (most recent call last):
   File "/usr/bin/hp-doctor", line 44, in <module>
     log.exception("")
TypeError: exception() takes exactly 1 argument (2 given)
charlene@charlene-TravelMate-5760 ~ $

I have a HP Laserjet 1000 printer and Ubuntu 13.10. Yesterday I upgraded
HPLIPS to version 3.13.11. Printer has now stopped working and I have
message "Stopped - File /usr/lib/cups/filter/hpcups not available. No
such file or directory."

On 2021/11/04 19:20, Manfred Hampl wrote:
> Your question #699353 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/699353
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Details, please!
>
> Which Ubuntu release are you running, how did you upgrade HPLIP (without
> S, at least I assume that this is what you are talking about), which
> printer make and model, which command did you try, etc.
>

Revision history for this message
Bernard Stafford (bernard010) said :
#3
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Xenial is no longer supported by anyone and Mint is not supported by the Ubuntu community or Canonical in any way. I suggest you post on the Mint forum here
https://forums.linuxmint.com/

None of the "Ubuntu based" distributions are supported here

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

Manfred Hampl suggests this article as an answer to your question:
FAQ #3041: “No support for Linux Mint”.

Revision history for this message
Charlene (charlkc) said :
#6

Tried
 - still no solution.

Revision history for this message
Bernard Stafford (bernard010) said :
#7
Revision history for this message
Charlene (charlkc) said :
#8

Thank you for all the suggestions.
Out of nowhere, I managed top print. But after turning the machine off, on restart it printed to the corner again.
I turned off and waited the 15 seconds and all came right, except for the scanning.
I cannot scan at all not through the machine nor simple scan. Simple scan does not detect the printer.

Any further suggestions??

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

"Any further suggestions??"

If you are running Linux Mint, then ask at the Linux Mint support pages.

Can you help with this problem?

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

To post a message you must log in.