Re: dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home dir !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



linux guy writes:

« HTML content follows »

Sorry, I've been using Redhat/Fedora for 20 years.  Never once lost data like this.  This is bad programming, period !

I partially agree. I've been updating since Fedora Core 4, and I never needed to make a backup of anything.

I think this goes down to a practical point. I wouldn't be comfortable pointing any tool to any directory, ostensibly for the purpose of letting the tool use it for its internal purposes, where I had important data.

At the very least I would create an empty subdirectory there, and point the tool there. This removes all ambiguity in my mind.

Especially in this case: I know that after a system-upgrade the download directory gets automatically wiped. I'm keenly aware of it, I have several machines to update, and after the initial download I make a copy of the /var/lib/dnf/system-upgrade directory to the next machine before starting this one's upgrade, to avoid having to redownload all this stuff. If I don't do that, it gets wiped and everything needs to get downloaded again.

I would be quite nervous at repointing this to /home, that's too close to comfort.

I wouldn't even repoint anything. If this partition was full I'd just replace /var/lib/dnf/system-upgrade with a symbolic link to an empty directory on another partition, and don't change a thing for the download and the reboot.


Attachment: pgpoB5rbLLR4z.pgp
Description: PGP signature

_______________________________________________
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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux