Hi there, I am thinking of reinstalling Bitcoin Core in Flatpak packaging and installing a Rpm package.Now, I am wondering is it possible to reinstall BC without any lose of the Blockchain data ?
I would hardly recommend to back up your private keys before any move, that way if something goes wrong with the reinstall or the upgrade you will not lost your address and balances. This is just a security measure and a back up for if something doesn't work fine in the move.
The bad part about losing all blockchain data is the re-sync process that could take some days, but as other users mentioned, if you don't delete the ~/.bitcoin folder then you shouldn't lose the blockchain data.