English
Ask Your Question
0

how to update fedora without loosing your settings?

asked 2017-07-16 18:09:05 +0000

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 ( 2017-07-16 18:12:42 +0000 )edit

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

bmayank ( 2017-07-16 18:25:49 +0000 )edit

It will not, on my experience.

aeperezt ( 2017-07-16 19:14:38 +0000 )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 ( 2017-07-16 20:34:10 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-07-16 19:05:53 +0000

updated 2017-07-16 20:44:19 +0000

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 ( 2017-07-16 20:53:29 +0000 )edit

Your Answer

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

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2017-07-16 18:09:05 +0000

Seen: 61 times

Last updated: Jul 16