Ask Your Question

Gnome removed after doing dnf update --allowerasing

asked 2018-12-17 10:19:11 -0500

Jordy gravatar image

After doing a normal dnf update, Fedora stated it may be advisable to do a dnf update --best --allowerasing. I'm not exactly sure why, but i did just that :(

After doing this, Fedora 29 started as normal, but when Gnome was usually loading, i just got a black terminal screen, stating: $ login my-pc:

After some searching, i saw that and were missing, so i looked at my dnf history list. This showed that it removed a lot of packages. Most of them Gnome, Xorg-x11 or Qt related.

Trying to do a dnf history rollback xxx or dnf history undo xxx just results in a message that pakages are missing, so that doesn't work. Now i don't seem to get Gnome back. How can i (re)install Gnome, or is there something else wrong maybe?

P.s. i looked shortly to dnf group list and saw GNOME Desktop Environment at the Available Groups, but don't know if i should do this, and if thats safe.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-12-18 02:38:21 -0500

Jordy gravatar image

Thank you for the tip, will never do that again :)

I just reinstalled @gnome-desktop and that seemed to do the trick!

Don't know for sure which dependency was unsatisfied, but hplib sounds familiar... I'm one of those guys who wants dnf update to be completely clean/ up-to-date, but i reckon that's not smart :) Thanks for the help!

edit flag offensive delete link more

answered 2018-12-17 14:06:47 -0500

florian gravatar image

updated 2018-12-17 14:08:13 -0500

You should do crazy stuff like --allowerasing only if you know what you are doing.

If sudo dnf history undo last does not work, you can try to reinstall the entire Gnome Desktop.

To reinstall gnome desktop and maybe gdm (who knows what was removed):

sudo dnf install @gnome-desktop
sudo dnf reinstall gdm

Next time, if there is a warning about unsatified dependencies (was it about hplip?), don't do what dnf suggests unless you understand what it's doing.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-12-17 10:19:11 -0500

Seen: 86 times

Last updated: Dec 18 '18