Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uppkg.installed salt state fails with yum error message #2223
Comments
woju
added
the
bug
label
Aug 2, 2016
woju
added this to the Release 3.2 milestone
Aug 2, 2016
andrewdavidwong
added
the
C: mgmt
label
Aug 2, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Are you using debian-based VM as updatevm? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Or maybe VM with outdated qubes-core-vm package? Like from R3.1. |
marmarek
modified the milestones:
Release 3.2,
Release 3.2 updates
Nov 19, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
vladimir-lu
Apr 7, 2018
This seems closest to the issue I'm facing right now on R4.
If you have a salt state that installs packages in dom0, then dom0 will use the updates proxy to get the packages. In my case, this is sys-whonix (jessie). This has yum installed but the output complains that --best is not an option. --best is only used in the qubes-download-dom0-updates.sh script when dnf is detected but dnf is clearly not installed in this whonix version. Some parameters are however passed from the salt yum module directly - specifically in yumpkg.py when salt detects that dnf is available it uses those options: https://github.com/saltstack/salt/blob/17e5a568bcd13d2b866f86512f9a4aa519392bd5/salt/modules/yumpkg.py#L1654
This gets passed into the updates proxy as an option and subsequently fails because of course these are invalid in yum. So you have dom0 with dnf and the updates proxy without.
I've made a local workaround where I remove those options if found from the $OPTIONS in the qubes-download-dom0-updates.sh script - maybe I will make a PR :)
vladimir-lu
commented
Apr 7, 2018
|
This seems closest to the issue I'm facing right now on R4. If you have a salt state that installs packages in dom0, then dom0 will use the updates proxy to get the packages. In my case, this is sys-whonix (jessie). This has yum installed but the output complains that This gets passed into the updates proxy as an option and subsequently fails because of course these are invalid in I've made a local workaround where I remove those options if found from the |
added a commit
to vladimir-lu/qubes-core-agent-linux
that referenced
this issue
Apr 7, 2018
added a commit
to vladimir-lu/qubes-core-agent-linux
that referenced
this issue
Apr 7, 2018
vladimir-lu
referenced this issue
in QubesOS/qubes-core-agent-linux
Apr 7, 2018
Merged
Fix dom0 salt not being able to install packages when UpdateVM only has yum installed #110
added a commit
to vladimir-lu/qubes-core-agent-linux
that referenced
this issue
Apr 7, 2018
marmarek
closed this
in
marmarek/qubes-core-agent-linux@cd26354
Apr 14, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 21, 2018
Automated announcement from builder-github
The component core-agent-linux (including package python2-dnf-plugins-qubes-hooks-4.0.25-1.fc26) has been pushed to the r4.0 testing repository for the Fedora template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Apr 21, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
added
the
r4.0-fc26-cur-test
label
Apr 21, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Apr 21, 2018
Closed
core-agent-linux v4.0.25 (r4.0) #487
qubesos-bot
added
r4.0-buster-cur-test
r4.0-jessie-cur-test
labels
Apr 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 21, 2018
Automated announcement from builder-github
The package qubes-core-agent_4.0.25-1+deb9u1 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Apr 21, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-stretch-cur-test
label
Apr 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 2, 2018
Automated announcement from builder-github
The package core-agent-linux has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
May 2, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-centos7-cur-test
label
May 2, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 21, 2018
Automated announcement from builder-github
The component core-agent-linux (including package python2-dnf-plugins-qubes-hooks-4.0.28-1.fc26) has been pushed to the r4.0 stable repository for the Fedora template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
May 21, 2018
|
Automated announcement from builder-github The component
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 21, 2018
Automated announcement from builder-github
The package core-agent-linux has been pushed to the r4.0 stable repository for the Fedora centos7 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
May 21, 2018
|
Automated announcement from builder-github The package
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 21, 2018
Automated announcement from builder-github
The package qubes-core-agent_4.0.28-1+deb9u1 has been pushed to the r4.0 stable repository for the Debian template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
May 21, 2018
|
Automated announcement from builder-github The package
|
woju commentedAug 2, 2016
Qubes OS version (e.g.,
R3.1):R3.2-rc2
Affected TemplateVMs (e.g.,
fedora-23, if applicable):the issue is entirely in dom0
Expected behavior:
pkg.installedsalt state module function works as advertised.Actual behavior:
pkg.installedfails.Steps to reproduce the behavior:
Note that
terminus-fontspackage is arbitrary, probably any package triggers this bug.General notes:
The error message contains
yumhelp and the note suggesting some command line parameters are wrong.Related issues: