Yes, easily: Simulate a removal and see what happens.
- Example:
apt remove libcephfs2 --simulate
(No need for sudo
since you don't really want any changes)
Read the output carefully: If the list of removals is long, and/or includes critical packages like gnome-shell
or gdm
or ubuntu-desktop
or ubuntu-standard
, or applications that you use, then you know that removing it may be more trouble than is conveniently worthwhile.
Here's an edited example of simulating the removal of ubuntu-drivers-common
on a test system.
- Note the lack of
sudo
and the prominent --simulate
flag. Safety!
- Note that one of the impacted packages is
ubuntu-desktop
. That means ubuntu-drivers-common
was part of the original base install.
$ apt remove ubuntu-drivers-common --simulate
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
[...edit...]
The following packages were automatically installed and are no longer required:
apturl-common gir1.2-goa-1.0 gir1.2-snapd-1 python3-click python3-colorama
python3-dateutil python3-debconf python3-software-properties python3-xkit
software-properties-common unattended-upgrades update-notifier-common
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
apturl nautilus-share software-properties-gtk ubuntu-desktop
ubuntu-desktop-minimal ubuntu-drivers-common ubuntu-release-upgrader-gtk
update-manager update-notifier
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
[...edit...]