Ask Your Question
1

Accidentally Deleted Desktop Environment

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

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
2

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

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

Comments

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 -0600 )edit
2

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

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

Comments

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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 81 times

Last updated: Sep 13