Failed to install libc6 deb package for BBB (stretch)

Hi Robert,

I am trying to install some deb package into (BBBw stretch version), such as
sudo dpkg -i ./psmisc_22.21-2.1+b2_armhf.deb

It depends on libtinfo5, which depends on libc6.
But installing libc6 got stuck:

sudo dpkg -i ./libc6_2.24-11+deb9u4_armhf_stretch.deb 
(Reading database ... 56218 files and directories currently installed.)
Preparing to unpack .../libc6_2.24-11+deb9u4_armhf_stretch.deb ...
Unpacking libc6:armhf (2.24-11+deb9u4) over (2.28-10) ...
/bin/sh: /lib/arm-linux-gnueabihf/ version `GLIBC_2.28' not found (required by /bin/sh)
dpkg: warning: old libc6:armhf package post-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
/bin/sh: /lib/arm-linux-gnueabihf/ version `GLIBC_2.28' not found (required by /bin/sh)
dpkg: error processing archive ./libc6_2.24-11+deb9u4_armhf_stretch.deb (--install):
 new libc6:armhf package post-removal script subprocess returned error exit status 1
/bin/sh: /lib/arm-linux-gnueabihf/ version `GLIBC_2.28' not found (required by /bin/sh)
dpkg: error while cleaning up:
 installed libc6:armhf package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:

I checked version:
$ ldd --version
(Debian GLIBC 2.28-10) 2.28

Copyright © 2018 Free Software Foundation, Inc.

Any way around ( without using apt-get install) ?

Thank You,

Oh, why do you have Buster’s libc6 installed in Stretch?

That’s a no-no…

If you need a newer version of libc6, just fully upgrade to Buster…


Hi Robert,

Sorry for the confusion. At the end of yesterday, I was about to realize that might be the case. The confusion came from rolling back from [ Debian Buster IoT Image 2020-05-18 ] version to previous version Stretch. So I downloaded Bone-debian-10.0-iot-armhf-2019-07-07-4gb.img.xz. But I thought [ 2019-07-07 version ] was the Stretch. So I downloaded all needed .deb files with stretch version and caused problems.
The reason to roll back to previous version was that many pin muxes are not exported in the [ 2020-05-18 buster version ]. It fails to config-pin, such as P9.24/P9.26. (/sys/devices/platform/ocp/…) , but they are exported in the 2019-07-07 Buster and 2018 Stretch.

Previously, our team agreed to select the latest release [2020-05-18 Buster] for our product, but now we decided to use [Stretch 2018-10-07] .

Thank you very much for your support.


Hi Robert,

I found that the Vertical Scroll Bar on cloud9 works on 2018 Stretch version.


This is a recent bug, i need to fix… For some reason the i2c/can settings caused a build error…