tl;dr: I ran yum update -y, then halfway a huge update (1.1GB) accidentally hit ctrl+C mid-way. This broke everything.
500 yum check all 501 package-cleanup --problems 502 package-cleanup --dupes 503 package-cleanup --cleandupes 504 yum-complete-transaction 505 yum update -y 506 yum update --skip-broken -y 507 yum-complete-transaction --cleanup-only 508 yum update --skip-broken -y 509 yum check all 510 yum clean all 511 yum makecache 512 rpm --rebuilddb 513 yum update 514 package-cleanup 515 package-cleanup --cleandupes 516 package-cleanup --cleandupes --skip-broken 517 yum history 518 yum history undo 78 519 yum history undo 78 --skip-broken 525 package-cleanup --cleandupes 526 package-cleanup --cleandupes --skip-broken
To no avail. Is there anything else I can try? This seems to be just about everything the internet suggests I can try.
It seems silly to me that yum breaks this easily, I mean how common is it that an update gets halted mid-way because of some error? I thought yum was enterprise software, also included in distros like RHEL. Even Windows knows how to recover from crashed/broken/canceled updates without much user intervention.. But ah well.
My system runs Linux chlorine 3.18.6-200.fc21.x86_64 #1 SMP Fri Feb 6 22:59:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux (Fedora 21).
My main issue seems to be here:
--> Finished Dependency Resolution Error: Trying to remove "systemd", which is protected Error: Trying to remove "yum", which is protected ** Found 394 pre-existing rpmdb problem(s), 'yum check' output follows: ModemManager-1.4.4-2.fc21.x86_64 is a duplicate with ModemManager-1.4.0-1.fc21.x86_64
I haven't rebooted yet and my system is currently still running fine.
Any suggestions and ideas are greatly appreciated! If this thread doesn't work out then I'm probably going to reinstall my system.