Ask Your Question
3

`dnf upgrade` packages from a selected bodhi update

asked 2017-02-27 12:08:16 -0500

rineau gravatar image

updated 2017-10-17 02:59:36 -0500

If there a way to download and install/update the packages from a selected bodhi update? I have searched in the dnf command and plugins, and in the bodhi command, and did not found an easy solution.

Precision: if the bodhi update has a security advisory ID, that ID can be used to install it, but what if the update is not security-related?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
4

answered 2017-10-16 17:36:49 -0500

sergiomb gravatar image
dnf --enablerepo=updates-testing  upgrade --advisory FEDORA-2017-bd24b5ae3f

works on F26+ i.e. only with dnf2 , more references here [1]

[1] https://lists.fedoraproject.org/archi...

edit flag offensive delete link more

Comments

1

That answer is a good one if the bodhi update has already made its way to update-testing, and if there is an associated security advisory ID.

But my question still remains for update that are not related to security.

rineau gravatar imagerineau ( 2017-10-17 02:38:47 -0500 )edit

please check out my answer below

florian gravatar imageflorian ( 2017-10-17 11:13:54 -0500 )edit

What it this returns output such as "No security updates needed, but 144 updates available", do I still have to use the method mentioned below?

kiview gravatar imagekiview ( 2018-02-24 08:58:15 -0500 )edit

I have the same issue:

$ sudo dnf --enablerepo=updates-testing --advisory=FEDORA-2018-a9e88bd90c update
Last metadata expiration check: 0:29:06 ago on Fri Mar  9 10:57:10 2018.
No security updates needed, but 252 updates available
Dependencies resolved.
Nothing to do.
Complete!

How to make DNF include non-security updates?

urzds gravatar imageurzds ( 2018-03-09 04:27:06 -0500 )edit

dnf update includes all packages that have been pushed to Fedora's update repository, regardless of the nature of the update (security, bug fix, enhancement, ...).

florian gravatar imageflorian ( 2018-03-09 12:34:45 -0500 )edit
3

answered 2018-10-03 21:42:44 -0500

florian gravatar image

Every update has an ID, no matter if security related or not.

You can simply use that ID (--updateid) to download a build/package(s) from bodhi.

Example:

bodhi updates download --updateid FEDORA-2018-6c0aeafdfa
edit flag offensive delete link more
2

answered 2017-10-17 11:12:14 -0500

florian gravatar image

updated 2017-10-17 12:32:33 -0500

You can do that using a combination of the bodhi client (bodhi-client) and dnf. First download the package from bodhi using bodhi-client, then use dnf to install the package:

The following is an example that I took from a recent Fedora Magazine article on KRACK.

bodhi updates download --builds wpa_supplicant-2.6-11.fc26
dnf update ./wpa_supplicant*.rpm

where wpa_supplicant... can be replaced with any other package from bodhi. It should work with any bodhi package that is pending, meaning not yet in testing.

You need to install bodhi-client first, if not yet installed

sudo dnf install bodhi-client
edit flag offensive delete link more

Comments

2

you also have koji download-build package-evr that may help you

for example:

koji download-build -a x86_64 po-debconf-1.0.16-8.nmu3.fc24
sergiomb gravatar imagesergiomb ( 2017-10-27 21:46:10 -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

2 followers

Stats

Asked: 2017-02-27 12:08:16 -0500

Seen: 505 times

Last updated: Oct 03 '18