OS: Ubuntu Server 22.04
Friend has been setting up a server and he does not need snap so he wanted to remove it, but once he tried removing it it showed ubuntu-server-minimal as a dependency.
user@server:~$ sudo apt remove snapd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
squashfs-tools
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
snapd ubuntu-server-minimal
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 89.6 MB disk space will be freed.
Do you want to continue? [Y/n]
Is there a way to NOT remove the meta package? And if he successfully removes snapd without the meta package will it be re-added when the meta package upgrades (if that's a thing)? (Will blocking it from apt (like linux mint does) fix that?)