Hi!
I'm starting using a NanoPc T4 board with the latest lubuntu release lubuntu_desktop_typec_20191227 with the focus on developing a little video server with camera integration. I have tested without success two cameras the usb FA-CAM202 and the MIPI camera MCAM400.
There is the imagemagick package that cause a lot of problems so I don't know how to use these two cameras. Has anybody encountered the same problem?
Do I have to use Friendly Desktop instead Lubuntu?

These are commands that I have launched to resolve the issue without success.
sudo dpkg --configure -a
sudo apt -f install
sudo apt-get build-dep imagemagick


Suggestions are appreciated, thanks,
Maurizio

pi@FriendlyELEC:~$uname -a
Linux FriendlyELEC 4.4.179 #1 SMP Tue Dec 17 18:03:10 CST 2019 aarch64 aarch64 aarch64 GNU/Linux

pi@FriendlyELEC:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial


pi@FriendlyELEC:~$sudo apt install v4l-utils
[sudo] password for pi:
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:
imagemagick : Depends: imagemagick-6.q16 (= 8:6.8.9.9-7ubuntu5.14) but 8:6.8.9.9-7ubuntu5.15 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

pi@FriendlyELEC:~$sudo apt install cheese
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:
cheese : Depends: gnome-video-effects but it is not going to be installed
Recommends: nautilus-sendto but it is not going to be installed
imagemagick : Depends: imagemagick-6.q16 (= 8:6.8.9.9-7ubuntu5.14) but 8:6.8.9.9-7ubuntu5.15 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

pi@FriendlyELEC:sudo apt-get build-dep imagemagick
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
imagemagick
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
60 not fully installed or removed.
Need to get 0 B/44.8 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 175151 files and directories currently installed.)
Preparing to unpack .../imagemagick_8%3a6.8.9.9-7ubuntu5.15_armhf.deb ...
Unpacking imagemagick (8:6.8.9.9-7ubuntu5.15) over (8:6.8.9.9-7ubuntu5.14) ...
dpkg: error processing archive /var/cache/apt/archives/imagemagick_8%3a6.8.9.9-7ubuntu5.15_armhf.deb (--unpack):
symbolic link '/usr/bin/compare-im6' size has changed from 60 to 0
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/imagemagick_8%3a6.8.9.9-7ubuntu5.15_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Failed to process build dependencies

pi@FriendlyELEC:~$ sudo apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
imagemagick
The following packages will be upgraded:
imagemagick
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/44.8 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 175151 files and directories currently installed.)
Preparing to unpack .../imagemagick_8%3a6.8.9.9-7ubuntu5.15_armhf.deb ...
Unpacking imagemagick (8:6.8.9.9-7ubuntu5.15) over (8:6.8.9.9-7ubuntu5.14) ...
dpkg: error processing archive /var/cache/apt/archives/imagemagick_8%3a6.8.9.9-7ubuntu5.15_armhf.deb (--unpack):
symbolic link '/usr/bin/compare-im6' size has changed from 60 to 0
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/imagemagick_8%3a6.8.9.9-7ubuntu5.15_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)