Description of problem: yum update gives me this: Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction (shutdown inhibited) Transaction couldn't start: file /media from install of filesystem-3.2-28.fc22.x86_64 conflicts with file from package filesystem-3.2-27.fc22.x86_64 [('file /media from install of filesystem-3.2-28.fc22.x86_64 conflicts with file from package filesystem-3.2-27.fc22.x86_64', (7, '/media', 897L))] Version-Release number of selected component (if applicable): filesystem-3.2-28.fc22.x86_64 How reproducible: consistent Steps to Reproduce: 1. yum update
On a VPS of mine, I was stupid enough to remove the filesystem package in the hopes of installing the newer version later, and at this point everything simply blew up :\ (mainly all possible shell commands apart from cd were unavailable) ... perhaps this should be a core/critical package (???)
So on my local machine, I mv'd /media to /media.safe and then yum update ran totally fine. After the update I noticed the symlink /media -> /run/media but after a reboot /run/media was no longer there, at which point I deleted the symlink and mv'd /media.safe back to /media. Probably a crappy hack but all seems well now.
Thanks for report and sorry for broken -28.fc22. Renaming the directory is recommended by the packaging guidelines ( https://fedoraproject.org/wiki/Packaging:Directory_Replacement ) and was done in -29.fc22 . Closing RAWHIDE.
Thanks Ondrej!
*** Bug 1124908 has been marked as a duplicate of this bug. ***