CUPS

Asked by Sri Srikumar

How to re-install CUPS since it is shown as not present

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Sri Srikumar
Solved:
Last query:
Last reply:
Revision history for this message
Sri Srikumar (ssri) said :
#1

This error message appeared when installing hplip-3.25.8.run

error: A required dependency 'cups (CUPS - Common Unix Printing System)' is still missing.
error: Installation cannot continue without this dependency.

How to proceed.
Thank you.

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

What output do you receive for the following commands (to be executed in a terminal window):

uname -a
lsb_release -crid
apt policy cups cups-common libcups2t64

Revision history for this message
Sri Srikumar (ssri) said :
#3

user@user-System-Product-Name:~$ uname -a
lsb_release -crid
apt policy cups cups-common libcups2t64
Linux user-System-Product-Name 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble
cups:
  Installed: 2.4.7-1.2ubuntu7.7
  Candidate: 2.4.7-1.2ubuntu7.7
  Version table:
 *** 2.4.7-1.2ubuntu7.7 500
        500 http://lk.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.4.7-1.2ubuntu7 500
        500 http://lk.archive.ubuntu.com/ubuntu noble/main amd64 Packages
cups-common:
  Installed: 2.4.7-1.2ubuntu7.7
  Candidate: 2.4.7-1.2ubuntu7.7
  Version table:
 *** 2.4.7-1.2ubuntu7.7 500
        500 http://lk.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        500 http://lk.archive.ubuntu.com/ubuntu noble-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu noble-security/main i386 Packages
        100 /var/lib/dpkg/status
     2.4.7-1.2ubuntu7 500
        500 http://lk.archive.ubuntu.com/ubuntu noble/main amd64 Packages
        500 http://lk.archive.ubuntu.com/ubuntu noble/main i386 Packages
libcups2t64:
  Installed: 2.4.7-1.2ubuntu7.7
  Candidate: 2.4.7-1.2ubuntu7.7
  Version table:
 *** 2.4.7-1.2ubuntu7.7 500
        500 http://lk.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.4.7-1.2ubuntu7 500
        500 http://lk.archive.ubuntu.com/ubuntu noble/main amd64 Packages

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Its installed and present. If you run:

systemctl status cups.service

Is it running?

Revision history for this message
Sri Srikumar (ssri) said :
#5

user@user-System-Product-Name:~$ systemctl status cups.service
● cups.service - CUPS Scheduler
     Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; preset: ena>
     Active: active (running) since Wed 2025-12-03 17:23:51 +0530; 33min ago
TriggeredBy: ● cups.path
             ● cups.socket
       Docs: man:cupsd(8)
   Main PID: 1562 (cupsd)
     Status: "Scheduler is running..."
      Tasks: 1 (limit: 18785)
     Memory: 8.4M (peak: 8.6M)
        CPU: 26ms
     CGroup: /system.slice/cups.service
             └─1562 /usr/sbin/cupsd -l

Dec 03 17:23:51 user-System-Product-Name systemd[1]: Starting cups.service - CU>
Dec 03 17:23:51 user-System-Product-Name systemd[1]: Started cups.service - CUP>
lines 1-16/16 (END)

Revision history for this message
Sri Srikumar (ssri) said :
#6

Printer HP P1005 is shown but printing not done.
Error message :

HP-Laserjet-P1005 File"/usr/lib/cups/backend/hp"not available:no such file or directory

unplugged the device and re-plugged and still the same.

Revision history for this message
Sri Srikumar (ssri) said :
#7

Now :
the printer HP-Laserjet-P1005 is shown.
the job is shown as "printing" and then after a while "printing completed" BUT there is no document printed.
any additional configuration/downloads to be done.
Thanks

Revision history for this message
Sri Srikumar (ssri) said :
#8

it seems that the CUPS problem has been solved and it is now only a Printer prolem.
Hence will close this question.