[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    
From:       Henk Boomsma <haboomsma () gmail ! com>
Date:       2021-07-19 8:23:42
Message-ID: CAOxZowa8iXT_aaEJHZCfH6yyohUZLKxL-jYeq+71pSEjmFZSOA () mail ! gmail ! com
[Download RAW message or body]

Hello,

Having just updated my printer to HP Laser MFP 130 series
(printer/scanner)I run into an installation problem when I try to install
pyqt5 (which informs me that Phyton is deprecated, resulting in me not able
to complete the install ( see below).

As a layperson, I am stuck on how to install this required software. Is
there anyone who can point me in the right direction?

Kind regards,

Henk

---
adi@adi-GP60-2PE:~$ cd Download
bash: cd: Download: No such file or directory
adi@adi-GP60-2PE:~$ cd Downloads
adi@adi-GP60-2PE:~/Downloads$ sh hplip-3.21.6.run
Creating directory hplip-3.21.6
Verifying archive integrity... All good.
Uncompressing HPLIP 3.21.6 Self Extracting
Archive............................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...............................................................................................................


HP Linux Imaging and Printing System (ver. 3.21.6)
HPLIP Installer ver. 5.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Mon-19-Jul-2021_11:01:16.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to
accept the default.
/Gtk-Message: 11:01:22.205: Failed to load module "canberra-gtk-module"


INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common
options.
Custom mode allows you to choose installation options to fit specific
requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : a


INTRODUCTION
------------
This installer will install HPLIP version 3.21.6 on your computer.
Please close any running package management systems now (YaST, Adept,
Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 20.04.

Is "Ubuntu 20.04" your correct distro/OS and version (y=yes*, n=no, q=quit)
? y

Initializing. Please wait...


ENTER USER PASSWORD
-------------------
Please enter the sudoer (adi)'s password:


INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the
Ubuntu "Main" Repositories. See:
https://help.ubuntu.com/community/Repositories/Ubuntu for more
information.  Disable the CD-ROM/DVD source if you do not have the Ubuntu
installation media inserted in the drive.

Please read the installation notes. Press <enter> to continue or 'q' to
quit:


SECURITY PACKAGES
-----------------
AppArmor is installed.
AppArmor protects the application from external intrusion attempts making
the application secure

Would you like to have this installer install the hplip specific
policy/profile (y=yes*, n=no, q=quit) ? y


RUNNING PRE-INSTALL COMMANDS
----------------------------
OK


RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp (
hp_libs_remove step 1)
OK


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
pil                  scan                 OPTIONAL
reportlab            fax                  OPTIONAL
pyqt5                gui_qt5              REQUIRED
python-notify        gui_qt5              OPTIONAL
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y


INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: pyqt5 (PyQt 5- Qt interface for
Python (for Qt version 4.x))


INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'gui_qt5': pyqt5-dbus (PyQt
5 DBus - DBus Support for PyQt5)
warning: Missing OPTIONAL dependency for option 'gui_qt5': python-notify
(Python libnotify - Python bindings for the libnotify Desktop notifications)
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab
- PDF library for Python)
warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python
Imaging Library (required for commandline scanning with hp-scan))
warning: This installer cannot install 'pil' for your distro/OS and/or
version.


CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.


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) ? n
warning: Some HPLIP functionality might not function due to missing
package(s).
Running 'sudo apt-get install --assume-yes python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-dbus.mainloop.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) ? n
warning: Some HPLIP functionality might not function due to missing
package(s).
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-notify'
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) ? n
warning: Some HPLIP functionality might not function due to missing
package(s).
Running 'sudo apt-get install --assume-yes python-reportlab'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python-reportlab'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python-reportlab'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-reportlab'
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) ? n
warning: Some HPLIP functionality might not function due to missing
package(s).
> Gtk-Message: 11:03:32.976: Failed to load module "canberra-gtk-module"
error: A required dependency 'pyqt5 (PyQt 5- Qt interface for Python (for
Qt version 4.x))' is still missing.


RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK


RE-CHECKING DEPENDENCIES
------------------------
/Gtk-Message: 11:03:34.987: Failed to load module "canberra-gtk-module"
error: A required dependency 'pyqt5 (PyQt 5- Qt interface for Python (for
Qt version 4.x))' is still missing.
error: Installation cannot continue without this dependency.
error: Please manually install this dependency and re-run this installer.
adi@adi-GP60-2PE:~/Downloads$


[Attachment #3 (text/html)]

<div dir="ltr"><div>Hello,</div><div><br></div><div>Having just updated my printer to \
HP Laser MFP 130 series (printer/scanner)I run into an installation problem when I \
try to install pyqt5 (which informs me that Phyton is deprecated, resulting in me not \
able to complete the install ( see below).<br><br></div><div>As a layperson, I am \
stuck on how to install this required software. Is there anyone who can point me in \
the right direction?<br><br></div><div><div><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr">Kind \
regards,<br><br>Henk<br><br>---</div><div dir="ltr">adi@adi-GP60-2PE:~$ cd \
Download<br>bash: cd: Download: No such file or directory<br>adi@adi-GP60-2PE:~$ cd \
Downloads<br>adi@adi-GP60-2PE:~/Downloads$ sh hplip-3.21.6.run<br>Creating directory \
hplip-3.21.6<br>Verifying archive integrity... All good.<br>Uncompressing HPLIP \
3.21.6 Self Extracting \
Archive............................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...................................................................................... \
...............................................................................................................<br><br>HP \
Linux Imaging and Printing System (ver. 3.21.6)<br>HPLIP Installer ver. \
5.1<br><br>Copyright (c) 2001-18 HP Development Company, LP<br>This software comes \
with ABSOLUTELY NO WARRANTY.<br>This is free software, and you are welcome to \
distribute it<br>under certain conditions. See COPYING file for more \
details.<br><br>Installer log saved in: \
hplip-install_Mon-19-Jul-2021_11:01:16.log<br><br>\<br>note: Defaults for each \
question are maked with a &#39;*&#39;. Press &lt;enter&gt; to accept the \
default.<br>/Gtk-Message: 11:01:22.205: Failed to load module \
&quot;canberra-gtk-module&quot;<br>  <br><br>INSTALLATION \
MODE<br>-----------------<br>Automatic mode will install the full HPLIP solution with \
the most common options.<br>Custom mode allows you to choose installation options to \
fit specific requirements.<br><br>Please choose the installation mode (a=automatic*, \
c=custom, q=quit) : a<br><br><br>INTRODUCTION<br>------------<br>This installer will \
install HPLIP version 3.21.6 on your computer.<br>Please close any running package \
management systems now (YaST, Adept, Synaptic, Up2date, etc).<br><br><br>DISTRO/OS \
CONFIRMATION<br>----------------------<br>Distro appears to be Ubuntu \
20.04.<br><br>Is &quot;Ubuntu 20.04&quot; your correct distro/OS and version (y=yes*, \
n=no, q=quit) ? y<br><br>Initializing. Please wait...<br><br><br>ENTER USER \
PASSWORD<br>-------------------<br>Please enter the sudoer (adi)&#39;s password: <br> \
<br><br>INSTALLATION NOTES<br>------------------<br>Enable the universe/multiverse \
repositories. Also be sure you are using the Ubuntu &quot;Main&quot; Repositories. \
See: <a href="https://help.ubuntu.com/community/Repositories/Ubuntu">https://help.ubuntu.com/community/Repositories/Ubuntu</a> \
for more information.   Disable the CD-ROM/DVD source if you do not have the Ubuntu \
installation media inserted in the drive.<br><br>Please read the installation notes. \
Press &lt;enter&gt; to continue or &#39;q&#39; to quit: <br><br><br>SECURITY \
PACKAGES<br>-----------------<br>AppArmor is installed. <br>AppArmor protects the \
application from external intrusion attempts making the application \
secure<br><br>Would you like to have this installer install the hplip specific \
policy/profile (y=yes*, n=no, q=quit) ? y<br><br><br>RUNNING PRE-INSTALL \
COMMANDS<br>----------------------------<br>OK<br><br><br>RUNNING HPLIP LIBS REMOVE \
COMMANDS<br>----------------------------------<br>sudo apt-get remove libhpmud0 \
libsane-hpaio printer-driver-postscript-hp<br>sudo apt-get remove libhpmud0 \
libsane-hpaio printer-driver-postscript-hp ( hp_libs_remove step \
1)<br>OK<br><br><br>MISSING DEPENDENCIES<br>--------------------<br>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.<br>Package-Name             Component                  \
Required/Optional    <br>pyqt5-dbus                gui_qt5                     \
OPTIONAL                  <br>pil                           scan                      \
OPTIONAL                  <br>reportlab                  fax                          \
OPTIONAL                  <br>pyqt5                        gui_qt5                    \
REQUIRED                  <br>python-notify            gui_qt5                     \
OPTIONAL                  <br>Do you want to install these missing dependencies \
(y=yes*, n=no, q=quit) ? y<br><br><br>INSTALL MISSING REQUIRED \
DEPENDENCIES<br>-------------------------------------<br>note: Installation of \
dependencies requires an active internet connection.<br>warning: Missing REQUIRED \
dependency: pyqt5 (PyQt 5- Qt interface for Python (for Qt version \
4.x))<br><br><br>INSTALL MISSING OPTIONAL \
DEPENDENCIES<br>-------------------------------------<br>note: Installation of \
dependencies requires an active internet connection.<br>warning: Missing OPTIONAL \
dependency for option &#39;gui_qt5&#39;: pyqt5-dbus (PyQt 5 DBus - DBus Support for \
PyQt5)<br>warning: Missing OPTIONAL dependency for option &#39;gui_qt5&#39;: \
python-notify (Python libnotify - Python bindings for the libnotify Desktop \
notifications)<br>warning: Missing OPTIONAL dependency for option &#39;fax&#39;: \
reportlab (Reportlab - PDF library for Python)<br>warning: Missing OPTIONAL \
dependency for option &#39;scan&#39;: pil (PIL - Python Imaging Library (required for \
commandline scanning with hp-scan))<br>warning: This installer cannot install \
&#39;pil&#39; for your distro/OS and/or version.<br><br><br>CHECKING FOR NETWORK \
CONNECTION<br>-------------------------------<br>Network connection \
present.<br><br><br>RUNNING PRE-PACKAGE \
COMMANDS<br>----------------------------<br>sudo dpkg --configure -a (Pre-depend step \
1)<br>sudo apt-get install --yes --force-yes -f (Pre-depend step 2)<br>sudo apt-get \
update (Pre-depend step 3)<br>OK<br><br><br>DEPENDENCY AND CONFLICT \
RESOLUTION<br>----------------------------------<br>Running &#39;sudo apt-get install \
--assume-yes gtk2-engines-pixbuf&#39;<br>Please wait, this may take several \
minutes...<br>Running &#39;sudo apt-get install --assume-yes \
python-pyqt5&#39;<br>Please wait, this may take several minutes...<br>error: Command \
failed. Re-try #1...<br>Running &#39;sudo apt-get install --assume-yes \
python-pyqt5&#39;<br>Please wait, this may take several minutes...<br>error: Command \
failed. Re-try #2...<br>Running &#39;sudo apt-get install --assume-yes \
python-pyqt5&#39;<br>Please wait, this may take several minutes...<br>error: Command \
failed. Re-try #3...<br>Running &#39;sudo apt-get install --assume-yes \
python-pyqt5&#39;<br>Please wait, this may take several minutes...<br>error: Package \
install command failed with error code 100<br>Would you like to retry installing the \
missing package(s) (y=yes*, n=no, q=quit) ? n<br>warning: Some HPLIP functionality \
might not function due to missing package(s).<br>Running &#39;sudo apt-get install \
--assume-yes python-dbus.mainloop.pyqt5&#39;<br>Please wait, this may take several \
minutes...<br>error: Command failed. Re-try #1...<br>Running &#39;sudo apt-get \
install --assume-yes python-dbus.mainloop.pyqt5&#39;<br>Please wait, this may take \
several minutes...<br>error: Command failed. Re-try #2...<br>Running &#39;sudo \
apt-get install --assume-yes python-dbus.mainloop.pyqt5&#39;<br>Please wait, this may \
take several minutes...<br>error: Command failed. Re-try #3...<br>Running &#39;sudo \
apt-get install --assume-yes python-dbus.mainloop.pyqt5&#39;<br>Please wait, this may \
take several minutes...<br>error: Package install command failed with error code \
100<br>Would you like to retry installing the missing package(s) (y=yes*, n=no, \
q=quit) ? n<br>warning: Some HPLIP functionality might not function due to missing \
package(s).<br>Running &#39;sudo apt-get install --assume-yes \
python-notify&#39;<br>Please wait, this may take several minutes...<br>error: Command \
failed. Re-try #1...<br>Running &#39;sudo apt-get install --assume-yes \
python-notify&#39;<br>Please wait, this may take several minutes...<br>error: Command \
failed. Re-try #2...<br>Running &#39;sudo apt-get install --assume-yes \
python-notify&#39;<br>Please wait, this may take several minutes...<br>error: Command \
failed. Re-try #3...<br>Running &#39;sudo apt-get install --assume-yes \
python-notify&#39;<br>Please wait, this may take several minutes...<br>error: Package \
install command failed with error code 100<br>Would you like to retry installing the \
missing package(s) (y=yes*, n=no, q=quit) ? n<br>warning: Some HPLIP functionality \
might not function due to missing package(s).<br>Running &#39;sudo apt-get install \
--assume-yes python-reportlab&#39;<br>Please wait, this may take several \
minutes...<br>error: Command failed. Re-try #1...<br>Running &#39;sudo apt-get \
install --assume-yes python-reportlab&#39;<br>Please wait, this may take several \
minutes...<br>error: Command failed. Re-try #2...<br>Running &#39;sudo apt-get \
install --assume-yes python-reportlab&#39;<br>Please wait, this may take several \
minutes...<br>error: Command failed. Re-try #3...<br>Running &#39;sudo apt-get \
install --assume-yes python-reportlab&#39;<br>Please wait, this may take several \
minutes...<br>error: Package install command failed with error code 100<br>Would you \
like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? \
n<br>warning: Some HPLIP functionality might not function due to missing \
package(s).<br>|Gtk-Message: 11:03:32.976: Failed to load module \
&quot;canberra-gtk-module&quot;<br>error: A required dependency &#39;pyqt5 (PyQt 5- \
Qt interface for Python (for Qt version 4.x))&#39; is still \
missing.<br><br><br>RUNNING POST-PACKAGE \
COMMANDS<br>-----------------------------<br>OK<br><br><br>RE-CHECKING \
DEPENDENCIES<br>------------------------<br>/Gtk-Message: 11:03:34.987: Failed to \
load module &quot;canberra-gtk-module&quot;<br>error: A required dependency \
&#39;pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))&#39; is still \
missing.<br>error: Installation cannot continue without this dependency.<br>error: \
Please manually install this dependency and re-run this \
installer.<br>adi@adi-GP60-2PE:~/Downloads$</div></div></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic