Re: ubuntu core - kernel installation question

2013-01-04 Thread Colin Watson
On Wed, Jan 02, 2013 at 03:47:57PM +, Tim Verstraete wrote:
> I am evaluating ubuntu core 12.10 (this version because of touch
> screen support) and I am following
> https://wiki.ubuntu.com/Core/InstallationExample and up until the
> installation of the kernel everything is working (if I reuse a kernel
> installation from previous builds (my own builds) everything is fine)
> BUT when I want to install a .deb with the kernel selected from the
> packages list I get:
> 
> root@ubuntu:/tmp# dpkg -i --force-all 
> linux-image-3.5.0-21-generic_3.5.0-21.32_amd64.deb

Never use --force-all.  It is very dangerous and is entirely capable of
accidentally trashing large swathes of your filesystem when a less
cavalier set of options would have produced a sensible error messages.
All the reasonable things you might want to force have much safer
alternatives.

[...]
> grep: /proc/cpuinfo: No such file or directory
[...]
> This is normal since we have no proc/cpuinfo ... how can I overrule
> this check on cpuinfo?

Is there any reason not to bind-mount /proc into your chroot?  We don't
support running very much without /proc in place, and certainly not
installing packages in general.

Cheers,

-- 
Colin Watson   [cjwat...@ubuntu.com]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


ubuntu core - kernel installation question

2013-01-02 Thread Tim Verstraete
Hi,

I am evaluating ubuntu core 12.10 (this version because of touch screen 
support) and I am following https://wiki.ubuntu.com/Core/InstallationExample 
and up until the installation of the kernel everything is working (if I reuse a 
kernel installation from previous builds (my own builds) everything is fine) 
BUT when I want to install a .deb with the kernel selected from the packages 
list I get:

root@ubuntu:/tmp# dpkg -i --force-all 
linux-image-3.5.0-21-generic_3.5.0-21.32_amd64.deb
(Reading database ... 11687 files and directories currently installed.)
Unpacking linux-image-3.5.0-21-generic (from 
linux-image-3.5.0-21-generic_3.5.0-21.32_amd64.deb) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl 
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm 
line 7.)
debconf: falling back to frontend: Teletype
grep: /proc/cpuinfo: No such file or directory
This kernel does not support a non-PAE CPU.
dpkg: error processing linux-image-3.5.0-21-generic_3.5.0-21.32_amd64.deb 
(--install):
subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-21-generic 
/boot/vmlinuz-3.5.0-21-generic
Errors were encountered while processing:
linux-image-3.5.0-21-generic_3.5.0-21.32_amd64.deb

This is normal since we have no proc/cpuinfo ... how can I overrule this check 
on cpuinfo?

Thanks in advance,

Kind regards,

Tim
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss