Ubuntu 20.04 HPLIP 3.20.5 Err bad case

Asked by Bob G Grieger

Terminal:
#Check to see if HPLIP is installed on my Ubuntu 20.24 OS

dpkg -l hplip

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-==============-============-================================>
ii hplip 3.20.3+dfsg0-2 amd64 HP Linux Printing and Imaging Sy>
~

Yes it is installed and |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad).

How do I reinstall HPLIP to correct bad uppercase and which version? HPLIP 3.15.6 is listed in the printer vs hplip list?

I am really trying to install HP DeskJet 3633 on a Ubuntu 20.04 OS but not having any luck!

Thanks for your help,
Bob

Question information

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

You are misinterpreting the output of the dpkg command.
The "uppercase is bad" remark pertains only to the first three positions in each detail line.
In your case these are "i", "i" and "blank", and none of them is upper case. So the installation (from dpkg point of view) is correct and does not need a reinstall.

Revision history for this message
Bob G Grieger (rgrieger) said :
#2

Hi Manfield:

Thanks for your quick response. I am still stuck about how to get HP
Desktop 3633 running using hplip-3.20.5. Printer does not print are all.
It did print when I used Ubuntu 16.04 LTS but when I upgraded to Ubuntu
20.04 LTS it stopped printing.  It did not print using Wifi so I
switched to hp USB cable but no luck. I checked and HP DeskJet 3633 is
supposed to work with from hplip-15.x and up.

I appreciate any more suggestions you might have about getting my
printer to work either with cable, Wifi or both.

Thanks again for your ehlp,

Bob

On 12/1/20 2:05 AM, Manfred Hampl wrote:
> Your question #694276 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/694276
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> You are misinterpreting the output of the dpkg command.
> The "uppercase is bad" remark pertains only to the first three positions in each detail line.
> In your case these are "i", "i" and "blank", and none of them is upper case. So the installation (from dpkg point of view) is correct and does not need a reinstall.
>

Revision history for this message
shivani mandora (shivani1708) said :
#3

Hi,

Can you install 3.20.11 version and check if print is working fine?

Revision history for this message
Bob G Grieger (rgrieger) said :
#4

Hi Shivani:

I am trying to install hplip-3.20.11.run on Ubuntu 20.04 it stops at
trying to load the dependencies.

I start with:

bob@ubuntu:~/Desktop$ sh hplip-3.20.11.run
Creating directory hplip-3.20.11
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.11 Self Extracting
Archive....................................................................

etc.

MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all
REQUIRED dependencies are not installed and some of the HPLIP features
will not work if OPTIONAL dependencies are not installed.
Package-Name         Component            Required/Optional
pyqt5-dbus               gui_qt5 OPTIONAL
pyqt5                        gui_qt5 REQUIRED
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y

hplip continues continues - ...........

RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes gtk2-engines-pixbuf'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes *python-pyqt5'*
Please wait, this may take several minutes...
error: Package install command *failed with error code 100*
Would you like to retry installing the missing package(s) (y=yes*, n=no,
q=quit) ?*y*
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Package install command*failed with error code 100*
Would you like to retry installing the missing package(s) (y=yes*, n=no,
q=quit) ?

I have not been able to install python-pyqt5. I tried using Synaptic but
it did not show python-pyqt5 in the list.

A couple of months ago I tried to fix error code 100 but failed.

Thanks for your help and hope you can get hplip-3.20.11 to completely
install,

Bob Grieger

_____________________________________________________________________________________

On 12/6/20 10:41 PM, shivani mandora wrote:
> Your question #694276 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/694276
>
> Status: Open => Answered
>
> shivani mandora proposed the following answer:
> Hi,
>
> Can you install 3.20.11 version and check if print is working fine?
>

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

Try installing python3-pyqt5

Revision history for this message
Bob G Grieger (rgrieger) said :
#6

My effort to install python3-pyqt5:

bob@ubuntu:~$ python3-pyqt5 -V
python3-pyqt5: command not found

bob@ubuntu:~$ sudo pip3 install PyQt5
Requirement already satisfied: PyQt5 in /usr/lib/python3/dist-packages (5.14.1)

bob@ubuntu:~$ sudo pip3 install python-pyqt5
ERROR: Could not find a version that satisfies the requirement python-pyqt5 (from versions: none)
ERROR: No matching distribution found for python-pyqt5

bob@ubuntu:~$ sudo pip3 install pyqt5
Requirement already satisfied: pyqt5 in /usr/lib/python3/dist-packages (5.14.1)

bob@ubuntu:~$ pyqt5 -V
pyqt5: command not found

Can not install python3-pyqt5 but pyqt5 is already part of " /usr/lib/python3/dist-packages (5.14.1)"
Is this OK, i.e.-, is python3-pyqt5 installed correctly?

I also ran into a problem with linux-firmware:

bob@ubuntu:~$ sudo apt list --upgradable -a
Listing... Done
linux-firmware/focal-updates,focal-updates 1.187.6 all [upgradable from: 1.187.4]
linux-firmware/now 1.187.4 all [installed,upgradable to: 1.187.6]
linux-firmware/focal,focal 1.187 all

bob@ubuntu:~$ python3 -V
Python 3.8.5

It seems that linux-firmware needs to be upgraded but how do I do this?

Thanks for your help,
Bob

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

Try
sudo apt install python3-pyqt5

"It seems that linux-firmware needs to be upgraded but how do I do this?"

Use the package management system, either the update-manager program, or via terminal with the command
sudo apt upgrade

Revision history for this message
Bob G Grieger (rgrieger) said :
#8

sudo apt install python3-pyqt5

python3-pyqt5 is already the newest version (5.14.1+dfsg-3build1).
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.

It seems I already installed python3-pyqt5

------------------------------------------------------------------------------
sudo apt upgrade

This seemed to run OK and no errors, etc. were reported.

Thanks very much Manfred,
Bob