Unable to install hplip due to Python-pyqt5 dependency
Installed HP LaserJet Pro MFP M479fdw without any problems. Printer functioned, scanner worked fine (but only for single page scans). The multipage function failed and the OCR failed. In trying to upgrade the hplip 3.20.3 to a newer version I failed every way I tried and I tried several versions up to and including the current 3.21.12 --- all efforts failed and now I am left with an incomplete hplip which doesn't work at all -- no printer and no scanner! and unable to complete ANY hplip install !!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of:
lsb_release -a; uname -a; apt-cache policy hplip
Thanks
Revision history for this message
|
#2 |
No LSB modules are available.
Ubuntu 20.04.3 LTSRelease: 20.04Codename: focalLinux Dakota
5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64
x86_64 x86_64 GNU/Linuxhplip: Installed: (none) Candidate:
3.20.3+dfsg0-2 Version table: 3.20.3+dfsg0-2 500 500
http://
Packages 100 /var/lib/
-------
-------
-------
-------
On Tue, 2021-12-28 at 11:05 +0000, actionparsnip wrote:
> Your question #700017 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
> actionparsnip requested more information:What is the output of:
> lsb_release -a; uname -a; apt-cache policy hplip
> Thanks
Revision history for this message
|
#3 |
According to https:/
There is version 3.20.3 in the Ubuntu repositories for focal and I assume that this will sufficient.
Try installing it with the command
sudo apt install hplip-gui
Revision history for this message
|
#4 |
Mr. Hampl -
Thank you for your fix - hplip intalled with no errors and now
the Printer works -- but the Scanner fails when selected for scanning
with an "Failed to open device xxxxxxxxxxx - error during device I/O."
when you select the LaserJet or if you select the Flatbed it scans the
flatbed but does not create any file.
Ned Evans
On Wed, 2021-12-29 at 19:11 +0000, Manfred Hampl wrote:
> Your question #700017 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
> Manfred Hampl proposed the following answer:According to
> https:/
> the HP Color LaserJet Pro MFP M479fdwis supported by HPLIP versions
> starting from 3.19.6.
> There is version 3.20.3 in the Ubuntu repositories for focal and
> Iassume that this will sufficient.
> Try installing it with the command
> sudo apt install hplip-gui
Revision history for this message
|
#5 |
What output do you receive for the commands
sane-find-scanner
sudo sane-find-scanner
scanimage -L
Revision history for this message
|
#6 |
eje@Dakota:~$ sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your #
scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make
sure that # you have loaded a kernel SCSI driver for your SCSI
adapter.
could not open USB device 0x1d6b/0x0003 at 006:001: Access denied
(insufficient permissions)could not open USB device 0x1d6b/0x0002 at
005:001: Access denied (insufficient permissions)could not open USB
device 0x046d/0x0892 at 002:033: Access denied (insufficient
permissions)could not open USB device 0x0424/0x274c at 002:035: Access
denied (insufficient permissions)could not open USB device
0x1fd2/0x8105 at 002:036: Access denied (insufficient permissions)could
not open USB device 0x0424/0x2412 at 002:034: Access denied
(insufficient permissions)could not open USB device 0x0424/0x2734 at
002:032: Access denied (insufficient permissions)could not open USB
device 0x09ea/0x0131 at 002:008: Access denied (insufficient
permissions)could not open USB device 0x046d/0xc52b at 002:007: Access
denied (insufficient permissions)could not open USB device
0x09ea/0x0130 at 002:004: Access denied (insufficient permissions)could
not open USB device 0x05e3/0x0610 at 002:003: Access denied
(insufficient permissions)could not open USB device 0x8087/0x0020 at
002:002: Access denied (insufficient permissions)could not open USB
device 0x1d6b/0x0002 at 002:001: Access denied (insufficient
permissions)could not open USB device 0x058f/0x6364 at 001:003: Access
denied (insufficient permissions)could not open USB device
0x8087/0x0020 at 001:002: Access denied (insufficient permissions)could
not open USB device 0x1d6b/0x0002 at 001:001: Access denied
(insufficient permissions)could not open USB device 0x2109/0x0813 at
004:003: Access denied (insufficient permissions)could not open USB
device 0x2109/0x0812 at 004:002: Access denied (insufficient
permissions)could not open USB device 0x1d6b/0x0003 at 004:001: Access
denied (insufficient permissions)could not open USB device
0x2109/0x2813 at 003:003: Access denied (insufficient permissions)could
not open USB device 0x2109/0x2812 at 003:002: Access denied
(insufficient permissions)could not open USB device 0x1d6b/0x0002 at
003:001: Access denied (insufficient permissions) # No USB scanners
found. If you expected something different, make sure that # you have
loaded a kernel driver for your USB host controller and have setup #
the USB system correctly. See man sane-usb for details.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary
ports # can't be detected by this program.
# You may want to run this program as root to find all devices. Once
you # found the scanner devices, be sure to adjust access permissions
as # necessary.
-------
:~$ sudo sane-find-
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your #
scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make
sure that # you have loaded a kernel SCSI driver for your SCSI
adapter.
found USB scanner (vendor=0x0424 [Microchip Tech], product=0x274c [Hub
Controller]) at libusb:002:035could not fetch string descriptor: Pipe
errorcould not fetch string descriptor: Pipe errorcould not fetch
string descriptor: Pipe errorcould not fetch string descriptor: Pipe
errorcould not fetch string descriptor: Pipe errorcould not fetch
string descriptor: Pipe errorcould not fetch string descriptor: Pipe
errorcould not fetch string descriptor: Pipe error # Your USB scanner
was (probably) detected. It may or may not be supported by # SANE. Try
scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary
ports # can't be detected by this program.
** Note : I do NOT have a USB scanner I am not sure what it thinks is
a USB Scanner. My HP LaserJet MFP M479fdw is a "all-in-one"
Scanner/
the Fax is direct connected to phone network.
-------
-------
-----
eje@Dakota:~$ scanimage -Ldevice `escl:http://
ESCL HP Color LaserJet Pro M478f-9f [08AA65] flatbed scannerdevice
`escl:https:/
9f [08AA65] SSL flatbed scannerdevice
`hpaio:
Hewlett-Packard HP_Color_
-------
-------
-----
Thanks youNed Evans
-------
-------
-----
On Wed, 2021-12-29 at 19:55 +0000, Manfred Hampl wrote:
> Your question #700017 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
> Manfred Hampl requested more information:What output do you receive
> for the commands
> sane-find-
Revision history for this message
|
#7 |
Please paste your output directly into https:/
The output that you delivered via e-mail is illegible, all newlines got lost.
Revision history for this message
|
#8 |
sane-find-
eje@Dakota:~$ sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your #
scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make
sure that # you have loaded a kernel SCSI driver for your SCSI
adapter.
could not open USB device 0x1d6b/0x0003 at 006:001: Access denied
(insufficient permissions)could not open USB device 0x1d6b/0x0002 at
005:001: Access denied (insufficient permissions)could not open USB
device 0x046d/0x0892 at 002:038: Access denied (insufficient
permissions)could not open USB device 0x0424/0x274c at 002:040: Access
denied (insufficient permissions)could not open USB device
0x1fd2/0x8105 at 002:041: Access denied (insufficient permissions)could
not open USB device 0x0424/0x2412 at 002:039: Access denied
(insufficient permissions)could not open USB device 0x0424/0x2734 at
002:037: Access denied (insufficient permissions)could not open USB
device 0x09ea/0x0131 at 002:008: Access denied (insufficient
permissions)could not open USB device 0x046d/0xc52b at 002:007: Access
denied (insufficient permissions)could not open USB device
0x09ea/0x0130 at 002:004: Access denied (insufficient permissions)could
not open USB device 0x05e3/0x0610 at 002:003: Access denied
(insufficient permissions)could not open USB device 0x8087/0x0020 at
002:002: Access denied (insufficient permissions)could not open USB
device 0x1d6b/0x0002 at 002:001: Access denied (insufficient
permissions)could not open USB device 0x058f/0x6364 at 001:003: Access
denied (insufficient permissions)could not open USB device
0x8087/0x0020 at 001:002: Access denied (insufficient permissions)could
not open USB device 0x1d6b/0x0002 at 001:001: Access denied
(insufficient permissions)could not open USB device 0x2109/0x0813 at
004:003: Access denied (insufficient permissions)could not open USB
device 0x2109/0x0812 at 004:002: Access denied (insufficient
permissions)could not open USB device 0x1d6b/0x0003 at 004:001: Access
denied (insufficient permissions)could not open USB device
0x2109/0x2813 at 003:003: Access denied (insufficient permissions)could
not open USB device 0x2109/0x2812 at 003:002: Access denied
(insufficient permissions)could not open USB device 0x1d6b/0x0002 at
003:001: Access denied (insufficient permissions) # No USB scanners
found. If you expected something different, make sure that # you have
loaded a kernel driver for your USB host controller and have setup #
the USB system correctly. See man sane-usb for details.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary
ports # can't be detected by this program.
# You may want to run this program as root to find all devices. Once
you # found the scanner devices, be sure to adjust access permissions
as # necessary.
**Note - I do NOT have a USB Scanner I only have the HP LaserJet MFP
M479fdw All-in-one Printer/
connected via Ethernet and the Fax is connected directly to the Phone
network.
-------
-------
sudo sane-find-
sane-find-scanner will now attempt to detect your scanner. If the #
result is different from what you expected, first make sure your #
scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make
sure that # you have loaded a kernel SCSI driver for your SCSI
adapter.
found USB scanner (vendor=0x0424 [Microchip Tech], product=0x274c [Hub
Controller]) at libusb:002:035could not fetch string descriptor: Pipe
errorcould not fetch string descriptor: Pipe errorcould not fetch
string descriptor: Pipe errorcould not fetch string descriptor: Pipe
errorcould not fetch string descriptor: Pipe errorcould not fetch
string descriptor: Pipe errorcould not fetch string descriptor: Pipe
errorcould not fetch string descriptor: Pipe error # Your USB scanner
was (probably) detected. It may or may not be supported by # SANE. Try
scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary
ports # can't be detected by this program.
-------
------------
scanimage -L-----
eje@Dakota:~$ scanimage -Ldevice `escl:http://
ESCL HP Color LaserJet Pro M478f-9f [08AA65] flatbed scannerdevice
`escl:https:/
9f [08AA65] SSL flatbed scannerdevice
`hpaio:
Hewlett-Packard HP_Color_
-------
-------
-------
On Wed, 2021-12-29 at 19:55 +0000, Manfred Hampl wrote:
> Your question #700017 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
> Manfred Hampl requested more information:What output do you receive
> for the commands
> sane-find-
Revision history for this message
|
#9 |
I am sorry, but you output is still unusable.
What exactly are you doing to collect that information?
Which kind of command line terminal are you using?
Revision history for this message
|
#10 |
On Thu, 2021-12-30 at 17:50 +0000, Manfred Hampl wrote:
> Your question #700017 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
> Manfred Hampl requested more information:I am sorry, but you output
> is still unusable.What exactly are you doing to collect that
> information?Which kind of command line terminal are you using?
Manfred -
I am sorry we are having this difficulty, below I have described how I
captured the data. I also attached 3 text files with the captured data
for each command you requested. I will pass them from my Linux system
to my Windows Outlook system and send you an E-Mail with the
attachments and also I will copy the text into the Outlook E-Mail
message in hopes that one of them will be formatted properly for your
system.
I am grateful for your efforts in trying to help me - thank you
RegardsNed Evans
Information you requested follows:
I am using Linux Ubuntu 20.04 LTS Operating system.
I am using the Gnome Terminal version 3.36.2 as my standard Ubuntu
Terminal window.
The first time I sent you the outputs that you said had no End-of-line
functions I had highlighted the Terminal window characters, copied them
and pasted them into the E-Mail. I am using the "Evolution" Email
program version: "3.36.5-0ubuntu1" and sent it. I received a copy of
that E-Mail at my windows Outlook system and it looked the same as I
sent it.
When you requested I resend it because of the no End-of-line functions
again I then highlighted the Terminal window characters as before but
this time I pasted them into a text editor, "GEdit 3.36.5-0ubuntu1"
and then copied them from there into the E-Mail and sent it. I also
received that copy at my Windows Outlook system without any
issues.GEdit 3.36.2 text editor and saved the file
Revision history for this message
|
#11 |
I suggest that you try the following:
Open the page https:/
Open a terminal window and re-issue the commands.
Copy the output from the terminal window and paste it into the "Message:"-box of the web page that you already have open - without any extra program.
Revision history for this message
|
#12 |
eje@Dakota:~$ sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
could not open USB device 0x1d6b/0x0003 at 006:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 005:001: Access denied (insufficient permissions)
could not open USB device 0x046d/0x0892 at 002:058: Access denied (insufficient permissions)
could not open USB device 0x0424/0x274c at 002:060: Access denied (insufficient permissions)
could not open USB device 0x1fd2/0x8105 at 002:061: Access denied (insufficient permissions)
could not open USB device 0x0424/0x2412 at 002:059: Access denied (insufficient permissions)
could not open USB device 0x0424/0x2734 at 002:057: Access denied (insufficient permissions)
could not open USB device 0x09ea/0x0131 at 002:008: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc52b at 002:007: Access denied (insufficient permissions)
could not open USB device 0x09ea/0x0130 at 002:004: Access denied (insufficient permissions)
could not open USB device 0x05e3/0x0610 at 002:003: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0020 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x058f/0x6364 at 001:003: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0020 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x2109/0x0813 at 004:003: Access denied (insufficient permissions)
could not open USB device 0x2109/0x0812 at 004:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x2109/0x2813 at 003:003: Access denied (insufficient permissions)
could not open USB device 0x2109/0x2812 at 003:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
eje@Dakota:~$
eje@Dakota:~$
eje@Dakota:~$
eje@Dakota:~$
eje@Dakota:~$ sudo sane-find-scanner
[sudo] password for eje:
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x0424 [Microchip Tech], product=0x274c [Hub Controller]) at libusb:002:060
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
eje@Dakota:~$
eje@Dakota:~$
eje@Dakota:~$
eje@Dakota:~$
eje@Dakota:~$ scanimage -L
device `escl:http://
device `escl:https:/
device `hpaio:
eje@Dakota:~$
Revision history for this message
|
#13 |
Manfred -
I have done as you requested and placed the Terminal output
into a Message Box on the WEB page and it all looks properly formatted
and readable.
As I write this I noticed that my Evolution E-Mail code is set
for HTML and not plain text --- perhaps that was what was corrupting
the format.
Ned Evans
On Thu, 2021-12-30 at 20:01 +0000, Manfred Hampl wrote:
> Your question #700017 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
> Manfred Hampl requested more information:I suggest that you try the
> following:Open the page
> https:/
> browser of your Ubuntu system.Open a terminal window and re-issue the
> commands.Copy the output from the terminal window and paste it into
> the "Message:"-box of the web page that you already have open -
> without any extra program.
Revision history for this message
|
#14 |
Is it correct that you want to use the scanner on network address 192.168.1.104 ?
What do you get when you try using scanimage with that device, e.g. with a command like
scanimage --device=
Revision history for this message
|
#15 |
eje@Dakota:~$
eje@Dakota:~$
eje@Dakota:~$
eje@Dakota:~$ scanimage --device=
scanimage: open of device hpaio:/
eje@Dakota:~$
Revision history for this message
|
#16 |
Manfred -
I have placed the output you requested into the Message Box on
the WEB Site.
Thanks
Ned Evans
On Thu, 2021-12-30 at 20:35 +0000, Manfred Hampl wrote:
> Your question #700017 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
> Manfred Hampl requested more information:Is it correct that you want
> to use the scanner on network address192.
> What do you get when you try using scanimage with that device, e.g.
> witha command like
> scanimage-
> 9f?ip=192.
>
Revision history for this message
|
#17 |
Have you tried sane-airscan?
According to https:/
Revision history for this message
|
#18 |
Manfred -
Thank you for the info and link to 'sane-airscan' I tried it
but failed because the package for Ubuntu 20.04 apparently doesn't have
a Public Key. I place the output in the WEB site and am looking for
where to go next --- maybe report a 'issue' on github ?
Ned Evans
On Fri, 2021-12-31 at 07:50 +0000, Manfred Hampl wrote:
> Your question #700017 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
> Manfred Hampl proposed the following answer:Have you tried sane-
> aurscan?According to https:/
> device should be supported.
Revision history for this message
|
#19 |
Didi you follow the instructions in https:/
Those are the four commands to execute:
echo 'deb http://
curl -fsSL https:/
sudo apt update
sudo apt install sane-airscan
Revision history for this message
|
#20 |
Manfred - Thank you for all your help - I now have a functioning Printer/Scanner/Fax again.
Ned Evans
Revision history for this message
|
#21 |
Yes - Problem solved
Thank you
Ned Evans
Revision history for this message
|
#22 |
Manfred -
I found where I had a bad typo here and when corrected it has
enabled my printer/scanner to function properly again - Thank you so
much for all of your help!
Problem solvedNed Evans
On Fri, 2021-12-31 at 18:01 +0000, Manfred Hampl wrote:
> Your question #700017 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
> Manfred Hampl proposed the following answer:Didi you follow the
> instructions in
> https:/
> Those are the four commands to execute:
> echo 'deb
> http://
> |sudo tee /etc/apt/
> curl -fsSL
> https:/
> > gpg --dearmor | sudo tee /etc/apt/
> /dev/null
> sudo apt update
> sudo apt install sane-airscan