It seems like you are experiencing issues with HPLIP on Ubuntu 20.04
LTS. Here are some steps you can take to address the problems:

libcups2 and cups Service:

Ensure that the libcups2 package is installed. You've already checked
this, but you can run the command again to be sure:

sudo apt-get install libcups2 libcups2-dev
Check if the CUPS service is running:

sudo service cups status
If it's not running, start it:

sudo service cups start
python3-pyqt4 Package:
The python3-pyqt4 package is not available in the default repositories for 
Ubuntu 20.04. You might need to find an alternative solution or use a 
compatible version. As of Ubuntu 20.04, Python 3 and Qt 5 are the default.

gtk2-engines-pixbuf Package:
Ensure that the gtk2-engines-pixbuf package is installed:

sudo apt-get install gtk2-engines-pixbuf
python3-dbus.mainloop.qt Package:
Similar to python3-pyqt4, the python3-dbus.mainloop.qt package may not be 
available. You can try installing python3-pyqt5 instead:

sudo apt-get install python3-pyqt5

After making these changes, run hp-doctor and hp-check again to see if
the issues are resolved i resolved it for
https://compassionify.com/somatic-therapy-nyc/ blog. Keep in mind that
the compatibility of certain packages with newer Ubuntu releases may
require adjustments or alternative solutions. If you encounter any
specific errors or warnings during these steps, they might provide
additional clues for further troubleshooting.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1881401

Title:
  HPLIP, hp-doctor, hp-check should support Ubuntu 20.04 LTS with its
  package base

Status in HPLIP:
  In Progress
Status in hplip package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce:
  1. Have Ubuntu 20.04 LTS installed
  2. Install HPLIP with `sudo apt-get install hplip-gui`
  3. Install all stuff to satisfy `hp-doctor` requirements by:

          sudo apt-get build-dep hplip
          sudo apt-get install build-essential libtool libtool-bin libcups2-dev 
cups-bsd cups-client avahi-utils gtk2-engines-pixbuf xsane python3-notify2

  
  4. Run `hp-doctor` and `hp-check`

  Expected results:

  * `hp-doctor` ran successfully without errors 
  * `hp-check` ran successfully without errors

  Actual results:

  ```
  $ hp-doctor 

  HP Linux Imaging and Printing System (ver. 3.20.3)
  Self Diagnse Utility and Healing Utility ver. 1.0
  ...
  Checking for Dependencies....
  warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions 
dependencies to verify and install...
  ...
  --------------
  | PERMISSION |
  --------------

  Missing Required Dependencies
  -----------------------------
  error: 'libcups2' package is missing or 'cups' service is not running.
  error: 'python3-pyqt4' package is missing/incompatible 
  error: 'gtk2-engines-pixbuf' package is missing/incompatible 
  Missing Optional Dependencies
  -----------------------------
  error: 'python3-dbus.mainloop.qt' package is missing/incompatible 
  ...


  $ hp-check 
  Saving output in log file: /home/mate/hp-check.log

  HP Linux Imaging and Printing System (ver. 3.20.3)
  Dependency/Version Check Utility ver. 15.1
  ...
  -----------
  | SUMMARY |
  -----------

  Missing Required Dependencies
  -----------------------------
  error: 'libcups2' package is missing/incompatible 
  error: 'python3-pyqt4' package is missing/incompatible 
  error: 'gtk2-engines-pixbuf' package is missing/incompatible 

  Missing Optional Dependencies
  -----------------------------
  error: 'python3-dbus.mainloop.qt' package is missing/incompatible 

  Total Errors: 3
  Total Warnings: 0

  
  Done.

  ```

  Note: many mentioned packages are already installed, Qt4 related
  packages are not installable:

  ```
  $ sudo apt-get install libcups2 libcups2-dev 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  libcups2 is already the newest version (2.3.1-9ubuntu1.1).
  libcups2-dev is already the newest version (2.3.1-9ubuntu1.1).
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  $ sudo apt-get install gtk2-engines-pixbuf
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  gtk2-engines-pixbuf is already the newest version (2.24.32-4ubuntu4).
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  $ sudo apt-get install python3-pyqt4
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  E: Unable to locate package python3-pyqt4

  $ sudo apt-get install python3-dbus.mainloop.qt
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  E: Unable to locate package python3-dbus.mainloop.qt
  E: Couldn't find any package by glob 'python3-dbus.mainloop.qt'
  E: Couldn't find any package by regex 'python3-dbus.mainloop.qt'
  ```

  Please consider to fix HPLIP package and support 20.04 LTS package
  base before 20.04.1 release!

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: hplip 3.20.3+dfsg0-2
  ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
  Uname: Linux 5.4.0-33-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.2
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: MATE
  Date: Sat May 30 12:25:39 2020
  InstallationDate: Installed on 2020-04-23 (36 days ago)
  InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 
(20200423)
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No 
destinations added.
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Lsusb-t:
   /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/12p, 12M
       |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
   /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/12p, 480M
  MachineType: innotek GmbH VirtualBox
  Papersize: a4
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-33-generic 
root=UUID=3947d85c-2c09-420b-802f-edf59648248a ro quiet splash
  SourcePackage: hplip
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/01/2006
  dmi.bios.vendor: innotek GmbH
  dmi.bios.version: VirtualBox
  dmi.board.name: VirtualBox
  dmi.board.vendor: Oracle Corporation
  dmi.board.version: 1.2
  dmi.chassis.type: 1
  dmi.chassis.vendor: Oracle Corporation
  dmi.modalias: 
dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
  dmi.product.family: Virtual Machine
  dmi.product.name: VirtualBox
  dmi.product.version: 1.2
  dmi.sys.vendor: innotek GmbH

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1881401/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to