On Fri, Nov 13, 2020 at 10:05:44PM +0530, Sreyan Chakravarty wrote:
On Fri, Nov 13, 2020 at 10:02 PM Jonathan Billings <billings(a)negate.org>
wrote:
> If you are using Fedora Workstation, you can't. gnome-shell is a
> protected package, and the definition of that is defined by the
> fedora-release-identity-workstation package.
>
>
Sorry for my ignorance but what are protected packages ?
https://dnf.readthedocs.io/en/latest/conf_ref.html
protected_packages
List of packages that DNF should never completely remove. They are
protected via Obsoletes as well as user/plugin removals.
The default is: dnf, glob:/etc/yum/protected.d/*.conf and
glob:/etc/dnf/protected.d/*.conf. So any packages which should be
protected can do so by including a file in /etc/dnf/protected.d
with their package name in it.
DNF will protect also the package corresponding to the running
version of the kernel. See also protect_running_kernel option.
The fedora-release-package-identity-workstation package has:
/etc/dnf/protected.d/gnome-shell.conf
... which has 'gnome-shell' in it.
> If you replace that with fedora-release-identity-kde, you'd
probably
> have better luck.
>
And could you elaborate on what you meant by this ?
If you have Fedora Workstation installed, you have the
'fedora-release-workstation' package installed, which has
'fedora-release-identity-workstation' as a requirement. You'd need to
swap it out for fedora-release-kde, which you could do with this:
sudo dnf swap fedora-release-workstation fedora-release-kde
I'm not sure if Fedora has documented changing from one kind of fedora
to another.
--
Jonathan Billings <billings(a)negate.org>