I bought a UCM-iMX8M-Mini and followed these 3 steps to basically set up my device:
- Getting started with UCM-iMX8M-Mini Evaluation Kit
- Debian Linux installation on SD card (recommended)
- Installing Debian images onto UCM-iMX8M-Mini eMMC
But the problem is that whenever I try to update and upgrade my apt packages, it returns an error code as followed:
root@ucm-imx8mm-debian:~# apt-get update && apt-get dist-upgrade -y
Preparing to unpack .../07-libffi-dev_3.3-4_arm64.deb ...
Unpacking libffi-dev:arm64 (3.3-4) over (3.2.1-r0) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../08-libglib2.0-data_2.64.1-1_all.deb ...
Unpacking libglib2.0-data (2.64.1-1) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../09-libglib2.0-bin_2.64.1-1_arm64.deb ...
Unpacking libglib2.0-bin (2.64.1-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-GJJe42/09-libglib2.0-bin_2.64.1-1_arm64.deb (--unpack):
trying to overwrite '/usr/bin/gapplication', which is also in package libglib-2.0-utils 1:2.54.3-r0
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package libpython3.8-minimal:arm64.
Preparing to unpack .../10-libpython3.8-minimal_3.8.2-1+b1_arm64.deb ...
Unpacking libpython3.8-minimal:arm64 (3.8.2-1+b1) ...
Selecting previously unselected package python3.8-minimal.
Preparing to unpack .../11-python3.8-minimal_3.8.2-1+b1_arm64.deb ...
Unpacking python3.8-minimal (3.8.2-1+b1) ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command was even my first command after booting my device. Is there anything I should do except the 3 steps when setting up?
And also, I don't know if it matters, these messages I've never seen on my desktop are shown when dist-upgrading.
Installing new version of config file /etc/debian_version ...
Configuration file '/etc/issue'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** issue (Y/I/N/O/D/Z) [default=N] ?