dpkg给弄坏了,修复不了……郁闷(splashy引起)

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

dpkg给弄坏了,修复不了……郁闷(splashy引起)

#1

帖子 Bayes » 2009-08-11 19:47

是安装splashy引起的,我先卸载了usplash,
然后,安装下载的splash和libsplash的deb包,
再安装了主题包,

开机的ubuntu自带界面没有了,但是splashy界面没出来,而且,进系统后,dpkg坏了:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

我就按照提示修复: sudo dpkg --configure -a
但是,修复不了,停在了一个步骤,出现内容如下:
@ubuntu:~$ sudo dpkg --configure -a
正在设置 initramfs-tools (0.85eubuntu39.3) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.24-24-generic
splashy_config: error while loading shared libraries: libmagic.so.1: cannot open shared object file: No such file or directory
splashy_config: error while loading shared libraries: libmagic.so.1: cannot open shared object file: No such file or directory
cp: “/lib/firmware/2.6.24-24-generic/ql2322_fw.bin” 和 “/tmp/mkinitramfs_I12443/lib/firmware/2.6.24-24-generic/ql2322_fw.bin” 为同一文件
cp: “/lib/firmware/2.6.24-24-generic/ql2200_fw.bin” 和 “/tmp/mkinitramfs_I12443/lib/firmware/2.6.24-24-generic/ql2200_fw.bin” 为同一文件
cp: “/lib/firmware/2.6.24-24-generic/ql2100_fw.bin” 和 “/tmp/mkinitramfs_I12443/lib/firmware/2.6.24-24-generic/ql2100_fw.bin” 为同一文件
cp: “/lib/firmware/2.6.24-24-generic/ql2300_fw.bin” 和 “/tmp/mkinitramfs_I12443/lib/firmware/2.6.24-24-generic/ql2300_fw.bin” 为同一文件
cp: “/lib/firmware/2.6.24-24-generic/aic94xx-seq.fw” 和 “/tmp/mkinitramfs_I12443/lib/firmware/2.6.24-24-generic/aic94xx-seq.fw” 为同一文件
cp: “/lib/firmware/2.6.24-24-generic/ql2400_fw.bin” 和 “/tmp/mkinitramfs_I12443/lib/firmware/2.6.24-24-generic/ql2400_fw.bin” 为同一文件
(省略 很多……………………)
最后,停在这了:
p: 无法打开 “/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/delete” 读取数据: Permission denied
cp: 正在读入 “/sys/devices/pci0000:00/0000:00:1f.3/resource4”: 输入/输出错误
cp: 无法打开 “/sys/bus/platform/uevent” 读取数据: Permission denied
cp: 无法打开 “/sys/bus/platform/drivers/serial8250/uevent” 读取数据: Permission denied
cp: 无法打开 “/sys/bus/platform/drivers/serial8250/unbind” 读取数据: Permission denied
cp: 无法打开 “/sys/bus/platform/drivers/serial8250/bind” 读取数据: Permission denied
cp: 无法打开 “/sys/bus/platform/drivers/i8042/uevent” 读取数据: Permission denied
。。。。。(此处省略很多)
cp: 正在读入 “/sys/slab/:0000960/alloc_calls”: Function not implemented
cp: 正在读入 “/sys/slab/:0000960/free_calls”: Function not implemented
cp: 正在读入 “/sys/slab/:0004160/alloc_calls”: Function not implemented
cp: 正在读入 “/sys/slab/:0004160/free_calls”: Function not implemented
cp: 正在读入 “/sys/slab/VMBlockInodeCache/alloc_calls”: Function not implemented
cp: 正在读入 “/sys/slab/VMBlockInodeCache/free_calls”: Function not implemented
cp: 正在读入 “/sys/slab/fat_cache/alloc_calls”: Function not implemented
cp: 正在读入 “/sys/slab/fat_cache/free_calls”: Function not implemented
cp: 正在读入 “/sys/slab/fat_inode_cache/alloc_calls”: Function not implemented
cp: 正在读入 “/sys/slab/fat_inode_cache/free_calls”: Function not implemented
cp: 无法打开 “/proc/acpi/event” 读取数据: Device or resource busy
cp: 无法打开 “/proc/sys/kernel/sched_nr_migrate” 读取数据: Permission denied
cp: 无法打开 “/proc/sys/net/ipv4/route/flush” 读取数据: Permission denied
cp: 无法打开 “/proc/sys/net/ipv6/route/flush” 读取数据: Permission denied
cp: 正在读入 “/proc/sys/fs/binfmt_misc/register”: 非法的参数
cp: 正在读入 “/proc/fs/vmblock/dev”: 输入/输出错误
cp: 无法访问“/proc/fs/vmblock/mountPoint”: 没有该文件或目录
cp: 正在读入 “/proc/sysrq-trigger”: 输入/输出错误
cp: 无法对 “/tmp/mkinitramfs_f11806/proc/kcore” 执行 lseek 调用: 非法的参数

到这里就再也不动了……
有谁知道怎么回事阿?谢谢:)
上次由 Bayes 在 2009-08-12 11:56,总共编辑 2 次。
头像
tenzu
论坛版主
帖子: 36924
注册时间: 2008-11-21 20:26

Re: dpkg给弄坏了,修复不了……郁闷(splashy引起)

#2

帖子 tenzu » 2009-08-11 20:13

怎么看着是在copy同一文件到原先目录下啊,不懂
头像
chinesejerry
帖子: 510
注册时间: 2007-10-06 3:48
来自: 霍格沃茨魔法学校葛莱芬多学院
联系:

Re: dpkg给弄坏了,修复不了……郁闷(splashy引起)

#3

帖子 chinesejerry » 2009-08-11 20:53

那就把/tmp下面的东西删除了再试 sudo dpkg --configure -a
Because...nobody really uses an operating system,
people use...programs...on their computer.
And the only mission in life of an operating system is to helps those programs run.
----Linus
头像
Bayes
帖子: 94
注册时间: 2008-08-28 16:58

Re: dpkg给弄坏了,修复不了……郁闷(splashy引起)

#4

帖子 Bayes » 2009-08-12 8:02

阿,删掉tmp下东西没用,那都是后来生成的,少贴了东西,后面还有错误提示:
can” 读取数据: Permission denied
cp: 无法打开 “/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/delete” 读取数据: Permission denied
cp: 正在读入 “/sys/devices/pci0000:00/0000:00:1f.3/resource4”: 输入/输出错误
cp: 无法打开 “/sys/bus/platform/uevent” 读取数据: Permission denied
cp: 无法打开 “/sys/bus/platform/drivers/serial8250/uevent” 读取数据: Permission denied
cp: 无法打开 “/sys/bus/platform/drivers/serial8250/unbind” 读取数据: Permission denied
cp: 无法打开 “/sys/bus/platform/drivers/serial8250/bind” 读取数据: Permission denied
cp: 无法打开 “/sys/bus/platform/drivers/i8042/uevent” 读取数据: Permission denied
。。。。。(此处省略很多)
cp: 正在读入 “/sys/slab/:0000960/alloc_calls”: Function not implemented
cp: 正在读入 “/sys/slab/:0000960/free_calls”: Function not implemented
cp: 正在读入 “/sys/slab/:0004160/alloc_calls”: Function not implemented
cp: 正在读入 “/sys/slab/:0004160/free_calls”: Function not implemented
cp: 正在读入 “/sys/slab/VMBlockInodeCache/alloc_calls”: Function not implemented
cp: 正在读入 “/sys/slab/VMBlockInodeCache/free_calls”: Function not implemented
cp: 正在读入 “/sys/slab/fat_cache/alloc_calls”: Function not implemented
cp: 正在读入 “/sys/slab/fat_cache/free_calls”: Function not implemented
cp: 正在读入 “/sys/slab/fat_inode_cache/alloc_calls”: Function not implemented
cp: 正在读入 “/sys/slab/fat_inode_cache/free_calls”: Function not implemented
cp: 无法打开 “/proc/acpi/event” 读取数据: Device or resource busy
cp: 无法打开 “/proc/sys/kernel/sched_nr_migrate” 读取数据: Permission denied
cp: 无法打开 “/proc/sys/net/ipv4/route/flush” 读取数据: Permission denied
cp: 无法打开 “/proc/sys/net/ipv6/route/flush” 读取数据: Permission denied
cp: 正在读入 “/proc/sys/fs/binfmt_misc/register”: 非法的参数
cp: 正在读入 “/proc/fs/vmblock/dev”: 输入/输出错误
cp: 无法访问“/proc/fs/vmblock/mountPoint”: 没有该文件或目录
cp: 正在读入 “/proc/sysrq-trigger”: 输入/输出错误
cp: 无法对 “/tmp/mkinitramfs_f11806/proc/kcore” 执行 lseek 调用: 非法的参数


最后停在这了。
头像
Bayes
帖子: 94
注册时间: 2008-08-28 16:58

Re: dpkg给弄坏了,修复不了……郁闷(splashy引起)

#5

帖子 Bayes » 2009-08-13 7:49

没人知道吗?
liziyun537
帖子: 5
注册时间: 2009-08-07 23:36

Re: dpkg给弄坏了,修复不了……郁闷(splashy引起)

#6

帖子 liziyun537 » 2009-08-13 17:07

su root再试试
回复