[Bug 1647832] Re: schroot sudo main: unable to allocate memory

Brian Murray brian at ubuntu.com
Thu Dec 8 08:24:34 UTC 2016


I was unable to recreate this on an amd64 chroot:

 $ schroot -u bdmurray -c zesty-amd64
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-amd64)bdmurray at impulse:~/source-trees/ubuntu-archive-tools/phased-update-overrides$ sudo apt-get install 2vcard
[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://192.168.10.7/ubuntu zesty/universe amd64 2vcard all 0.6-1 [13.0 kB]
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/2vcard_0.6-1_all.deb ...
Unpacking 2vcard (0.6-1) ...
Setting up 2vcard (0.6-1) ...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1647832

Title:
  schroot sudo main: unable to allocate memory

Status in sudo package in Ubuntu:
  New

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://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main arm64 Packages
          100 /var/lib/dpkg/status
       1.8.9p5-1ubuntu1.1 0
          500 http://ports.ubuntu.com/ubuntu-ports/ trusty-security/main arm64 Packages
       1.8.9p5-1ubuntu1 0
          500 http://ports.ubuntu.com/ubuntu-ports/ trusty/main arm64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1647832/+subscriptions



More information about the foundations-bugs mailing list