On 11/17/21 17:45, linux guy wrote:
dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire
home dir... !
So... went to do an upgrade to Fedora 35 and found that I was lacking
room for the downloads. I have /home set up on a separate drive, so I
did the following:
dnf system-upgrade download --downloaddir=/home --releasever=35
The upgrade went well, except when I rebooted into F35 I couldn't log
into my home directory. So I rebooted and logged into a console
session. When I did, I got an error message stating that /home/<me> was
missing. ls /home showed me that all my home directories are missing.
I'm not surprised. You just told dnf that /home was its working
directory, so it can do whatever it wants with it. It's going to want
to clean it out so only the relevant files are there.
I'm guessing that dnf downloaded all the packages for the upgrade to
/home and then did a rm -rf * on them, taking out my home directories in
the process. Can someone confirm this ?
Any chance I can recover the files ?
That depends on the filesystem, but you'll most likely need some sort of
data recovery software and it won't be easy to get the files back. How
much you can get back depends on when the delete happened relative to
the rpm downloading.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure