Bug 1461171 - RFE: support --advisory= with install
Summary: RFE: support --advisory= with install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Hatina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-13 17:35 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2017-10-16 22:31 UTC (History)
9 users (show)

Fixed In Version: dnf-2.7.2-1.fc27 dnf-2.7.2-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-04 14:23:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2017-06-13 17:35:18 UTC
Description of problem:
Right now "sudo dnf upgrade --advisory FEDORA-2017-2ca3f8ca87" works, but it only allows packages to be upgraded, not installed. For solves the problem of applying security updates, but not the problem of testing bodhi updates. For the latter, there should be an option to just install the packages from the update, something like "sudo dnf install --advisory FEDORA-2017-2ca3f8ca87". I'd expect this to install all the builds for my architecture or noarch from that bodhi update.

Version-Release number of selected component (if applicable):
dnf-2.5.0-2.fc26.noarch

How reproducible:
deterministic

Comment 1 Martin Hatina 2017-06-19 10:30:27 UTC
Fixed in https://github.com/rpm-software-management/dnf/pull/845

Comment 2 Igor Gnatenko 2017-06-19 12:41:18 UTC
Martin, status should be POST, not MODIFIED.

Comment 3 Fedora Update System 2017-10-02 10:34:12 UTC
dnf-plugins-extras-2.0.3-1.fc27 dnf-plugins-core-2.1.4-1.fc27 dnf-2.7.2-1.fc27 libdnf-0.10.1-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-faf235c683

Comment 4 Fedora Update System 2017-10-02 10:37:47 UTC
dnf-plugins-extras-2.0.3-1.fc26 dnf-plugins-core-2.1.4-1.fc26 dnf-2.7.2-1.fc26 libdnf-0.10.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-70a8618065

Comment 5 Fedora Update System 2017-10-02 20:28:29 UTC
dnf-2.7.2-1.fc26, dnf-plugins-core-2.1.4-1.fc26, dnf-plugins-extras-2.0.3-1.fc26, libdnf-0.10.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-70a8618065

Comment 6 Fedora Update System 2017-10-02 21:27:45 UTC
dnf-2.7.2-1.fc27, dnf-plugins-core-2.1.4-1.fc27, dnf-plugins-extras-2.0.3-1.fc27, libdnf-0.10.1-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-faf235c683

Comment 7 Fedora Update System 2017-10-04 14:23:23 UTC
dnf-2.7.2-1.fc27, dnf-plugins-core-2.1.4-1.fc27, dnf-plugins-extras-2.0.3-1.fc27, libdnf-0.10.1-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2017-10-04 22:25:25 UTC
dnf-2.7.2-1.fc26, dnf-plugins-core-2.1.4-1.fc26, dnf-plugins-extras-2.0.3-1.fc26, libdnf-0.10.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Sergio Basto 2017-10-16 22:24:32 UTC
rpm -q dnf
dnf-2.7.3-1.fc26.noarch

LANG=en_US dnf install --advisory FEDORA-2017-41e6f8d803 
usage: dnf install [-c [config file]] [-q] [-v] [--version]
                   [--installroot [path]] [--nodocs] [--noplugins]
                   [--enableplugin [plugin]] [--disableplugin [plugin]]
                   [--releasever RELEASEVER] [--setopt SETOPTS]
                   [--skip-broken] [-h] [--allowerasing] [-b] [-C]
                   [-R [minutes]] [-d [debug level]] [--debugsolver]
                   [--showduplicates] [-e ERRORLEVEL] [--obsoletes]
                   [--rpmverbosity [debug level name]] [-y] [--assumeno]
                   [--enablerepo [repo]] [--disablerepo [repo] | --repo
                   [repo]] [-x [package]] [--disableexcludes [repo]]
                   [--repofrompath [repo,path]] [--noautoremove]
                   [--nogpgcheck] [--color COLOR] [--refresh] [-4] [-6]
                   [--destdir DESTDIR] [--downloadonly] [--comment COMMENT]
                   [--bugfix] [--enhancement] [--newpackage] [--security]
                   [--advisory ADVISORY] [--bzs BUGZILLA] [--cves CVES]
                   [--sec-severity {Critical,Important,Moderate,Low}]
                   [--forcearch ARCH]
                   PACKAGE [PACKAGE ...]
dnf install: error: the following arguments are required: PACKAGE


?!?

Comment 10 Sergio Basto 2017-10-16 22:30:09 UTC
sorry forget it FEDORA-2017-41e6f8d803 if for f25 when I am in f26

Comment 11 Igor Gnatenko 2017-10-16 22:31:08 UTC
(In reply to Sergio Monteiro Basto from comment #10)
> sorry forget it FEDORA-2017-41e6f8d803 if for f25 when I am in f26

doesn't matter, you should specify package. you can probably try '*'


Note You need to log in before you can comment on or make changes to this bug.