How to remove duplicate packages installed with dnf on Fedora 24
Hello Fedorians,
I run dnf update -y
and I left my system update. At some point I noticed that a blank screen had occurred and all my windows were closed, including the terminal window that was running the command. After that I end up having a lot of duplicate packages. Maybe some packages were updated but it didn't erase the old packages... Any ideas on how to remove the duplicates? I think I have to remove the new packages and then update.
Also when i run:
cd emptydir
dnf reinstall * -y
I get this (Note that the packages downloaded in a previous command)
Looks like one or some of your Desktop components crashed during update and also let dnf crash (maybe it was executed in gnome-terminal?!). There is a discussion going on on the fedora-devel mailing list. See here for the entire thread.
To subscribe to the bug report, visit: https://bugzilla.redhat.com/show_bug....
+1. This explains it. I had no idea. But can I do something to fix my system?
You may try fix your corrupted package database to fix your problem: Quoting from here: Rebuilding RPM database: If you see warnings when working with RPM/DNF tools, your database might have gotten corrupted for some reason. It is possible to rebuild it and see if resolves your issues. Always back up
/var/lib/rpm/
first. To rebuild the database, run:I did what you said but nothing changes.