cannot execute commands in chroot: libm.so.6 not found

Bug #1815350 reported by David Tester
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cubic
Invalid
Undecided
Unassigned

Bug Description

when trying to call any program in the chroot environment I get:

Enter chroot environment

mesg: ttyname failed: No such device
root@behemoth:~ # You are in the chroot environment.

root@behemoth:~ # dpkg-divert --local --rename --add /sbin/initctl
Adding 'local diversion of /sbin/initctl to /sbin/initctl.distrib'
root@behemoth:~ # apt-get install openssh-server
apt-get: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory

(downloaded/installed just 10 minutes ago from ppa)

Revision history for this message
David Tester (mahnamahna) wrote :

version: 2018.12-45-release~201812210232~ubuntu18.04.1

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

What is the output of `dpkg -l libc6`?

What is the output of `cat /etc/apt/sources.list`?

Revision history for this message
David Tester (mahnamahna) wrote :

root@behemoth:~ # dpkg -l libc6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii libc6:amd64 2.27-3ubuntu amd64 GNU C Library: Shared libraries

root@behemoth:~ # cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ bionic main
deb http://security.ubuntu.com/ubuntu/ bionic-security main
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main

Revision history for this message
David Tester (mahnamahna) wrote :

sorry, just found that I used an old ubuntu ISO image:
ubuntu-18.04-server-amd64.iso does NOT work,
but current ubuntu-18.04.1-server-amd64.iso works just fine!

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

OK. I'll close this bug. Please open a new bug report if you encounter an issue.

Changed in cubic:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.