Hi
When upgrading ubuntu 22.04 to 24.04 with zoneminder. The upgrade removes zonemider, mariadb-server and apache2. this is clearly not what I want.
Using the the RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 flag does not help. It is still removing zoneminder.
doing apt-mark hold to zoneminder and mariadb-server aborts the update.
Any ideas how to perform the update without removing zoneminder and its dependent packages.
[solved] Failed upgrade of Ubuntu 22.04 to 24.04 with zoneminder.
[solved] Failed upgrade of Ubuntu 22.04 to 24.04 with zoneminder.
Last edited by odror on Fri May 23, 2025 11:14 pm, edited 1 time in total.
-
- Posts: 1373
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Failed upgrade of Ubuntu 22.04 to 24.04 with zoneminder.
I don't think you can on a release.
But it won't mess with the DB, so a reinstall and restore (of the monitors) should get to where you left off.
But it won't mess with the DB, so a reinstall and restore (of the monitors) should get to where you left off.
Re: Failed upgrade of Ubuntu 22.04 to 24.04 with zoneminder.
Please note that it shouldn't do a purge, so the db contents and any config rules should remain in place and all you need to do is re-enable the ppa and re-install mysql and zoneminder.
That being said, make sure you have a db backup. That is the crucial data and if you have that you can restore.
I don't know about that flag, but do-release-upgrade --help
lists... --allow-third-party so.. not an ENV var, just a command line parameter.
That being said, make sure you have a db backup. That is the crucial data and if you have that you can restore.
I don't know about that flag, but do-release-upgrade --help
lists... --allow-third-party so.. not an ENV var, just a command line parameter.
Re: Failed upgrade of Ubuntu 22.04 to 24.04 with zoneminder.
I was able to do it.
Before the upgrade I had to specifically install (reinstall) apache2 and mariadb-server. By doing that I ensured that if zonemeder is removed its dependencies (apache2 and mariadb-server) will not.
After the upgrade php was changed to 8.3. All I needed to do was to add my timezone to the php.ini
Zonemider was not removed, but it was marked for removal. I reinstalled it after fixing the ppa to reflect 24.04. The same version 1.37 was reinstalled with the old config file.
All the apache2 config files and mariadb-server config files did not change.
Before the upgrade I had to specifically install (reinstall) apache2 and mariadb-server. By doing that I ensured that if zonemeder is removed its dependencies (apache2 and mariadb-server) will not.
After the upgrade php was changed to 8.3. All I needed to do was to add my timezone to the php.ini
Zonemider was not removed, but it was marked for removal. I reinstalled it after fixing the ppa to reflect 24.04. The same version 1.37 was reinstalled with the old config file.
All the apache2 config files and mariadb-server config files did not change.