树莓派论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1864|回复: 1
收起左侧

apt-get install motion depend的问题

[复制链接]
发表于 2014-2-19 11:47:49 | 显示全部楼层 |阅读模式
用了两种 方法都出现depend的问题~
论坛 大神指一下明路呗
1.先是apt-get denpend
root@raspberrypi:/tmp# apt-get install motion
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
motion : Depends: libavcodec53 (>= 6:0.8.3-1~) but it is not going to be installed or
                   libavcodec-extra-53 (>= 6:0.8.6) but it is not going to be installed
          Depends: libavformat53 (>= 6:0.8.3-1~) but it is not going to be installed
          Depends: libavutil51 (>= 6:0.8.3-1~) but it is not going to be installed
          Depends: libmysqlclient18 (>= 5.5.24+dfsg-1) but it is not going to be installed
          Depends: libpq5 but it is not going to be installed
          Recommends: ffmpeg but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

2.dpkg
root@raspberrypi:/tmp# dpkg -i motion_3.2.12-3.4_armhf.deb
(Reading database ... 71044 files and directories currently installed.)
Preparing to replace motion 3.2.12-3.4 (using motion_3.2.12-3.4_armhf.deb) ...
Unpacking replacement motion ...
dpkg: dependency problems prevent configuration of motion:
motion depends on libavcodec53 (>= 6:0.8.3-1~) | libavcodec-extra-53 (>= 6:0.8.6); however:
  Package libavcodec53 is not installed.
  Package libavcodec-extra-53 is not installed.
motion depends on libavformat53 (>= 6:0.8.3-1~); however:
  Package libavformat53 is not installed.
motion depends on libavutil51 (>= 6:0.8.3-1~); however:
  Package libavutil51 is not installed.
motion depends on libmysqlclient18 (>= 5.5.24+dfsg-1); however:
  Package libmysqlclient18 is not installed.
motion depends on libpq5; however:
  Package libpq5 is not installed.

dpkg: error processing motion (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
motion

回复

使用道具 举报

 楼主| 发表于 2014-2-19 11:52:02 | 显示全部楼层
镜像用的是2014-01-07-wheezy-raspbian
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|树莓派论坛 ( 粤ICP备15075382号-1  

GMT+8, 2024-11-25 20:44 , Processed in 1.109375 second(s), 27 queries , Gzip On.

Powered by Shumeipai.net! X3.2

© 2001-2015 树莓派论坛安全联盟

快速回复 返回顶部 返回列表