schroot sudo main: unable to allocate memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Unable to use sudo within zesty armhf chroot on trusty arch64. Getting error unable to to allocate memory.
$ sudo ls
sudo: main: unable to allocate memory
kernel - 4.4.0-38-generic
release - Ubuntu 14.04.5 LTS
system architecture - arm64
chroot architecture - armhf
sudo:
Installed: 1.8.9p5-1ubuntu1.3
Candidate: 1.8.9p5-1ubuntu1.3
Version table:
*** 1.8.9p5-1ubuntu1.3 0
500 http://
100 /var/lib/
1.
500 http://
1.
500 http://
I was unable to recreate this on an amd64 chroot:
$ schroot -u bdmurray -c zesty-amd64 amd64)bdmurray@ impulse: ~/source- trees/ubuntu- archive- tools/phased- update- overrides$ sudo apt-get install 2vcard 192.168. 10.7/ubuntu zesty/universe amd64 2vcard all 0.6-1 [13.0 kB] 2vcard_ 0.6-1_all. deb ...
W: Shell ‘/bin/zsh’ not available: /bin/zsh: Failed to stat file: No such file or directory
W: Falling back to shell ‘/bin/bash’
(zesty-
[sudo] password for bdmurray:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
2vcard
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.0 kB of archives.
After this operation, 53.2 kB of additional disk space will be used.
Get:1 http://
Fetched 13.0 kB in 0s (438 kB/s)
Selecting previously unselected package 2vcard.
(Reading database ... 13744 files and directories currently installed.)
Preparing to unpack .../archives/
Unpacking 2vcard (0.6-1) ...
Setting up 2vcard (0.6-1) ...