From 1345adc96c5de423f43371c9b41f47191244f8ea Mon Sep 17 00:00:00 2001 From: Arnaud Launay Date: Fri, 13 Nov 2026 17:28:38 +0100 Subject: [PATCH] purge the older release package; if not, conf files in /etc/apt/sources.list.d/ stay in place, and apt drops an error Signed-off-by: Arnaud Launay --- docs/_openvox_8x/upgrade_major.md | 4 ++-- docs/_openvox_9x/upgrade_major.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/_openvox_8x/upgrade_major.md b/docs/_openvox_8x/upgrade_major.md index b1bd74668..7e5ddc972 100644 --- a/docs/_openvox_8x/upgrade_major.md +++ b/docs/_openvox_8x/upgrade_major.md @@ -347,10 +347,10 @@ Compile catalogs for the same nodes with the old and new settings and compare th 4. Install an OpenVox 8 server in a test environment, point test agents at it, and review the output of `puppet agent --test --noop`. 5. Switch each host to the OpenVox 8 repository. See [OpenVox repositories and packages](openvox_platform.html). - If the host has `openvox7-release` installed, remove it first on Debian and Ubuntu. Both packages contain `/etc/apt/preferences.d/openvox-release.pref`, and `dpkg` refuses to install the second one: + On Debian and Ubuntu, purge `openvox7-release` first. Both packages configure the same suite with a different `signed-by` path, so `apt` cannot read the source list while both are installed. `apt remove` leaves `openvox7-release.list` behind, so use `apt purge`: ```console - sudo apt remove openvox7-release + sudo apt purge openvox7-release wget https://apt.voxpupuli.org/openvox8-release-ubuntu24.04.deb sudo dpkg -i openvox8-release-ubuntu24.04.deb sudo apt update diff --git a/docs/_openvox_9x/upgrade_major.md b/docs/_openvox_9x/upgrade_major.md index 4a2665ee5..7e3c1687c 100644 --- a/docs/_openvox_9x/upgrade_major.md +++ b/docs/_openvox_9x/upgrade_major.md @@ -190,10 +190,10 @@ The Windows package is also built with MSYS2 and the UCRT toolchain, the same `x 3. Validate your manifests with `puppet parser validate`. 4. Stand up an OpenVox 9 server in a test environment, point test agents at it, and compare `puppet agent --test --noop` output against OpenVox 8 for unexpected changes. 5. Switch each host to the OpenVox 9 repository. The `openvox8-release` package configures only the 8.x repository, so a host still using it stays on 8.x no matter what you upgrade. Install the `openvox9-release` package for the platform from [apt.voxpupuli.org](https://apt.voxpupuli.org) or [yum.voxpupuli.org](https://yum.voxpupuli.org). - On Debian and Ubuntu, remove `openvox8-release` first: both packages ship `/etc/apt/preferences.d/openvox-release.pref`, and `dpkg` refuses to install the second one over it. + On Debian and Ubuntu, purge `openvox8-release` first. Both packages configure the same suite with a different `signed-by` path, so `apt` cannot read the source list while both are installed. `apt remove` leaves `openvox8-release.list` behind, so use `apt purge`: - ```bash - sudo apt remove openvox8-release + ```console + sudo apt purge openvox8-release wget https://apt.voxpupuli.org/openvox9-release-ubuntu24.04.deb sudo dpkg -i openvox9-release-ubuntu24.04.deb sudo apt update @@ -201,7 +201,7 @@ The Windows package is also built with MSYS2 and the UCRT toolchain, the same `x On EL, the two release packages can be installed side by side and the package manager prefers the 9.x packages; remove `openvox8-release` once the host is upgraded. - ```bash + ```console sudo dnf install https://yum.voxpupuli.org/openvox9-release-el-9.noarch.rpm ```