Ask Your Question

dnf/rpm stuck on "aborted", cinnamon hangs

asked 2016-03-08 17:51:32 -0500

nathdwek gravatar image

updated 2016-03-10 03:09:48 -0500

The day before the problems appeared, I started to install Mplab. In order to do that I had to install a couple of 32bits libraries. I did so on an unstable wifi connection and left my laptop be. I believe it went to sleep and didn't complete the operation. Later that day (I believe I didn't shut my laptop down that day), I completed the installation of those dependencies and then of Mplab and its different compilers with no apparent issue.

Today, when I started my machine, I was greeted by a "Cinnamon has crashed, you are now in fallback mode" message. I couldn't do anything in graphical mode. The only two icons left are firefox and chrome and nothing happens when I click them. I went to a tty session to see what could be the problem. My first instinct was to update everything and check if the last package/install operation was the culprit.

I first successfully uninstalled Mplab IDE, but to no avail (Maybe I shouldn't have started with that, but for some reason I was convinced it was the problem). Then when I tried dnf upgrade, I got aborted. Any dnf operation now results in aborted or aborted (core dumped).

I tried rpm --rebuilddb and got the same output.

It seems something went wrong with my packaging system but I don't know what, why, and how to undo it. Any (even just informative ones) dnf or rpm command fails so I can't even easily inspect what I did.

I'm on fedora 23 with cinnamon (official spin). What is this error due to? How could I try to reset my packaging system to some previous state in this situation?

edit retag flag offensive close merge delete


Welcome to ask.fedora. I don't know just what's happened to your packaging system, but I do have a suggestion. Try running sudo dnf clean all and see if that helps. If not, either edit your question to report what happens, or use a comment because you're only allowed one answer per question and it'd be a shame to burn it for something like that.

sideburns gravatar imagesideburns ( 2016-03-08 19:43:36 -0500 )edit

As I said, like any other dnf operation, it results in aborted (cored dumped). I mentioned it explicitly in my question now.@sideburns

nathdwek gravatar imagenathdwek ( 2016-03-09 03:23:44 -0500 )edit

Uninstalling Mplab was a reasonable thing to do, and couldn't have made anything worse. Have you tried package-cleanup --problems yet?

sideburns gravatar imagesideburns ( 2016-03-09 18:05:10 -0500 )edit

Can't tell you what is wrong, but before attempting to rebuild the rpm database, backup the files "__db.nnn" in the directory /var/lib/rpm and then remove them. Then run "rpm --rebuilddb" again.

If that does not help, your rpm database is in a sad state.

jmt gravatar imagejmt ( 2016-03-09 19:19:21 -0500 )edit

@jmt there are no *db.nnn files in my /var/lib/rpm directory, only Basenames Conflictname Dirnames Enhancename Filetriggername Group Installtid Name Obsoletename Packages Providename Recommendname Requirename Sha1header Sigmd5 Suggestname Supplementname Transfiletriggername Triggername.

I moved /var/lib/rpm to /var/lib/rpm.bak and tried rpm --rebuilddb. It still results in aborted. Thanks for your help.

nathdwek gravatar imagenathdwek ( 2016-03-10 03:15:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-10 01:43:32 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

"I had to install a couple of 32bits libraries" bad bad. Try it...

1) su

2) yum-deprecated clean all && yum-deprecated -y update

3) yum-deprecated groupinfo cinnamon-desktop | tr -d '+' | sed '/:/d'  | tr -d '=' | tr -d '[:blank:]' | sed '/^-/ s/^-//p' | sed '/^$/d' | tee /tmp/group-install

4) yum-deprecated -y install $(cat /tmp/group-install | tr '\n' ' ')

good luck...

edit flag offensive delete link more


Why is installing 32 bits libraries so bad? I'm forced to do it on all my installs where I need Mplab and it never caused me problems before. Shouldn't dnf complain if it was such a bad idea?

Anyway, I get yum-deprecated: command not found. Thanks for your help.

nathdwek gravatar imagenathdwek ( 2016-03-10 03:19:40 -0500 )edit

1) Mix 32 and 64-bit libraries; a bad idea, you can damage your system; when you install a rpm, it requires automatic depedencies, just as when you uninstall; read this and open your mind.

2) If "yum-deprecated" doesn't exist is bad; you deleted it. You can extract the current .rpm for "rpm" also "dnf", "yum-deprecated" and put to specific path; and cross fingers...

davidva gravatar imagedavidva ( 2016-03-10 09:46:14 -0500 )edit

Question Tools


Asked: 2016-03-08 17:51:32 -0500

Seen: 641 times

Last updated: Mar 12 '16