Ask Your Question
0

how to update fedora without loosing your settings?

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

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

Comments

1

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

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

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

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

It will not, on my experience.

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

It is against Fedora packaging guidelines to over write user settings or anything in $HOME - https://fedoraproject.org/wiki/Packag...FilesorDirectoriesunder.2Fsrv.2C.2Fusr.2Flocal.2Cor.2Fhome.2F.24USER

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

1 Answer

Sort by ยป oldest newest most voted
1

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

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

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

Comments

1

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 222 times

Last updated: Jul 16 '17