Hi,
I need to use cmake to build a radio package but when I do : apt-get install cmake it responds with :
root@DietPi:~# apt-get install cmake
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
cmake-data libarchive13 liblzo2-2 libxml2
Suggested packages:
codeblocks eclipse ninja-build lrzip
Recommended packages:
xml-core
The following NEW packages will be installed:
cmake cmake-data libarchive13 liblzo2-2 libxml2
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,194 kB of archives.
After this operation, 18.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.debian.org/debian/ jessie/main libxml2 arm64 2.9.1+dfsg1-5+deb8u4 [695 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main cmake-data all 3.0.2-1+deb8u1 [929 kB]
Get:3 http://ftp.debian.org/debian/ jessie/main liblzo2-2 arm64 2.08-1.2 [48.2 kB]
Get:4 http://ftp.debian.org/debian/ jessie/main libarchive13 arm64 3.1.2-11+deb8u3 [226 kB]
Get:5 http://ftp.debian.org/debian/ jessie/main cmake arm64 3.0.2-1+deb8u1 [2,296 kB]
Fetched 4,194 kB in 3s (1,133 kB/s)
Selecting previously unselected package libxml2:arm64.
(Reading database … 21508 files and directories currently installed.)
Preparing to unpack …/libxml2_2.9.1+dfsg1-5+deb8u4_arm64.deb …
Unpacking libxml2:arm64 (2.9.1+dfsg1-5+deb8u4) …
Selecting previously unselected package cmake-data.
Preparing to unpack …/cmake-data_3.0.2-1+deb8u1_all.deb …
Unpacking cmake-data (3.0.2-1+deb8u1) …
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
From this point on the system appears to be dead.
I can start another ssh session and keys are echoed back but I cannot
get htop or top to run.
However, ‘ps ax’ runs and the last few lines displayed are :
1578 ? Ss 0:00 /usr/sbin/dropbear -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p 22 -W 65536
1579 ? Ss 0:00 /usr/sbin/dropbear -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p 22 -W 65536
1580 pts/0 Ss 0:00 -bash
1666 ? S 0:00 [kworker/3:1]
1667 pts/0 S+ 0:56 apt-get install cmake
1690 pts/1 Ds+ 0:00 /usr/bin/dpkg --force-confdef --force-confold --status-fd 40 --unpack --auto-deconfigure /var/cache/apt/archives/libxml2_2.9.1+dfsg1-5+deb8u4_arm64.deb /var/cache/apt/archives/cmake-data_3.0.2-1+deb8u1_all.deb /var/cache/apt/archives/liblzo2-2_2.08-1.2_arm64.deb /var/cache/apt/archives/libarchive13_3.1.2-11+deb8u3_arm64.deb /var/cache/apt/archives/cmake_3.0.2-1+deb8u1_arm64.deb
1707 pts/1 Z+ 0:00 [dpkg-deb]
1710 ? S 0:00 [kworker/0:2]
1711 ? Ss 0:00 /usr/sbin/dropbear -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p 22 -W 65536
1712 ? Ss 0:00 /usr/sbin/dropbear -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p 22 -W 65536
1713 pts/2 Ss 0:00 -bash
1803 ? S 0:00 [kworker/u8:1]
1805 pts/2 R+ 0:00 ps ax
I am running from a reasonably fast 32Gb MicroSD card.
This behaviour is repeatable.
The S/W is :
V145 | oDroid C2 (aarch64)
The C2 is powered by one of the official PSU Units.
It works perfectly on a RPi v3.
Any ideas please ?.
Thanks,
Andy Pevy