Comment 2 for bug 1544042

Revision history for this message
Vacheslav Anzhiganov (vanzhiganov) wrote :

The error is caused due to lack of directory /proc in target chroot

Preparing to unpack .../linux-image-3.13.0-107-generic_3.13.0-107.154_amd64.deb ...
locale: Cannot set LC_ALL to default locale: No such file or directory
grep: /proc/cpuinfo: No such file or directory
This kernel does not support a non-PAE CPU.

In fingers, we can resolve this bug simple mount directory /proc from root system to chroot.

mount --bind /proc /tmp/tmpXXXX/proc

after mounting we can activate chroot and execute package installation again

chroot /tmp/tmpXXXX
apt-get --force-yes -y install linux-image-virtual

after all we need to umount proc dir