On 18/11/2021 01: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 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 ?


And yes - it's a bad program logic design in my view - I remember 'rdiff-backup' which would 'recover' to a manually given target path which it then would empty if there was nothing to recover - so whatever was there in that 'target' was lost. So yes, file a bugzilla, I'd vote it up - if/when you do mail it back here.

good luck, L.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to