Trying to install the program "ZoneMinder", problems with dependencies and package breakage

It requires "libavcodec58_4.4.2", so I try to install that, with this link:
http://archive.ubuntu.com/ubuntu/pool/universe/f/ffmpeg/libavcodec58_4.4.2-0ubuntu0.22.04.1_amd64.deb

but then that breaks "ffmpeg". See screenshot, I dont know what to do:
image

-Thanks!

Here is Brave A.I. generated answer:

Zoneminder dependencies break ffmpeg in ubuntu 22.04

When trying to install ZoneMinder on Ubuntu 22.04, you may encounter issues with dependencies breaking ffmpeg. One possible solution is to install the required dependencies manually.

Here are the steps to resolve the issue:

  • Install the required dependencies for ffmpeg:
    • libavcodec-extra: This package provides additional FFmpeg codecs. You can install it using the command: sudo apt-get install libavcodec-extra
    • libavformat-extra: This package provides additional FFmpeg format handlers. You can install it using the command: sudo apt-get install libavformat-extra
    • libavutil-extra: This package provides additional FFmpeg utility libraries. You can install it using the command: sudo apt-get install libavutil-extra
  • After installing the dependencies, try installing ffmpeg again using the command: sudo apt-get install ffmpeg
  • If you are still facing issues, you can try to remove the existing ffmpeg package and its dependencies using the command: sudo apt-get purge ffmpeg libavcodec-extra libavformat-extra libavutil-extra
  • Then, reinstall ffmpeg using the command: sudo apt-get install ffmpeg

By following these steps, you should be able to resolve the issue with dependencies breaking ffmpeg and successfully install ZoneMinder on Ubuntu 22.04.

1 Like