install on raspberry 4 buster

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
hv0805
Posts: 10
Joined: Thu Nov 17, 2016 10:04 am

install on raspberry 4 buster

Post 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
Beetleboy
Posts: 13
Joined: Tue Feb 18, 2020 10:24 pm

Re: install on raspberry 4 buster

Post 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.
User avatar
snake
Posts: 337
Joined: Sat May 21, 2016 2:20 am

Re: install on raspberry 4 buster

Post 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).
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: install on raspberry 4 buster

Post 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
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: install on raspberry 4 buster

Post 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!
mightymos
Posts: 2
Joined: Sun Mar 07, 2021 9:08 pm

Re: install on raspberry 4 buster

Post 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
Post Reply