我认为主要问题基于包管理器错误消息中的这一行。
该内核不支持非 PAE CPU。
如何在 forcepae 安装上运行 dist 升级?
关于我的安装的额外信息:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
$ uname -a
Linux justin-Inspiron-8600 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:01 UTC 2015 i686 i686 i686 GNU/Linux
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.19.0-15-generic root=UUID=08ba681b-f340-4554-a283-fda4a60b2f59 ro quiet splash vt.handoff=7
$ grep -m3 -e '^model name' -e '^flags' -e '^address size' /proc/cpuinfo
model name : Intel(R) Pentium(R) M processor 1.60GHz
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe bts est tm2
address sizes : 36 bits physical, 32 bits virtual
错误消息如下
(synaptic:31640): GLib-CRITICAL **: g_child_watch_add_full: assertion
pid > 0' failed
/usr/share/themes/Lubuntu-default/gtk-2.0/apps/thunar.rc:55: error:
invalid string constant "thunar-statusbar", expected valid string
constant /usr/share/themes/Lubuntu-default/gtk-2.0/apps/thunar.rc:55:
error: invalid string constant "thunar-statusbar", expected valid
string constant (Reading database ... 144711 files and directories
currently installed.) Preparing to unpack
.../linux-image-3.19.0-51-generic_3.19.0-51.58_i386.deb ...
/usr/share/themes/Lubuntu-default/gtk-2.0/apps/thunar.rc:55: error:
invalid string constant "thunar-statusbar", expected valid string
constant /usr/share/themes/Lubuntu-default/gtk-2.0/apps/thunar.rc:55:
error: invalid string constant "thunar-statusbar", expected valid
string constant This kernel does not support a non-PAE CPU. dpkg:
error processing archive
/var/cache/apt/archives/linux-image-3.19.0-51-generic_3.19.0-51.58_i386.deb
(--unpack): 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.19.0-51-generic
/boot/vmlinuz-3.19.0-51-generic run-parts: executing
/etc/kernel/postrm.d/zz-update-grub 3.19.0-51-generic
/boot/vmlinuz-3.19.0-51-generic Preparing to unpack
.../gvfs-backends_1.24.2-0ubuntu0.1_i386.deb ... Unpacking
gvfs-backends (1.24.2-0ubuntu0.1) over (1.24.1-1ubuntu1) ... Preparing
to unpack .../gvfs-fuse_1.24.2-0ubuntu0.1_i386.deb ... Unpacking
gvfs-fuse (1.24.2-0ubuntu0.1) over (1.24.1-1ubuntu1) ... Preparing to
unpack .../gvfs_1.24.2-0ubuntu0.1_i386.deb ... Unpacking gvfs:i386
(1.24.2-0ubuntu0.1) over (1.24.1-1ubuntu1) ... Preparing to unpack
.../gvfs-daemons_1.24.2-0ubuntu0.1_i386.deb ... Unpacking gvfs-daemons
(1.24.2-0ubuntu0.1) over (1.24.1-1ubuntu1) ... Preparing to unpack
.../gvfs-libs_1.24.2-0ubuntu0.1_i386.deb ... Unpacking gvfs-libs:i386
(1.24.2-0ubuntu0.1) over (1.24.1-1ubuntu1) ... Preparing to unpack
.../gvfs-common_1.24.2-0ubuntu0.1_all.deb ... Unpacking gvfs-common
(1.24.2-0ubuntu0.1) over (1.24.1-1ubuntu1) ... Preparing to unpack
.../libnautilus-extension1a_1%3a3.14.2-0ubuntu9.1_i386.deb ...
Unpacking libnautilus-extension1a (1:3.14.2-0ubuntu9.1) over
(1:3.14.2-0ubuntu9) ... Preparing to unpack
.../nautilus-data_1%3a3.14.2-0ubuntu9.1_all.deb ... Unpacking
nautilus-data (1:3.14.2-0ubuntu9.1) over (1:3.14.2-0ubuntu9) ...
Processing triggers for gconf2 (3.2.6-3ubuntu1) ... Processing
triggers for libglib2.0-0:i386 (2.44.1-1ubuntu1) ... Processing
triggers for man-db (2.7.0.2-5) ... Processing triggers for
shared-mime-info (1.3-1) ... Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.19.0-51-generic_3.19.0-51.58_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1) A package
failed to install. Trying to recover: Setting up nautilus-data
(1:3.14.2-0ubuntu9.1) ... Setting up gvfs-common (1.24.2-0ubuntu0.1)
... dpkg: dependency problems prevent configuration of
linux-image-extra-3.19.0-51-generic:
linux-image-extra-3.19.0-51-generic depends on
linux-image-3.19.0-51-generic; however: Package
linux-image-3.19.0-51-generic is not installed.
dpkg: error processing package linux-image-extra-3.19.0-51-generic
(--configure): dependency problems - leaving unconfigured Setting up
gvfs-libs:i386 (1.24.2-0ubuntu0.1) ... Setting up
libnautilus-extension1a (1:3.14.2-0ubuntu9.1) ... dpkg: dependency
problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-3.19.0-51-generic; however:
Package linux-image-3.19.0-51-generic is not installed.
linux-image-generic depends on linux-image-extra-3.19.0-51-generic;
however: Package linux-image-extra-3.19.0-51-generic is not
configured yet.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured Setting up gvfs-daemons
(1.24.2-0ubuntu0.1) ... Setting up gvfs:i386 (1.24.2-0ubuntu0.1) ...
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 3.19.0.51.50);
however: Package linux-image-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured Setting up gvfs-backends
(1.24.2-0ubuntu0.1) ... Setting up gvfs-fuse (1.24.2-0ubuntu0.1) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ... Errors were
encountered while processing: linux-image-extra-3.19.0-51-generic
linux-image-generic linux-generic
答案1
升级
安装 PAE 内核(以验证您的系统是否支持 PAE)
第一次运行
apt-get install linux-image-generic-pae
重启然后运行
uname -a
这应该输出一行,其中版本号(例如 3.11.0-17)以“-generic”结尾并且是 3.11.x 或更高版本。
将 PAE 标志添加到处理器信息中
要将 PAE 标志添加到存储在的处理器信息中
/proc/cpuinfo
,请运行以下命令:cat /proc/cpuinfo | sed 's/flags\t*:/& pae/' > /tmp/cpuinfo_pae sudo mount -o bind /tmp/cpuinfo_pae /proc/cpuinfo sudo mount -o remount,ro,bind /proc/cpuinfo
运行这些命令后,运行
grep flags /proc/cpuinfo
如果正确添加了标志,命令将返回以 开头
flags :
并包含该标志的行pae
。