首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Zoneminder未满足依赖项

Zoneminder未满足依赖项
EN

Ask Ubuntu用户
提问于 2018-08-03 23:30:37
回答 1查看 4.5K关注 0票数 2

我试图在ubuntu16.04服务器上安装带状隆起,我得到了这个未满足的依赖项错误。我该怎么纠正呢?

代码语言:javascript
复制
root@tpadzm:/home/joey# apt-get 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: libavcodec57 (>= 7:3.4.2) but it is not installable or
                   libavcodec-extra57 (>= 7:3.4.2) but it is not installable
          Depends: libavformat57 (>= 7:3.4.2) but it is not installable
          Depends: libavresample3 (>= 7:3.4.2) but it is not installable
          Depends: libavutil55 (>= 7:3.4.2) but it is not installable
          Depends: libmp4v2-2 but it is not installable
          Depends: libswscale4 (>= 7:3.4.2) but it is not installable
          Depends: libvlc5 (>= 1.1.1) but it is not installable
          Depends: libx264-152 but it is not installable
          Depends: libjs-mootools (>= 1.4.5~debian1) but it is not             
          installable
          Depends: ffmpeg but it is not installable or
                   libav-tools but it is not installable
          Depends: libdbd-mysql-perl but it is not installable
          Depends: libphp-serialization-perl but it is not installable
          Depends: libnet-sftp-foreign-perl but it is not installable
          Depends: libdevice-serialport-perl but it is not installable
          Depends: libimage-info-perl but it is not installable
          Depends: libjson-any-perl but it is not installable
          Depends: libsys-mmap-perl but it is not installable
          Depends: liburi-encode-perl but it is not installable
          Depends: libclass-std-fast-perl but it is not installable
          Depends: libsoap-wsdl-perl but it is not installable
          Depends: libio-socket-multicast-perl but it is not installable
          Depends: libsys-cpu-perl but it is not installable
          Depends: libsys-meminfo-perl but it is not installable
          Depends: libdata-uuid-perl but it is not installable
          Depends: libnumber-bytes-human-perl but it is not installable
          Depends: libfile-slurp-perl but it is not installable
          Depends: php5-apcu but it is not installable or
                   php-apcu but it is not installable
          Depends: php-apc but it is not installable or
                   php-apcu-bc but it is not installable
          Recommends: zoneminder-doc (>= 1.31.45~20180731103016-bionic) but 
it is not going to be installed
          Recommends: ffmpeg but it is not installable
E: Unable to correct problems, you have held broken packages.
root@tpadzm:/home/joey# apt install libavcodec57
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libavcodec57 is not available, but is referred to by another     
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libavcodec57' has no installation candidate
root@tpadzm:/home/joey# cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main
root@tpadzm:/home/joey#
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2018-08-04 00:00:11

好的,首先,您有错误的sources.list,其中只包括主通道。所以,做sudo gedit /etc/apt/sources.list并让它看起来像这样:

代码语言:javascript
复制
deb http://archive.ubuntu.com/ubuntu bionic main multiverse restricted universe
deb http://archive.ubuntu.com/ubuntu bionic-security main multiverse restricted universe
deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe

保存并退出。然后更新您的存储库:

代码语言:javascript
复制
sudo apt update
票数 3
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1062166

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档