Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-09 Thread Nader Nooryani
Of course!

Updated the Reddit post.  Thank you so much for your swift help here Brian
and Holder :)

On Thu, Sep 9, 2021 at 8:14 PM Brian Potkin  wrote:

> On Sat 04 Sep 2021 at 16:16:50 +0200, Nader Nooryani wrote:
>
> > Package: task-gnome-desktop
> > Version: 3.68
> >
> > As of Debian 11, Print Server is no longer included as an option in the
> > Debian installer if you use the defaults: Debian desktop environment,
> GNOME
> > and standard system utilities.  Ref:
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950553
> >
> > This leaves the user without CUPS after a default install.  This should
> > perhaps be included in task-gnome-desktop
> >
> > Suggestion: It may be wise to include CUPS in task-gnome-desktop or
> > somewhere else, since there are no instructions informing the user how
> they
> > can enable support for printing.
> >
> > I am using Linux debian 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4
> (2021-08-03)
> > x86_64 GNU/Linux
>
> From a previous mail to -boot:
>
>  > I have written a bit more about this on Reddit as well.
>  > https://www.reddit.com/r/debian/comments/pgl6c9/debian_11_and_printing/
>
> It would be nice if the reddit thread could be updated to record the
> responsive and timely intervention from the d-i maintainers.
>
> Regards,
>
> Brian.
>
>
>


Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-09 Thread Brian Potkin
On Sat 04 Sep 2021 at 16:16:50 +0200, Nader Nooryani wrote:

> Package: task-gnome-desktop
> Version: 3.68
> 
> As of Debian 11, Print Server is no longer included as an option in the
> Debian installer if you use the defaults: Debian desktop environment, GNOME
> and standard system utilities.  Ref:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950553
> 
> This leaves the user without CUPS after a default install.  This should
> perhaps be included in task-gnome-desktop
> 
> Suggestion: It may be wise to include CUPS in task-gnome-desktop or
> somewhere else, since there are no instructions informing the user how they
> can enable support for printing.
> 
> I am using Linux debian 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03)
> x86_64 GNU/Linux

>From a previous mail to -boot:

 > I have written a bit more about this on Reddit as well.
 > https://www.reddit.com/r/debian/comments/pgl6c9/debian_11_and_printing/

It would be nice if the reddit thread could be updated to record the
responsive and timely intervention from the d-i maintainers.

Regards,

Brian.



Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-08 Thread Holger Wansing
Control: tags -1 + pending


Holger Wansing  wrote (Tue, 7 Sep 2021 01:41:13 +0200):
> > So we will need to add cups to all the *-desktop tasks probably, to
> > make this work again.
> > (Rationale: the print server task has been removed from tasksel under the
> > assumption, that cups is installed with all desktop environments anyway.
> > However, this is not true as it seems, at least not now.)
> 
> The attached diff should do it.

Pushed.
Tagging this bug as pending


Holger


-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Processed: Re: Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-08 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + pending
Bug #993668 [task-gnome-desktop] Install CUPS for all *-desktop tasks, now that 
task-print-service is no longer existing
Added tag(s) pending.

-- 
993668: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993668
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: Re: Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-06 Thread Debian Bug Tracking System
Processing control commands:

> retitle -1 Install CUPS for all *-desktop tasks, now that task-print-service 
> is no longer existing
Bug #993668 [task-gnome-desktop] CUPS is missing after a default GNOME Desktop 
Install
Changed Bug title to 'Install CUPS for all *-desktop tasks, now that 
task-print-service is no longer existing' from 'CUPS is missing after a default 
GNOME Desktop Install'.
> tags -1 + patch
Bug #993668 [task-gnome-desktop] Install CUPS for all *-desktop tasks, now that 
task-print-service is no longer existing
Added tag(s) patch.

-- 
993668: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993668
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-06 Thread Holger Wansing
Control: retitle -1 Install CUPS for all *-desktop tasks, now that 
task-print-service is no longer existing
Control: tags -1 + patch


Holger Wansing  wrote (Sun, 5 Sep 2021 21:48:35 +0200):
> Hmm, apparently you are right.
> (I was under the impression, that the libcups2 package pulls all the needed
> cups packages, but I was wrong here.)
> 
> So we will need to add cups to all the *-desktop tasks probably, to
> make this work again.
> (Rationale: the print server task has been removed from tasksel under the
> assumption, that cups is installed with all desktop environments anyway.
> However, this is not true as it seems, at least not now.)

The attached diff should do it.

Holger

-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076
diff --git a/debian/control b/debian/control
index 9cff6f6d..1f469e86 100644
--- a/debian/control
+++ b/debian/control
@@ -31,80 +31,82 @@ Recommends: laptop-detect, tasksel
 Conflicts: tasksel (<< 2.67)
 Description: official tasks used for installation of Debian systems
  This package contains data about the standard tasks available on a Debian
  system.
 
 Package: task-desktop
 Architecture: all
 Description: Debian desktop environment
  This task package is used to install the Debian desktop.
 Depends: ${misc:Depends},
 	xorg,
 	xserver-xorg-video-all,
 	xserver-xorg-input-all,
 	desktop-base,
 Recommends:
 # One of the actual desktop tasks is needed to get a full desktop environment.
 # The order here is significant when installing this task manually;
 # when tasksel installs this task it instead selects one of these based
 # on the tasksel/desktop debconf setting.
 	task-gnome-desktop | task-xfce-desktop | task-kde-desktop | task-lxde-desktop | task-gnome-flashback-desktop | task-cinnamon-desktop | task-mate-desktop | task-lxqt-desktop,
 # For use by third-party apps.
 	xdg-utils,
 # Font with wide unicode coverage, prevents “Unicode tofu”
 	fonts-symbola,
 # mdns/zeroconf stuff
 	avahi-daemon,
 	libnss-mdns,
 # desktop machines might not be up 24/7
 	anacron,
 # Make sure that CDs etc can be ejected. May not be installed by d-i.
 	eject,
 # wireless networking tools (they're more and more used on desktops too)
 	iw,
 # sound
 	alsa-utils,
 # For use by users, to elevate privileges
 	sudo,
 # firefox is the most popular web browser at the moment,
 # although both gnome and kde offer their own too
 	firefox | firefox-esr,
+# print system
+	cups,
 
 Package: task-gnome-desktop
 Architecture: all
 Description: GNOME
  This task package is used to install the Debian desktop, featuring
  the GNOME desktop environment, and with other packages that Debian users
  expect to have available on the desktop.
 Depends: ${misc:Depends},
 	task-desktop,
 # only depend on a very minimal gnome desktop, to ensure it fits on CD1
 	gnome-core,
 Recommends:
 # The full gnome desktop environment should be included if possible
 # even if the larger gnome metapackage doesn't fit.
 	gnome,
 # Package management
 	synaptic,
 # GNOME support in LibreOffice
 	libreoffice-gnome,
 # libreoffice is the best word processor / office suite at the moment
 	libreoffice-writer,
 	libreoffice-calc,
 	libreoffice-impress,
 # make help menu work
 	libreoffice-help-en-us,
 # make thesaurus work
 	mythes-en-us,
 # make spellchecker work
 	hunspell-en-us,
 # make hyphenation work
 	hyphen-en-us,
 # we need a working network setup at least
 	network-manager-gnome,
 
 Package: task-gnome-flashback-desktop
 Architecture: all
 Description: GNOME Flashback
  This task package is used to install the Debian desktop, featuring
  the GNOME Flashback desktop environment, and with other packages that
  Debian users expect to have available on the desktop.


Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-05 Thread Holger Wansing
Hi,

Brian Potkin  wrote (Sun, 5 Sep 2021 11:14:43 +0100):
> I have a recent bullseye installation that has only the base system.
> Therefore, I can be confident that 'apt install task-x-desktop
> will show all the packages to be installed. Only kde and cinnamon
> install the cups package.
> 
> libcups2 has shared libraries. For a working printing system it is
> essential to have the scheduler, cupsd, available, This is in the
> cups-daemon package and would be installed when cups is pulled in.

Hmm, apparently you are right.
(I was under the impression, that the libcups2 package pulls all the needed
cups packages, but I was wrong here.)

So we will need to add cups to all the *-desktop tasks probably, to
make this work again.
(Rationale: the print server task has been removed from tasksel under the
assumption, that cups is installed with all desktop environments anyway.
However, this is not true as it seems, at least not now.)


Holger

-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-05 Thread Brian Potkin
On Sat 04 Sep 2021 at 21:09:56 +0200, Holger Wansing wrote:

> Hi,
> 
> Nader Nooryani  wrote (Sat, 4 Sep 2021 16:16:50 
> +0200):
> > As of Debian 11, Print Server is no longer included as an option in the
> > Debian installer if you use the defaults: Debian desktop environment, GNOME
> > and standard system utilities.  Ref:
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950553
> > 
> > This leaves the user without CUPS after a default install.  This should
> > perhaps be included in task-gnome-desktop
> 
> I have tested this, and CUPS got installed here with GNOME desktop (default 
> install).
> 
> The dependency chain turns out to be:
> task-gnome-desktop -> gnome-core -> system-config-printer-common -> 
> cups-pk-helper -> libcups2
> 
> (BTW: CUPS also gets installed with the other desktops via
> gnome-core -> system-config-printer-common -> cups-pk-helper -> libcups2)
> 
> So, I cannot reproduce this.
> 
> 
> Do you have the installation logs available?

I have a recent bullseye installation that has only the base system.
Therefore, I can be confident that 'apt install task-x-desktop
will show all the packages to be installed. Only kde and cinnamon
install the cups package.

libcups2 has shared libraries. For a working printing system it is
essential to have the scheduler, cupsd, available, This is in the
cups-daemon package and would be installed when cups is pulled in.

Regards,

Brian.



Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-05 Thread Brian Potkin
On Sun 05 Sep 2021 at 01:48:06 +0200, Nader Nooryani wrote:

> Sorry, I should have mentioned that I have the packages you mention as well
> as ipp-usb.
> Will Debian detect and add both driverless-enabled printers and ones that
> require drivers?

Yes - if the scheduler is present. Printing, whether driverless or not,
requires cupsd.

> When I check Settings -> Printers in GNOME I am presented with this "Sorry!
> The system printing service doesn't seem to be available."

The scheduler is not present. 'apt install cups'.

Regards,

Brian.



Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-04 Thread Nader Nooryani
Sorry, I should have mentioned that I have the packages you mention as well
as ipp-usb.
Will Debian detect and add both driverless-enabled printers and ones that
require drivers?

When I check Settings -> Printers in GNOME I am presented with this "Sorry!
The system printing service doesn't seem to be available."

I don't have a printer available to test, but I was under the impression
that libcups2 wasn't the only library required for printing.

On Sat, Sep 4, 2021 at 9:43 PM Holger Wansing  wrote:

> Hi,
>
> Holger Wansing  wrote (Sat, 4 Sep 2021 21:09:56
> +0200):
> > (BTW: CUPS also gets installed with the other desktops via
> > gnome-core -> system-config-printer-common -> cups-pk-helper -> libcups2)
>
> Hrr, copy-and-paste error here.
> Should have been:
>
> (BTW: CUPS also gets installed with the other desktops via
> task-xxyy-desktop -> system-config-printer -> libcups2 )
>
>
>
> And:
> KDE's dependency chain:
> task-kde-desktop -> print-manager -> libcups2
>
>
>
> --
> Holger Wansing 
> PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076
>


Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-04 Thread Holger Wansing
Hi,

Holger Wansing  wrote (Sat, 4 Sep 2021 21:09:56 +0200):
> (BTW: CUPS also gets installed with the other desktops via
> gnome-core -> system-config-printer-common -> cups-pk-helper -> libcups2)

Hrr, copy-and-paste error here.
Should have been:

(BTW: CUPS also gets installed with the other desktops via
task-xxyy-desktop -> system-config-printer -> libcups2 )



And: 
KDE's dependency chain:
task-kde-desktop -> print-manager -> libcups2



-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-04 Thread Holger Wansing
Hi,

Nader Nooryani  wrote (Sat, 4 Sep 2021 16:16:50 +0200):
> As of Debian 11, Print Server is no longer included as an option in the
> Debian installer if you use the defaults: Debian desktop environment, GNOME
> and standard system utilities.  Ref:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950553
> 
> This leaves the user without CUPS after a default install.  This should
> perhaps be included in task-gnome-desktop

I have tested this, and CUPS got installed here with GNOME desktop (default 
install).

The dependency chain turns out to be:
task-gnome-desktop -> gnome-core -> system-config-printer-common -> 
cups-pk-helper -> libcups2

(BTW: CUPS also gets installed with the other desktops via
gnome-core -> system-config-printer-common -> cups-pk-helper -> libcups2)

So, I cannot reproduce this.


Do you have the installation logs available?


Holger


-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#993668: CUPS is missing after a default GNOME Desktop Install

2021-09-04 Thread Nader Nooryani
Package: task-gnome-desktop
Version: 3.68

As of Debian 11, Print Server is no longer included as an option in the
Debian installer if you use the defaults: Debian desktop environment, GNOME
and standard system utilities.  Ref:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950553

This leaves the user without CUPS after a default install.  This should
perhaps be included in task-gnome-desktop

Suggestion: It may be wise to include CUPS in task-gnome-desktop or
somewhere else, since there are no instructions informing the user how they
can enable support for printing.

I am using Linux debian 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03)
x86_64 GNU/Linux