升级8.10后出现的问题。大侠帮帮忙吧!该怎么解决?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 13
- 注册时间: 2005-08-30 22:58
升级8.10后出现的问题。大侠帮帮忙吧!该怎么解决?
sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包将被【卸载】:
linux-ubuntu-modules-2.6.24-16-generic
下列的软件包的版本将保持不变:
gstreamer0.10-plugins-ugly-multiverse mplayer
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 2 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后将会空出 15.8MB 的空间。
您希望继续执行吗?[Y/n]y
(正在读取数据库 ... 系统当前总共安装有 111487 个文件和目录。)
正在删除 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
在处理时有错误发生:
linux-ubuntu-modules-2.6.24-16-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包将被【卸载】:
linux-ubuntu-modules-2.6.24-16-generic
下列的软件包的版本将保持不变:
gstreamer0.10-plugins-ugly-multiverse mplayer
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 2 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后将会空出 15.8MB 的空间。
您希望继续执行吗?[Y/n]y
(正在读取数据库 ... 系统当前总共安装有 111487 个文件和目录。)
正在删除 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
在处理时有错误发生:
linux-ubuntu-modules-2.6.24-16-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
- 帖子: 13
- 注册时间: 2005-08-30 22:58
Re: 升级8.10后出现的问题。大侠帮帮忙吧!该怎么解决?
现在是什么软件也装不上了。
sudo apt-get -f install和用新立得也解决不了。也删除不掉这个内核。
sudo apt-get -f install和用新立得也解决不了。也删除不掉这个内核。
-
- 帖子: 254
- 注册时间: 2006-01-18 18:11
Re: 升级8.10后出现的问题。大侠帮帮忙吧!该怎么解决?
直接用dpkg试试。
sudo dpkg -r --force-all 软件包名
sudo dpkg -r --force-all 软件包名
-
- 帖子: 13
- 注册时间: 2005-08-30 22:58
Re: 升级8.10后出现的问题。大侠帮帮忙吧!该怎么解决?
还是不行
sudo dpkg -r --force-all linux-ubuntu-modules-2.6.24-16-generic
(正在读取数据库 ... 系统当前总共安装有 111487 个文件和目录。)
正在删除 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
在处理时有错误发生:
linux-ubuntu-modules-2.6.24-16-generic
sudo dpkg -r --force-all linux-ubuntu-modules-2.6.24-16-generic
(正在读取数据库 ... 系统当前总共安装有 111487 个文件和目录。)
正在删除 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
在处理时有错误发生:
linux-ubuntu-modules-2.6.24-16-generic
-
- 帖子: 140
- 注册时间: 2006-10-15 12:59
- 联系:
Re: 升级8.10后出现的问题。大侠帮帮忙吧!该怎么解决?
用 locate 搜索内核版本,大概在 /var 下面有一个 文件,删掉就行了
- 想入非非
- 帖子: 8078
- 注册时间: 2008-07-14 22:42
- 来自: Beijing
- 联系:
-
- 帖子: 1
- 注册时间: 2008-11-04 9:40
Re: 升级8.10后出现的问题。大侠帮帮忙吧!该怎么解决?
今天升级的时候也出现同样的问题,查了一下,发现下面的方法可行。
http://www.uluga.ubuntuforums.org/showt ... p?t=818397
http://www.uluga.ubuntuforums.org/showt ... p?t=818397
You can work around this problem by removing the postrm scripts that
fail and prevent apt from removing these packags. If you're really not
going to use 2.6.24-16 and 2.6.24-17 kernels on this system (without
completely reinstalling them), that should be safe to do:
sudo rm /var/lib/dpkg/info/linux-backports-modules-2.6.24-16-generic.postrm
sudo rm /var/lib/dpkg/info/linux-backports-modules-2.6.24-17-generic.postrm
sudo rm /var/lib/dpkg/info/linux-ubuntu-modules-2.6.24-16-generic.postrm
sudo rm /var/lib/dpkg/info/linux-ubuntu-modules-2.6.24-17-generic.postrm
sudo apt-get remove linux-ubuntu-modules-2.6.24-16-generic \
linux-ubuntu-modules-2.6.24-17-generic \
linux-backports-modules-2.6.24-16-generic \
linux-backports-modules-2.6.24-17-generic
- jordan0102
- 帖子: 25
- 注册时间: 2007-12-16 0:45
Re: 升级8.10后出现的问题。大侠帮帮忙吧!该怎么解决?
支持7楼,我也是参考这个方法解决804升级810后新立得无法更新的问题(虽然不太明白是什么意思)。
-
- 帖子: 39
- 注册时间: 2008-11-15 16:14
Re: 升级8.10后出现的问题。大侠帮帮忙吧!该怎么解决?
我也照7楼那么解决的@谢谢搂住了!哈哈~~~
- mickeywaley
- 帖子: 1427
- 注册时间: 2009-03-19 9:19
- 系统: ubuntu
- 来自: 江苏
- 联系:
Re: 升级8.10后出现的问题。大侠帮帮忙吧!该怎么解决?
我也是这样,安7楼的也去研究下看看,还是没搞定,郁闷哦。。。
- blog:http://lizhenglin.com备份的,原站加www.
- OS:ubuntu:9.04
- Google Talk:mickeywaley#gmail.com
- Twitter:@mickeywaley
- Google Voice:1-520-226-8130
- Ubuntu 9.10 (Karmic Koala) 安装配置相关教程 http://docs.google.com/View?id=ddqsjgzx_747f25h8pcb