我正在尝试为 32 位 Ubuntu 手动安装 64 位内核。我这样做有自己的理由,但这些理由太复杂了,无法在此解释。在 Natty 之前,这种方法很有效。现在,在 Natty 上,当我尝试以同样的方式执行此操作时,我收到以下错误消息:
dsimcha@dsimcha-laptop:~$ sudo dpkg -i --force-architecture linux-image-2.6.38-8-server_2.6.38-8.42_amd64.deb
[sudo] password for dsimcha:
dpkg: error processing linux-image-2.6.38-8-server_2.6.38-8.42_amd64.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
linux-image-2.6.38-8-server_2.6.38-8.42_amd64.deb
dsimcha@dsimcha-laptop:~$ cd Downloads/
dsimcha@dsimcha-laptop:~/Downloads$ sudo dpkg -i --force-architecture linux-image-2.6.38-8-server_2.6.38-8.42_amd64.deb
dpkg: warning: overriding problem because --force enabled:
package architecture (amd64) does not match system (i386)
(Reading database ... 159153 files and directories currently installed.)
Preparing to replace linux-image-2.6.38-8-server:amd64 2.6.38-8.42 (using linux-image-2.6.38-8-server_2.6.38-8.42_amd64.deb) ...
Done.
Unpacking replacement linux-image-2.6.38-8-server:amd64 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.38-8-server /boot/vmlinuz-2.6.38-8-server
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.38-8-server /boot/vmlinuz-2.6.38-8-server
dpkg: dependency problems prevent configuration of linux-image-2.6.38-8-server:amd64:
linux-image-2.6.38-8-server:amd64 depends on initramfs-tools (>= 0.36ubuntu6).
linux-image-2.6.38-8-server:amd64 depends on coreutils | fileutils (>= 4.0); however:
Package coreutils:amd64 is not installed.
linux-image-2.6.38-8-server:amd64 depends on module-init-tools (>= 3.3-pre11-4ubuntu3); however:
linux-image-2.6.38-8-server:amd64 depends on wireless-crda; however:
dpkg: error processing linux-image-2.6.38-8-server:amd64 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.38-8-server:amd64
当我手动尝试依赖项时,我会得到:
dsimcha@dsimcha-laptop:~/Downloads$ sudo dpkg -i --force-architecture coreutils_8.5-1ubuntu6_amd64.deb
dpkg: warning: overriding problem because --force enabled:
package architecture (amd64) does not match system (i386)
dpkg: error processing coreutils_8.5-1ubuntu6_amd64.deb (--install):
coreutils:amd64 8.5-1ubuntu6 (Multi-Arch: no) is not co-installable with coreutils:i386 8.5-1ubuntu6 (Multi-Arch: no) which is currently installed
Errors were encountered while processing:
coreutils_8.5-1ubuntu6_amd64.deb
有人在 32 位 Natty 上成功安装过 64 位内核吗?如果成功,该怎么做?