Ask Your Question

Accidentally Deleted Desktop Environment

asked 2018-09-12 12:27:29 -0500

mb3 gravatar image

I was trying to delete KDE Plasma from my machine so I did sudo dnf group remove kde-desktop-environment and sudo dnf autoremove ... As you can imagine, it ended up deleting GNOME as well, so now none of the Fedora kernels are available to boot into when I start my computer. I still have an intact Ubuntu partition, but how do I get my beloved Fedora back?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-09-13 00:50:36 -0500

genodeftest gravatar image

If you are an experienced admin/user, there is an alternative to @florian's solution:

You may also be able to boot from a Fedora live image, use chroot to "get into your Fedora installation" and then reinstall all the packages you've uninstalled. dnf history info and dnf history undo or dnf history rollback may help.

edit flag offensive delete link more


chrooting from Ubuntu may or may not work and it may break somewhere during package installation so I would not recommend trying it.

genodeftest gravatar imagegenodeftest ( 2018-09-13 00:51:43 -0500 )edit

answered 2018-09-12 12:29:10 -0500

florian gravatar image

I would suggest you reinstall Fedora. It's the fastest and safest option I can think of.

edit flag offensive delete link more


And if you do that, run sudo dnf mark install '*' as the first thing you do after booting into the newly installed system. If you don't, dnf autoremove will tend to remove way too much.

villykruse gravatar imagevillykruse ( 2018-09-13 02:00:13 -0500 )edit

Question Tools

1 follower


Asked: 2018-09-12 12:27:29 -0500

Seen: 525 times

Last updated: Sep 13 '18