Ask Your Question
3

best way to update fedora from command line

asked 2014-09-18 11:17:32 -0600

baoboa gravatar image

updated 2014-09-28 15:30:11 -0600

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-18 20:43:47 -0600

FranciscoD_ gravatar image

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 gravatar imagebaoboa ( 2014-09-19 04:37:50 -0600 )edit
1

answered 2015-06-23 15:25:49 -0600

EllePi gravatar image

Personally, I always use

dnf upgrade

from a root console ...

edit flag offensive delete link more
1

answered 2015-06-22 01:49:35 -0600

Aleksandar Kostadinov gravatar image

updated 2015-06-22 01:50:32 -0600

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

Question Tools

1 follower

Stats

Asked: 2014-09-18 11:17:32 -0600

Seen: 62,111 times

Last updated: Jun 23 '15