Ask Your Question

Exit dnf while updating by mistake

asked 2016-09-03 09:34:17 -0600


I exit dnf while updating by mistake clicking in the terminal's close button. I tried to 'dnf update' again, but it appears: "Nothing to do. Complete!".

The problem is that now I can't open Google Chrome, it shows: "/usr/bin/google-chrome-stable" No such file or directory. When I run: 'rpm -aq | grep -i chrome', appears to be installed. I decided to remove it and reinstall and now chrome is working fine but now, everytime I open chrome, it shows: "Choose password for new keyring", I think this is from seahorse. Why chrome asks to store keys? I choose a new key and now chrome is working fine.

The problem is, dnf has stopped in the middle of update, chrome was missing, probably other programs will be missing to. Now I am worrying about that. How can I check the dnf log? Is there a command from dnf I can run to look for errors?

I've tried to look in the /var/log/messages but it's huge, I don't even know where to start.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-09-03 16:53:23 -0600

dokterw gravatar image

I would try to revert back to your previous update.

dnf history list

Find which transaction it was (most likely the most recent).

dnf history undo <number>

You can read more about it here:

man dnf
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-09-03 09:34:17 -0600

Seen: 109 times

Last updated: Sep 03 '16