English
Ask Your Question
3

best way to update fedora from command line

asked 2014-09-18 16:17:32 +0000

updated 2014-09-28 20:30:11 +0000

mether gravatar image

I was wondering what is the best way to update my fedora os from command line.

  1. yum update (safe ?)
  2. dnf update (fast but buggy)
  3. pkcon update ( no control )

For example as nvidia blob user i always got into trouble with rpmfusion package and kernel version mismatch. ( kernel 3.16.2 for example ) it's maybe due to the fact i misuse the cmdline.

i'm interested in best practices for cmdline.

PS: i'm using now negativo17 repo for nvidia blob.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
3

answered 2014-09-19 01:43:47 +0000

All of this information is already available here: https://fedoraproject.org/wiki/Upgrading

Please note that there is no guarantee that packages from third party repositories will update correctly. Unfortunately, Fedora cannot help with this :/

I suggest you back up all your important data before proceeding.

edit flag offensive delete link more

Comments

1

i was asking more about day to day update. fedup work pretty well for release upgrade

baoboa ( 2014-09-19 09:37:50 +0000 )edit
1

answered 2015-06-23 20:25:49 +0000

EllePi gravatar image

Personally, I always use

dnf upgrade

from a root console ...

edit flag offensive delete link more
1

answered 2015-06-22 06:49:35 +0000

Aleksandar Kostadinov gravatar image

updated 2015-06-22 06:50:32 +0000

I would suggest you, for daily updates to use whatever comes as default with your distro, unless you hit any issues, that are not quickly resolved. Chances are , with deprecated yum, that yum issues will not be found and will not be fixed as more time passes.

i.e. dnf for fedora 22 and yum with earlier versions

edit flag offensive delete link more

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: 2014-09-18 16:17:32 +0000

Seen: 26,291 times

Last updated: Jun 23 '15