Page 1 of 1

install on raspberry 4 buster

Posted: Wed Apr 29, 2020 12:00 pm
by hv0805
Hi, I like to install zm (latest release i think) to Raspberry4 (4gb ram) with Buster.
I followed the wiki page to add what's needed to the source list.
During the installation i receive following error
************************************
The following packages have unmet dependencies:
ffmpeg : Depends: libavcodec58 (= 7:4.1.4-1+rpt7~deb10u1)
Depends: libavdevice58 (= 7:4.1.4-1+rpt7~deb10u1) but 10:4.1.5-dmo1+deb10u1 is to be installed
Depends: libavfilter7 (= 7:4.1.4-1+rpt7~deb10u1)
Depends: libavformat58 (= 7:4.1.4-1+rpt7~deb10u1) but 10:4.1.5-dmo1+deb10u1 is to be installed
Depends: libavresample4 (= 7:4.1.4-1+rpt7~deb10u1) but 10:4.1.5-dmo1+deb10u1 is to be installed
Depends: libavutil56 (= 7:4.1.4-1+rpt7~deb10u1) but 10:4.1.5-dmo1+deb10u1 is to be installed
Depends: libpostproc55 (= 7:4.1.4-1+rpt7~deb10u1) but 10:4.1.5-dmo1+deb10u1 is to be installed
Depends: libswresample3 (= 7:4.1.4-1+rpt7~deb10u1) but 10:4.1.5-dmo1+deb10u1 is to be installed
Depends: libswscale5 (= 7:4.1.4-1+rpt7~deb10u1) but 10:4.1.5-dmo1+deb10u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
****************************
This is my os-version
***********
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
**********
I have already Apache2-PHP7 and Mariadb running

How can i resolve this problem

Thanks

Re: install on raspberry 4 buster

Posted: Wed Apr 29, 2020 9:21 pm
by Beetleboy
I have this installed on Raspian Buster on a pi 4 and it runs very well.

Follow the Debian nstall procedures on the wiki. If you have done that and still have issues, especially with the held packages message, try running apt dist-upgrade, then apt update. This should install any held back packages and get you the latest release of Raspian. Then try reinstalling zoneminder.

Re: install on raspberry 4 buster

Posted: Thu Apr 30, 2020 4:00 am
by snake
If you are not comfortable with changing /etc/apt/sources.list, you should probably stick with 1.32.3 in the official Raspbian repos. More advanced users can try changing from raspbian to debian repos which have more up to date ARM packages for the RPI than the Raspbian repos. Note that I haven't actually installed 1.34 on RPI, so this is conjecture. Try at your own risk (Debian 10 & 1.34 on x86 however, does work so compatibility with arm is likely - just not guaranteed).

Re: install on raspberry 4 buster

Posted: Sat May 02, 2020 11:20 pm
by iconnor
I cannot recommend sticking with 1.32.

We don't need to edit sources.list... just cutnpaste this into a command prompt:

sudo echo "deb https://zmrepo.zoneminder.com/debian/release-1.34 buster/" > /etc/apt/sources.list.d/zmrepo.conf
wget -O - https://zmrepo.zoneminder.com/debian/ar ... eyring.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install zoneminder

Or try out the shiny new raspbian image I have put at https://zmrepo.zoneminder.com

Re: install on raspberry 4 buster

Posted: Sun May 03, 2020 11:56 am
by bbunge
Another option you have is to load Ubuntu on the Pi. There is an image for Ubuntu 20.04 via the Rasbian flash tool. I had ZM 1.34.10 on 20.04 the other day. 64 bit version!

Re: install on raspberry 4 buster

Posted: Sun Mar 07, 2021 9:58 pm
by mightymos
Your output looks very similar to the dependency issues I was having.

These steps may help (or commenters may offer improved advice):
viewtopic.php?f=40&t=30565