Call 'dnf config-manager' via the dnf-3 interface

Fedora 41 has a newer dnf interface (dnf v5), and the config-manager
plugin that we use is not compatible with it. Suggest running it with
`dnf-3` instead, which is present in all Fedora versions.
This commit is contained in:
Alex Pyrgiotis 2024-10-16 15:58:41 +03:00
parent 13f5658947
commit eaef95b774
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA
3 changed files with 4 additions and 4 deletions

View file

@ -87,7 +87,7 @@ jobs:
- name: Add packages.freedom.press to our YUM sources - name: Add packages.freedom.press to our YUM sources
run: | run: |
dnf install -y 'dnf-command(config-manager)' dnf install -y 'dnf-command(config-manager)'
dnf config-manager --add-repo=https://packages.freedom.press/yum-tools-prod/dangerzone/dangerzone.repo dnf-3 config-manager --add-repo=https://packages.freedom.press/yum-tools-prod/dangerzone/dangerzone.repo
- name: Install Dangerzone - name: Install Dangerzone
# FIXME: We add the `-y` flag here, in lieu of a better way to check the # FIXME: We add the `-y` flag here, in lieu of a better way to check the

View file

@ -300,7 +300,7 @@ test it.
```sh ```sh
sudo dnf install 'dnf-command(config-manager)' sudo dnf install 'dnf-command(config-manager)'
sudo dnf config-manager --add-repo=https://packages.freedom.press/yum-tools-prod/dangerzone/dangerzone.repo sudo dnf-3 config-manager --add-repo=https://packages.freedom.press/yum-tools-prod/dangerzone/dangerzone.repo
sudo dnf install ~/QubesIncoming/dz/*.rpm sudo dnf install ~/QubesIncoming/dz/*.rpm
``` ```

View file

@ -147,7 +147,7 @@ Type the following commands in a terminal:
``` ```
sudo dnf install 'dnf-command(config-manager)' sudo dnf install 'dnf-command(config-manager)'
sudo dnf config-manager --add-repo=https://packages.freedom.press/yum-tools-prod/dangerzone/dangerzone.repo sudo dnf-3 config-manager --add-repo=https://packages.freedom.press/yum-tools-prod/dangerzone/dangerzone.repo
sudo dnf install dangerzone sudo dnf install dangerzone
``` ```
@ -234,7 +234,7 @@ dz.Convert * @anyvm @dispvm:dz-dvm allow
Install Dangerzone: Install Dangerzone:
``` ```
sudo dnf config-manager --add-repo=https://packages.freedom.press/yum-tools-prod/dangerzone/dangerzone.repo sudo dnf-3 config-manager --add-repo=https://packages.freedom.press/yum-tools-prod/dangerzone/dangerzone.repo
sudo dnf install dangerzone-qubes sudo dnf install dangerzone-qubes
``` ```