Ask Your Question

Skipping Fedora Updates in dnf Command

asked 2016-07-31 05:13:00 +0000

I'm using Fedora 24 and every time that I'll install some package, Fedora updates.

I usesudo dnf install vlc to install vlc. However, instead of downloading and installing it automatically, updates were first downloaded like Fedora_x86_x64 - Updates and it sucks because I'm on a metered data. I've been searching anywhere else to find solution for this but no luck.

Is there a way to skip this or to disable this permanently? I'm anticipating for something like disabling this and installing those updates manually instead.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-07-31 18:37:54 +0000

You can run sudo dnf update first and the install this will avoid the update for the next install command, if you want to disable update completly then you can disable Fedora Update repo you can do that at run time like this:

sudo dnf install vlc --disablerepo=updates

Or edit the Fedora repo configure file and set enabled=1 to enabled=0 but this will disable it permanently so be careful, to do so you need to edit the file located at /etc/yum.repos.d/fedora-updates.repo

You also need to consider that the vlc package may require packages version that are only in the update repo.

Hope this help you. Good Luck

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

1 follower


Asked: 2016-07-31 05:13:00 +0000

Seen: 187 times

Last updated: Jul 31 '16