Page 1 of 1

Could not install motion package

Posted: Thursday 22 December 2016 22:47
by vgr2
Hello,

with sudo apt-get install Motion, i received the following result. How can I fix it Motion is not installed.....

pi@raspberrypi:~$ sudo 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:
libc6-dev : Depends: libc-dev-bin (= 2.19-18+deb8u3) but 2.19-18+deb8u6 is to be installed
motion : Depends: libavcodec56 (>= 6:11~beta1) but it is not going to be installed or
libavcodec-extra-56 (>= 6:11~beta1) but it is not going to be installed
Depends: libavformat56 (>= 6:11~beta1) but it is not going to be installed
Depends: libavutil54 (>= 6:11~beta1) but it is not going to be installed
Depends: libjpeg8 (>= 8c) but it is not going to be installed
Depends: libmysqlclient18 (>= 5.5.24+dfsg-1) but it is not going to be installed
Recommends: ffmpeg but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Re: Could not install motion package

Posted: Thursday 22 December 2016 22:58
by pvm
Is your system up to date?
sudo apt-get update
sudo apt-get upgrade

Re: Could not install motion package

Posted: Thursday 22 December 2016 23:07
by vgr2
yes, did it before..

Re: Could not install motion package

Posted: Thursday 22 December 2016 23:11
by vgr2
sorry, "sudo apt-get upgrade" install is also failed

pi@raspberrypi:~$ sudo apt-get upgrade
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:
libc6-dev : Depends: libc-dev-bin (= 2.19-18+deb8u3) but 2.19-18+deb8u6 is installed
E: Unmet dependencies. Try using -f.
pi@raspberrypi:~$

Re: Could not install motion package

Posted: Friday 23 December 2016 14:01
by pvm
What's the error report on the proposed command?

Re: Could not install motion package

Posted: Friday 23 December 2016 19:22
by kubrik
Have you tried only

apt-get -f install

??