Score:-1

Is there a single metapackage corresponding to an Ubuntu flavour?

gb flag

Like the title says, I am looking for a single metapackage that depends on everything else needed for a functioning installation of an Ubuntu flavour like Ubuntu GNOME, Kubuntu, or Ubuntu Server.

This is so that I can mark it as manually installed, mark everything else automatically installed, and get rid of unneded packages (using apt autopurge) that have accumulated over the years.

Update: Reworded the question to avoid misunderstandings.

Update 2: I use 22.10

Update 3: The closest I got is 3 metapackages: ubuntu-desktop (kubuntu-desktop for Kubuntu), ubuntu-standard (turns out this isn't needed), ubuntu-minimal, and linux-generic or another kernel metapackage. Is a more minimal set possible? Why doesn't ubuntu-desktop depend on a kernel, for example?

ᅙᄉᅙ avatar
gb flag
Their package descriptions seem contradictory / incorrect, hence the question. Eg. `ubuntu-standard` says it depends on everything `ubuntu-minimal` does, plus more. But this is not actually the case.
mook765 avatar
cn flag
What do you mean with `unneeded packages`? Your idea of marking packages the way you describe sounds dangerous and will likely end with a broken system.
user535733 avatar
cn flag
There is no such single metapackage simply because nobody with upload rights has needed it enough to bother. That's not how Ubuntu is created nor installed. You are asking why a goat lacks wings. Simply use the four metapackages you found --instead of one-- and then test the autoremoval. Don't agree to any removal without reading carefully; the output might suggest a modification or two.
ᅙᄉᅙ avatar
gb flag
@mook765 It does not result in a broken system - having only the 4 above mentioned metapackages marked as manual and removing everything that's unneeded with `apt autopurge` worked fine. However, I wonder if more could be removed
muru avatar
us flag
"Why doesn't ubuntu-desktop depend on a kernel, for example?" Why should it? It's perfectly reasonable to run Ubuntu in a container, in which case the kernel will come from the host system and the package shouldn't be depending on it.
Score:6
vn flag

A metapackage isn't 1:1 equal to a manifest (which is what exactly defines what goes into the CD image of each distribution).

However, if you're "only" referring to the desktop environments for the different Ubuntu flavors, then metapackages exist that will allow you to install another desktop environment on an Ubuntu Server or another default Ubuntu installation.

The following desktop environment metapackages exist for 22.04 Jammy and 22.10 Kinetic (in the universe repository):

Each flavor may have additional tools and applications that can/must be installed along with the desktop environment to provide the full experience.

muru avatar
us flag
I think for Unity the package is [`ubuntu-unity-desktop`](https://packages.ubuntu.com/jammy/ubuntu-unity-desktop)
Artur Meinild avatar
vn flag
You're right, thanks for pointing that out - that makes much more sense now.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.