Forum archive
Zoneminder update from 1.34.x to the new 1.36.x issue.
I am trying to update Zonminder from 1.34.x to the new 1.36.x with the new package just released. It appears the new package can not be installed. I get the following errors:
root@zoneminder ~# apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://download.zerotier.com/debian/buster buster InRelease
Ign:4 http://archive.turnkeylinux.org/debian buster-security InRelease
Ign:5 http://zmrepo.zoneminder.com/debian/release-1.36 buster/ InRelease
Ign:6 http://archive.turnkeylinux.org/debian buster InRelease
Hit:7 http://zmrepo.zoneminder.com/debian/release-1.36 buster/ Release
Hit:8 http://archive.turnkeylinux.org/debian buster-security Release
Hit:9 http://archive.turnkeylinux.org/debian buster Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@zoneminder ~# apt install zoneminder
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
zoneminder : Depends: libavcodec58 (>= 7:4.4)
Depends: libavformat58 (>= 7:4.4) but 7:4.1.10-0+deb10u1 is to be installed
Depends: libavutil56 (>= 7:4.4) but 7:4.1.10-0+deb10u1 is to be installed
Depends: libc6 (>= 2.34) but 2.28-10+deb10u2 is to be installed
Depends: libgcc-s1 (>= 3.3.1) but it is not installable
Depends: libgcrypt20 (>= 1.9.0) but 1.8.4-5+deb10u1 is to be installed
Depends: libgnutls30 (>= 3.7.0) but 3.6.7-4+deb10u10 is to be installed
Depends: libjpeg8 (>= 8c) but it is not installable
Depends: libmysqlclient21 (>= 8.0.11) but it is not installable
Depends: libstdc++6 (>= 12) but 8.3.0-6 is to be installed
Depends: libswresample3 (>= 7:4.4) but 7:4.1.10-0+deb10u1 is to be installed
Depends: libswscale5 (>= 7:4.4) but 7:4.1.10-0+deb10u1 is to be installed
E: Unable to correct problems, you have held broken packages.
Unfortunately it appears that I was wrong and even with the pinning removed it refuses to install (same problem as you previously posted). It appears that the newer ZoneMinder package depends on packages not available in the Debian 10/Buster (and they don't appear to be provided by ZoneMinder repo either). This completely surprises me as the repo is explicitly for Debian Buster?!
So I'm going to need to consult with the ZoneMinder community on what to do to get it working. Please feel free to ask them over on their forums. If you do, please cross post a link here and I can jusmp on your thread. Otherwise, I'll start a thread over there and post alink back here.
One possible workaround would be to do a full OS upgrade. I'm sure that would work as it installs on Debian 11/Bullseye fine from my testing (the new v17.2 updated appliance should be released in the next few days). TurnKey v16.x was based on Debian 10/Buster, but the current version of Debian is 11/Bullseye. So if you updated to the newer Debian base, then that should fix it. Having said that, the devil is always in the details. ANd perhaps you're better off waiting until we push the next release, then use TKLBAM to migrate your existing data to a new fresh install?
Regardless, we'll speak more soon.