Ask Your Question

how to update fedora without loosing your settings?

asked 2017-07-16 13:09:05 -0600

Is there any way that I could update fedora 25 to fedora 26 so that I might end up saving my settings like I have KDE desktop in my fedora 25 and also a different set of animation and icons. So is there any way that I can update fedora without losing them or updating fedora will lead to the default settings of Fedora 26?

edit retag flag offensive close merge delete



Using dnf system-upgrade will keep everything working read this first

aeperezt gravatar imageaeperezt ( 2017-07-16 13:12:42 -0600 )edit

but there is nothing listed that fedora will over write settings or not ?

bmayank gravatar imagebmayank ( 2017-07-16 13:25:49 -0600 )edit

It will not, on my experience.

aeperezt gravatar imageaeperezt ( 2017-07-16 14:14:38 -0600 )edit

It is against Fedora packaging guidelines to over write user settings or anything in $HOME -

bodhi.zazen gravatar imagebodhi.zazen ( 2017-07-16 15:34:10 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-07-16 14:05:53 -0600

updated 2017-07-16 15:44:19 -0600

You update with

sudo dnf upgrade

This will not affect your settings in your home directory.

You do a system upgrade with

sudo dnf system-upgrade download --refresh --releasever=26

Many people need to allow erasing of conflicting packages

dnf system-upgrade download --allowerasing --releasever=26

See DNF System Upgrade for details and possible post upgrade cleanup.

Neither upgrade or system-upgrade should change anything in your home directory, ie your settings should not be affected. Sometimes, however, although uncommon, there is a conflict between version of gnome or in your case kde and/or other applications. In that event you may need to adjust or reset your settings.

EDIT from the discussion / questions in the comments, Fedora packaging guidelines do not allow packages to modify a users $HOME directory or files within. See the Fedora packaging guidelines for details

In addition, no Fedora package can contain files or directories or modify files under:

/usr/local as these directories are not permitted to be used by Distributions in the FHS

/home/$USER as users can arbitrarily modify the files in their home directories and rpm packages that modify those files run the risk of destroying user data. Additionally, sites may be nfs mounting /home on many different types of systems or even network automounting them on demand. Modifying files in home directories that are thus configured will have negative effects in both of these situations.

edit flag offensive delete link more



Also, files in '/etc' marked as configuration files are saved.

villykruse gravatar imagevillykruse ( 2017-07-16 15:53:29 -0600 )edit

Question Tools

1 follower


Asked: 2017-07-16 13:09:05 -0600

Seen: 457 times

Last updated: Jul 16 '17