hplip asks about LinuxMint--new version 20 uses Ubuntu FOCAL. help apply diff to installer/distros.dat to use qt5 not qt4

Asked by robert Newton on 2020-08-18

I run sudo hplip*.run then cd hp*6; sudo ./hplip-install
My fresh install of LinuxMint-20-xfce-64bit.iso codename ulyana has python2.7 and python3..
here is my history ;-{

  24 sudo chmod 777 hplip-3.20.6.run
   25 sudo sh -c ./hplip-3.20.6.run
   26 cd /usr/lib/python3/dist-packages
   29 sudo ln -svd PyQt5 PyQt4
   30 cd /usr/lib/x86_64-linux-gnu
   31 sudo ln -svd Qt5 Qt4
   32 cd /tmp/mozilla_robert0/
   35 sudo chmod 755 hplip-3.20.6/
   36 cd hplip-3.20.6/
   43 sudo ./hplip-install
   48 apt install python3-dev
   53 sudo ./hplip-install
   56 sudo chmod 777 installer/
   59 sudo chmod 777 installer/*
   65 sudo chmod 777 doc
   68 sudo chmod 666 doc/*
   69 firefox doc/*&
   70 lsb_release -a
   75 history|tee ~/x
   74 nano ~/x

next read my log...

 A required dependency 'python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' >
error: Installation cannot continue without this dependency.
error: Please manually install this dependency and re-run this installer.

so I hacked until it installed:

 13 apt install python3-pyqt5
   18 apt install python3-dbus.mainloop.pyqt5
   39 cd /var/lib/dpkg/info
   40 ll py*.list
   41 less python3-pyqt5.list
   47 apt install python3-dbus.mainloop.pyqt5
   49 less python3-dbus.mainloop.pyqt*t
   50 ll /usr/lib/python3/dist-packages/dbus/mainloop/pyqt5.cpython-38-x86_64-linux-gnu.so
   51 sudo ln -sdv /usr/lib/python3/dist-packages/dbus/mainloop/pyqt5.cpython-38-x86_64-linux-gnu.so
   55 less python3-pyqt5*ist
   56 ll /usr/lib/x86_64-linux-gnu/qt?/plugins/designer/libpyqt?.so
   57 ll /usr/lib/x86_64-linux-gnu/qt4/plugins/designer/libpyqt?.so
   58 sudo ln -sdv /usr/lib/x86_64-linux-gnu/qt5 /usr/lib/x86_64-linux-gnu/qt4
   59 sudo ln -sv /usr/lib/x86_64-linux-gnu/qt4/plugins/designer/libpyqt5.so
   60 ll /usr/lib/x86_64-linux-gnu/qt?/plugins/designer/libpyqt?.so
   61 ll python3-dbus*
   62 less python3-dbus.mainloop.pyqt5.list
   63 ll /usr/lib/python3/dist-packages/dbus/mainloop/pyqt?.cpython-38-x86_64-linux-gnu.so
   64 less python3-dbus.mainloop.pyqt*ist
   65 history

Question information

English Edit question
HPLIP Edit question
No assignee Edit question
Last query:
Last reply:
shivani mandora (shivani1708) said : #1

Hi ,

We have not supported Linux Mint 20 in HPLIP yet. Please wait for the next release. Next HPLIP will be installing all the packages automatically.

brian_p (claremont102) said : #2

Knowing the printer model could lead to a way forward.

AP (punt18423) said : #3

Hi there, the new new version of HPLIP (3.20.9) has been released and Linux Mint 20 is now supported, but the installation still fails because none of the repos include pyqt5.

Can you help with this problem?

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

To post a message you must log in.