Odroid C2

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
pakikje
Posts: 124
Joined: Fri Nov 11, 2016 3:04 pm

Odroid C2

Post by pakikje »

Hallo,
I just installed dietpi (1.59) on a OdroidC2. After apt-get update && apt-get upgrade i get this error: (what should i do?)

Code: Select all

Do you want to continue? [Y/n] Y
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 24292 files and directories currently installed.)
Preparing to unpack .../libc6_2.19-18+deb8u10_arm64.deb ...

LD_LIBRARY_PATH contains the traditional /lib directory,
but not the multiarch directory /lib/aarch64-linux-gnu.
It is not safe to upgrade the C library in this situation;
please remove the /lib/directory from LD_LIBRARY_PATH and
try again.

dpkg: error processing archive /var/cache/apt/archives/libc6_2.19-18+deb8u10_arm64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.19-18+deb8u10_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pakikje
Posts: 124
Joined: Fri Nov 11, 2016 3:04 pm

Re: Odroid C2

Post by pakikje »

Sorry, just found the solution:

Code: Select all

#export LD_LIBRARY_PATH=/lib/arm-linux-gnueabihf:/usr/lib:/usr/local/lib:/opt/vc/lib
and

Code: Select all

#ldconfig
(to make the change permanent)

ps: After a apt-get update/upgrade REBOOT!!!
Post Reply