Closed dleidert closed 3 years ago
One possible solution would be to run
apt-get dist-upgrade ${THIS_APT_UPGRADE_OPTIONS} || apt-get install -f
apt-get dist-upgrade -t usul ${THIS_APT_UPGRADE_OPTIONS} || apt-get install -f
or to (temporarily) pin the packages from the omv repository higher than the default release:
$ cat /etc/apt/preferences.d/openmediavault.pref
Package: *
Pin: origin packages.openmediavault.org
Pin-Priority: 995
Fixed
On plain OMV4 systems there is no pinning for the openmediavault package respositories like it was for OMV2 (
/etc/apt/preferences.d/openmediavault.pref
) and probably OMV3. Thusrun.d/80-apt-dist-upgrade
might fail to upgrade openmediavault due to not being able to install the required dependencies becausepre.d/71-apt-update-apt-conf
pins the new Debian release higher: