Removing Bluefin branding packages without breaking the entire image

I recently discovered the ublue-os/packages repo (nice!), and realized that it seems possible to uninstall the Bluefin branding packages in my custom build instead of doing all of this fiddly hacking in my build.sh.

I realize that I’m probably one of few Bluefin users who wants to do this, but I much prefer the “anonymous” look of stock Gnome.

Anyways, I’ve tried at length to remove, say, bluefin-logos, without breaking my image, but as soon as I do that gdm, gnome-shell, and most of the plymouth stuff gets autoremoved. I tried dnf5 remove --no-autoremove ... and dfn5 mark user gdm ..., but to no avail; gnome-shell and friends are still autoremoved. Next, I tried to explicitly reinstall these after uninstalling bluefin-logos but the build fails with Failed to resolve the transaction: Argument 'gnome-shell' matches only packages excluded by versionlock.

This brings me to the actual question:
How can I remove any of bluefin-logos, bluefin-cli-logos, bluefin-backgrounds, or bluefin-faces without also removing gdm and gnome-shell?

EDIT: I’m still blown away by how safe the atomic desktop approach makes this; I would have been very upset to have accidentally blown away gdm by uninstalling the wrong thing on arch or fedora or whatever else. This is yet another time where I am so thankful for all of the great work done by the vanguards of the atomic desktop!

There are probably dependency issues in the packages that could be more granular in order to allow for removal, file an issue in the packages repo and we’ll take a look!

2 Likes

Done :+1: Removing `bluefin-logos` also removes `gdm` and most of gnome · Issue #414 · ublue-os/packages · GitHub

1 Like

Turns out the solution was quite simple:

dnf5 swap -y bluefin-logos fedora-logos

Thanks!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.