分页: 1 / 1

升级8。10有点问题

发表于 : 2008-10-13 4:12
yhan123
正在删除 linux-ubuntu-modules-2.6.24-16-generic ...
FATAL: Could not open '/boot/System.map-2.6.24-16-generic': No such file or directory
update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic
Cannot find /lib/modules/2.6.24-16-generic
update-initramfs: failed for /boot/initrd.img-2.6.24-16-generic
dpkg:处理 linux-ubuntu-modules-2.6.24-16-generic (--remove)时出错:
子进程 post-removal script 返回了错误号 1
ERROR:root:got an error from dpkg for pkg: 'linux-ubuntu-modules-2.6.24-16-generic': '子进程 post-removal script 返回了错误号 1
'
ERROR:root:got an error from dpkg for pkg: 'linux-ubuntu-modules-2.6.24-16-generic': '子进程 post-removal script 返回了错误号 1
在处理时有错误发生:
linux-ubuntu-modules-2.6.24-16-generic
(正在读取数据库 ...
(正在读取数据库 ... 系统当前总共安装有 157925 个文件和目录。)
正预备替换 memtest86+ 1.70-3ubuntu1 (使用 .../memtest86+_2.01-1ubuntu2_i386.deb) ...
正在解压缩将用于更替的包文件 memtest86+ ...
dpkg:处理 /var/cache/apt/archives/memtest86+_2.01-1ubuntu2_i386.deb (--unpack)时出错:
无法在安装新的版本前,为“./boot/memtest86+.bin”做一个符号链接备份: 操作不允许
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.27-7-generic
Found kernel: /boot/memtest86+.bin
ctory
Updating /boot/grub/menu.lst ... done
正在处理用于 man-db 的触发器...
/var/cache/apt/archives/memtest86+_2.01-1ubuntu2_i386.deb
dpkg:处理 memtest86+ (--configure)时出错:
您已经安装并配置了软件包 memtest86+
memtest86+
ERROR:root:SystemError from cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code (1)
WARNING:root:cache.commit() error and pkg_failures == 0, generate a report against update-manager to investigate
时出错:
update-manager: Fatal IO error 9 (错误的文件描述符) on X server :0.0.
ERROR:root:SystemError from cache.commit(): installArchives() failed

Re: 升级8。10有点问题

发表于 : 2008-10-13 4:49
xhy
你难道不知道ubuntu是以跨版本升级容易崩溃著称的么?

Re: 升级8。10有点问题

发表于 : 2008-10-13 6:18
yhan123
不是跨版本 是升级后删除 旧内核时出错

Re: 升级8。10有点问题

发表于 : 2008-11-20 18:55
sdhongjun
转:
参照此法居然解决了
E: /var/cache/apt/archives/linux-image-2.6.24-19-generic_2.6.24-19.36_i386.deb: 无法在安装新的版本前,为“./boot/vmlinuz-2.6.24-19-generic”做一个符号链接备份
终端输入命令:
sudo rm -fv /boot/initrd.img-2.6.24*.bak
sudo rm -fv /boot/vmlinuz-2.6.24-19-generic
sudo rm -fv /boot/initrd.img-2.6.24-19-generic
sudo rm -fv /boot/config-2.6.24-19-generic
sudo rm -fv /boot//abi-2.6.24-19-generic
sudo rm -fv /boot/System.map-2.6.24-19-generic
于是用命令sudo rm -fv /boot/memtest86+.bin
再次安装ok了

参照如上的方法只删除了最后一项memtest86+.bin,删除后再升级就没有问题了!