Unable to add a printer

Bug #2033059 reported by corrado venturini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu Mantic ISO dated 20230825 also with new cups NON SNAP i can't add a printer:
corrado@corrado-n02-mm-0825:~$ gnome-control-center -v
13:29:12.7220 cc-printers-panel[22026]: WARNING: Install system-config-printer which provides DBus method "GroupPhysicalDevices" to group duplicates in device list.
13:29:12.7650 cc-printers-panel[22026]: WARNING: Install system-config-printer which provides DBus method "GroupPhysicalDevices" to group duplicates in device list.
13:29:12.8234 cc-printers-panel[22026]: WARNING: Install system-config-printer which provides DBus method "GroupPhysicalDevices" to group duplicates in device list.
13:29:12.9378 cc-printers-panel[22026]: WARNING: Install system-config-printer which provides DBus method "GroupPhysicalDevices" to group duplicates in device list.
13:29:12.9703 cc-printers-panel[22026]: WARNING: Install system-config-printer which provides DBus method "GroupPhysicalDevices" to group duplicates in device list.
13:29:16.7045 cc-printers-panel[22026]: WARNING: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.fedoraproject.Config.Printing was not provided by any .service files
13:29:16.7074 cc-printers-panel[22026]: WARNING: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files
13:29:16.7085 cc-printers-panel[22026]: WARNING: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.fedoraproject.Config.Printing was not provided by any .service files
13:29:16.7085 cc-printers-panel[22026]: WARNING: Installation of the new printer failed.

corrado@corrado-n02-mm-0825:~$ apt policy cups
cups:
  Installed: 2.4.5-0ubuntu2
  Candidate: 2.4.5-0ubuntu2
  Version table:
 *** 2.4.5-0ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu mantic/main amd64 Packages
        100 /var/lib/dpkg/status
corrado@corrado-n02-mm-0825:~$

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: gnome-control-center 1:44.3-1ubuntu3
ProcVersionSignature: Ubuntu 6.3.0-7.7-generic 6.3.5
Uname: Linux 6.3.0-7-generic x86_64
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
CurrentDesktop: ubuntu:GNOME
Date: Fri Aug 25 13:30:10 2023
InstallationDate: Installed on 2023-08-25 (0 days ago)
InstallationMedia: Ubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20230825)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
corrado venturini (corradoventu) wrote :

Still same problem with gnome-control-center 1:45~rc-1ubuntu1
corrado@corrado-n14-mm-0829:~$ gnome-control-center -v
09:32:03.9597 cc-printers-panel[ 4329]: WARNING: Install system-config-printer which provides DBus method "GroupPhysicalDevices" to group duplicates in device list.
09:32:03.9886 cc-printers-panel[ 4329]: WARNING: Install system-config-printer which provides DBus method "GroupPhysicalDevices" to group duplicates in device list.
09:32:04.0006 cc-printers-panel[ 4329]: WARNING: Install system-config-printer which provides DBus method "GroupPhysicalDevices" to group duplicates in device list.
09:32:04.0212 cc-printers-panel[ 4329]: WARNING: Install system-config-printer which provides DBus method "GroupPhysicalDevices" to group duplicates in device list.
09:32:04.0324 cc-printers-panel[ 4329]: WARNING: Install system-config-printer which provides DBus method "GroupPhysicalDevices" to group duplicates in device list.
09:32:07.8373 cc-printers-panel[ 4329]: WARNING: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.fedoraproject.Config.Printing was not provided by any .service files
09:32:07.8402 cc-printers-panel[ 4329]: WARNING: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files
09:32:07.8412 cc-printers-panel[ 4329]: WARNING: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.fedoraproject.Config.Printing was not provided by any .service files
09:32:07.8413 cc-printers-panel[ 4329]: WARNING: Installation of the new printer failed.
corrado@corrado-n14-mm-0829:~$ apt policy gnome-control-center
gnome-control-center:
  Installed: 1:45~rc-1ubuntu1
  Candidate: 1:45~rc-1ubuntu1
  Version table:
 *** 1:45~rc-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu mantic/main amd64 Packages
        100 /var/lib/dpkg/status
corrado@corrado-n14-mm-0829:~$

Revision history for this message
Sebastien Bacher (seb128) wrote :

is system-config-printer-common installed? if not, does it make a difference to install it?

Revision history for this message
corrado venturini (corradoventu) wrote :

system-config-printer-common not installed. Will try.

corrado@corrado-n14-mm-0829:~$ apt policy system-config-printer
system-config-printer:
  Installed: (none)
  Candidate: 1.5.18-1ubuntu1
  Version table:
     1.5.18-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages
corrado@corrado-n14-mm-0829:~$ apt policy system-config-printer-common
system-config-printer-common:
  Installed: (none)
  Candidate: 1.5.18-1ubuntu1
  Version table:
     1.5.18-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages
corrado@corrado-n14-mm-0829:~$

Revision history for this message
corrado venturini (corradoventu) wrote :
Download full text (3.2 KiB)

corrado@corrado-n14-mm-0829:~$ sudo apt install system-config-printer-common
[sudo] password for corrado:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  gir1.2-secret-1 python3-cups python3-cupshelpers system-config-printer-udev
Suggested packages:
  gnome-software python3-smbc
The following NEW packages will be installed:
  gir1.2-secret-1 python3-cups python3-cupshelpers
  system-config-printer-common system-config-printer-udev
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 232 kB of archives.
After this operation, 1,393 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu mantic/main amd64 gir1.2-secret-1 amd64 0.21.0-1 [9,302 B]
Get:2 http://archive.ubuntu.com/ubuntu mantic/universe amd64 python3-cups amd64 2.0.1-5build3 [63.3 kB]
Get:3 http://archive.ubuntu.com/ubuntu mantic/universe amd64 python3-cupshelpers all 1.5.18-1ubuntu1 [31.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu mantic/universe amd64 system-config-printer-common all 1.5.18-1ubuntu1 [109 kB]
Get:5 http://archive.ubuntu.com/ubuntu mantic/universe amd64 system-config-printer-udev amd64 1.5.18-1ubuntu1 [19.4 kB]
Fetched 232 kB in 2s (124 kB/s)
Selecting previously unselected package gir1.2-secret-1:amd64.
(Reading database ... 199206 files and directories currently installed.)
Preparing to unpack .../gir1.2-secret-1_0.21.0-1_amd64.deb ...
Unpacking gir1.2-secret-1:amd64 (0.21.0-1) ...
Selecting previously unselected package python3-cups:amd64.
Preparing to unpack .../python3-cups_2.0.1-5build3_amd64.deb ...
Unpacking python3-cups:amd64 (2.0.1-5build3) ...
Selecting previously unselected package python3-cupshelpers.
Preparing to unpack .../python3-cupshelpers_1.5.18-1ubuntu1_all.deb ...
Unpacking python3-cupshelpers (1.5.18-1ubuntu1) ...
Selecting previously unselected package system-config-printer-common.
Preparing to unpack .../system-config-printer-common_1.5.18-1ubuntu1_all.deb ...
Unpacking system-config-printer-common (1.5.18-1ubuntu1) ...
Selecting previously unselected package system-config-printer-udev.
Preparing to unpack .../system-config-printer-udev_1.5.18-1ubuntu1_amd64.deb ...
Unpacking system-config-printer-udev (1.5.18-1ubuntu1) ...
Setting up python3-cups:amd64 (2.0.1-5build3) ...
Setting up gir1.2-secret-1:amd64 (0.21.0-1) ...
Setting up python3-cupshelpers (1.5.18-1ubuntu1) ...
Setting up system-config-printer-common (1.5.18-1ubuntu1) ...
Setting up system-config-printer-udev (1.5.18-1ubuntu1) ...
Processing triggers for dbus (1.14.8-2ubuntu1) ...
corrado@corrado-n14-mm-0829:~$ gnome-control-center -v
16:02:53.1577 cc-printers-panel[16578]: WARNING: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files
16:02:53.2529 GLib-GIO[16578]:CRITICAL: g_task_return_boolean: assertion '!task->ever_returned' failed
16:02:53.2530 cc-pri...

Read more...

Revision history for this message
corrado venturini (corradoventu) wrote :

after installing system-config-printer-common printer SEEMS installed but does not work.
printer remains with 'stampa in corso' == printing but does not print.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Is hplip installed? (For the case you are affected by bug #2033129.)

Revision history for this message
Sebastien Bacher (seb128) wrote :

the initial report was about not being able to add a printer which is a different issue from printing not working...

Revision history for this message
corrado venturini (corradoventu) wrote :
Download full text (18.8 KiB)

Installed hplip, removed and installed printer: now printer works fine: test page ant txt document successfully printed.

corrado@corrado-n14-mm-0829:~$ apt policy hplip
hplip:
  Installed: (none)
  Candidate: 3.22.10+dfsg0-2
  Version table:
     3.22.10+dfsg0-2 500
        500 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages
corrado@corrado-n14-mm-0829:~$ sudo apt install hplip
[sudo] password for corrado:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  bzip2 hplip-data libhpmud0 libimagequant0 libraqm0 libsane-hpaio mailcap
  mime-support printer-driver-hpcups printer-driver-postscript-hp
  python3-freetype python3-olefile python3-pil python3-reportlab
  python3-rlpycairo
Suggested packages:
  bzip2-doc hplip-doc hplip-gui python3-notify2 system-config-printer
  python-pil-doc python3-egenix-mxtexttools python-reportlab-doc
The following NEW packages will be installed:
  bzip2 hplip hplip-data libhpmud0 libimagequant0 libraqm0 libsane-hpaio
  mailcap mime-support printer-driver-hpcups printer-driver-postscript-hp
  python3-freetype python3-olefile python3-pil python3-reportlab
  python3-rlpycairo
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,702 kB of archives.
After this operation, 22.8 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu mantic/main amd64 bzip2 amd64 1.0.8-5build1 [34.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu mantic/universe amd64 hplip-data all 3.22.10+dfsg0-2 [6,459 kB]
Get:3 http://archive.ubuntu.com/ubuntu mantic/universe amd64 libhpmud0 amd64 3.22.10+dfsg0-2 [121 kB]
Get:4 http://archive.ubuntu.com/ubuntu mantic/universe amd64 libsane-hpaio amd64 3.22.10+dfsg0-2 [133 kB]
Get:5 http://archive.ubuntu.com/ubuntu mantic/universe amd64 printer-driver-hpcups amd64 3.22.10+dfsg0-2 [242 kB]
Get:6 http://archive.ubuntu.com/ubuntu mantic/main amd64 mailcap all 3.70+nmu1ubuntu1 [23.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu mantic/main amd64 mime-support all 3.66 [3,696 B]
Get:8 http://archive.ubuntu.com/ubuntu mantic/main amd64 libimagequant0 amd64 2.17.0-1 [34.6 kB]
Get:9 http://archive.ubuntu.com/ubuntu mantic/main amd64 libraqm0 amd64 0.10.1-1 [14.6 kB]
Get:10 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3-pil amd64 10.0.0-1 [436 kB]
Get:11 http://archive.ubuntu.com/ubuntu mantic/universe amd64 python3-freetype all 2.4.0-1 [83.1 kB]
Get:12 http://archive.ubuntu.com/ubuntu mantic/universe amd64 python3-rlpycairo all 0.3.0-2 [9,076 B]
Get:13 http://archive.ubuntu.com/ubuntu mantic/universe amd64 python3-reportlab all 4.0.4-11 [678 kB]
Get:14 http://archive.ubuntu.com/ubuntu mantic/universe amd64 hplip amd64 3.22.10+dfsg0-2 [203 kB]
Get:15 http://archive.ubuntu.com/ubuntu mantic/universe amd64 printer-driver-postscript-hp amd64 3.22.10+dfsg0-2 [1,192 kB]
Get:16 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3-olefile all 0.46-3 [33.8 kB]
Fetched 9,702 kB in 8s (1...

Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:45~rc-1ubuntu2

---------------
gnome-control-center (1:45~rc-1ubuntu2) mantic; urgency=medium

  * debian/control.in:
    - restore recommends on system-config-printer-common, it is needed
      as a backend for the printing panel (lp: #2033059)

 -- Sebastien Bacher <email address hidden> Thu, 31 Aug 2023 12:45:01 +0200

Changed in gnome-control-center (Ubuntu):
status: New → Fix Released
Revision history for this message
corrado venturini (corradoventu) wrote :

for hplip do I have to open a new issue?
Thanks

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

There are at least three bugs about that already. I don't think yet another bug would make much of a difference. :)

Revision history for this message
corrado venturini (corradoventu) wrote :

Problem disappeared installing from ISO: Ubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20230904.2)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Great, thanks for confirming!

Revision history for this message
Francois Thirioux (fthx) wrote :

(Mantic)
I still do not see any system-config-printer button in g-c-c printers tab.
Is that intended?
I can launch s-c-p from command line, though.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.