用了两种 方法都出现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