[问题]无法删除 linux-ubuntu-modules-2.6.24-16-generic

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

[问题]无法删除 linux-ubuntu-modules-2.6.24-16-generic

#1

帖子 seashare » 2008-08-28 0:05

seashare@seashare-desktop:~$ sudo apt-get autoremove
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包将被【卸载】:
linux-ubuntu-modules-2.6.24-16-generic
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 0 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后将会空出 15.8MB 的空间。
您希望继续执行吗?[Y/n]y
(正在读取数据库 ... 系统当前总共安装有 119582 个文件和目录。)
正在删除 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)


seashare@seashare-desktop:~$ sudo dpkg --purge --force-remove-essential linux-ubuntu-modules-2.6.24-16-generic
(正在读取数据库 ... 系统当前总共安装有 119582 个文件和目录。)
正在删除 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 (--purge)时出错:
子进程 post-removal script 返回了错误号 1
在处理时有错误发生:
linux-ubuntu-modules-2.6.24-16-generic
头像
ioiomi
帖子: 380
注册时间: 2007-06-01 10:49

#2

帖子 ioiomi » 2008-08-28 10:16

启动时候不要进入16内核 否则删除在运行的是不行的
头像
dogfox
论坛版主
帖子: 5311
注册时间: 2006-09-02 14:18
来自: 汉桑城
联系:

#3

帖子 dogfox » 2008-08-28 10:38

代码: 全选

sudo  aptitude purge linux-ubuntu-modules-2.6.24-16-generic 
全世界linux爱好者联合起来 !
seashare
帖子: 2
注册时间: 2006-07-27 1:23

#4

帖子 seashare » 2008-08-29 21:51

还是不行,麻烦各位大虾继续支招,谢谢
头像
ptptptptptpt
帖子: 3711
注册时间: 2006-09-19 18:16

#5

帖子 ptptptptptpt » 2008-08-29 21:54

我遇到过这种事,重新装一遍 linux-ubuntu-modules-2.6.24-16-generic ,再删,试试
头像
sinyadvan
帖子: 724
注册时间: 2008-04-02 15:36
来自: O_O

#6

帖子 sinyadvan » 2008-08-29 22:13

ptptptptptpt 写了:我遇到过这种事,重新装一遍 linux-ubuntu-modules-2.6.24-16-generic ,再删,试试
:lol: :lol: :lol: :lol:
^o^ && O_O && ^_^
One World|One Dream|One Piece
愛 ^_^ 這個 美麗的世界O_O

本公司专治各种不服、不爽、谩骂、挑衅。
c_haoyiliu
帖子: 16
注册时间: 2008-09-16 18:09

Re: [问题]无法删除 linux-ubuntu-modules-2.6.24-16-generic

#7

帖子 c_haoyiliu » 2009-04-30 19:50

怎么重新安装 linux-ubuntu-modules-2.6.24-16-generic
回复