server becomes desktop unintentionally

Bug #1972944 reported by Shi-Xuan Lin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libnotify (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu Release: 20.04
package version: 0.7.9-1ubuntu2

What happened:
when libnotify4 is installed by apt, desktop environment is also installed.

Explanation:
I think it is fair to say that, a user of Ubuntu server don't want unintentional installation of desktop environment.
The problem is discussed by others:
https://github.com/ros-perception/perception_pcl/issues/355
https://gitlab.kitware.com/vtk/vtk/-/issues/18489#note_1156770

Under my research, the central reason is that, gnome-shell has been added to libnotify4's Recommended dependency in focal (Ubuntu20.04). gnome-shell should not be Recommended dependency for a pure library, causing unintentional installation.
Actually, gnome-shell in libnotify4's dependency has dropped from Recommended to Suggested in jammy (Ubuntu22.04). This change should be treated as error fixing and be updated to 20.04 as well.

current workaround:
manually install the problematic libnotify4 in early setting
>>sudo apt install libnotify4 --no-install-recommends

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libnotify (Ubuntu):
status: New → Confirmed
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.