升级8。10有点问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
yhan123
帖子: 16
注册时间: 2008-07-13 5:21

升级8。10有点问题

#1

帖子 yhan123 » 2008-10-13 4:12

正在删除 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
头像
xhy
帖子: 3916
注册时间: 2005-12-28 1:16
系统: Ubuntu 12.10 X64
来自: 火星

Re: 升级8。10有点问题

#2

帖子 xhy » 2008-10-13 4:49

你难道不知道ubuntu是以跨版本升级容易崩溃著称的么?
目前负债150多万
yhan123
帖子: 16
注册时间: 2008-07-13 5:21

Re: 升级8。10有点问题

#3

帖子 yhan123 » 2008-10-13 6:18

不是跨版本 是升级后删除 旧内核时出错
sdhongjun
帖子: 5
注册时间: 2008-10-27 13:08

Re: 升级8。10有点问题

#4

帖子 sdhongjun » 2008-11-20 18:55

转:
参照此法居然解决了
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,删除后再升级就没有问题了!
回复