当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 升级到linux2.6.24-17内核死机后,安装新的软件出现错误
帖子发表于 : 2008-05-11 19:25 

注册: 2008-04-29 13:15
帖子: 75
送出感谢: 1
接收感谢: 0 次
安装不定过程中遇到死机。至今没有安装好linux2.6.24-17内核,但是每次安装新软件却都要检查一次依赖性~~浪费颇多时间~
根据提示信息输入sudo dpkg --configure -a提示如下信息~~请求诊断
代码:
ibmuser@ibmuser-laptop:~$ sudo dpkg --configure -a
Setting up linux-image-2.6.24-17-server (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-server
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-server (--configure):
 subprocess post-installation script returned error exit status 10
Setting up linux-image-2.6.24-17-rt (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-rt
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-rt (--configure):
 subprocess post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-rt:
 virtualbox-ose-guest-modules-2.6.24-17-rt depends on linux-image-2.6.24-17-rt; however:
  Package linux-image-2.6.24-17-rt is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-rt (--configure):
 dependency problems - leaving unconfigured
Setting up linux-image-2.6.24-17-386 (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-386
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-386 (--configure):
 subprocess post-installation script returned error exit status 10
Setting up linux-image-2.6.24-17-virtual (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-virtual
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-virtual (--configure):
 subprocess post-installation script returned error exit status 10
Setting up linux-image-2.6.24-17-generic (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-generic
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-generic (--configure):
 subprocess post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-server:
 virtualbox-ose-guest-modules-2.6.24-17-server depends on linux-image-2.6.24-17-server; however:
  Package linux-image-2.6.24-17-server is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-server (--configure):
 dependency problems - leaving unconfigured
Setting up linux-image-2.6.24-17-openvz (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-openvz
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-openvz (--configure):
 subprocess post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-386:
 virtualbox-ose-guest-modules-2.6.24-17-386 depends on linux-image-2.6.24-17-386; however:
  Package linux-image-2.6.24-17-386 is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-virtual:
 virtualbox-ose-guest-modules-2.6.24-17-virtual depends on linux-image-2.6.24-17-virtual; however:
  Package linux-image-2.6.24-17-virtual is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-virtual (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-openvz:
 virtualbox-ose-guest-modules-2.6.24-17-openvz depends on linux-image-2.6.24-17-openvz; however:
  Package linux-image-2.6.24-17-openvz is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-openvz (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-ubuntu-modules-2.6.24-17-generic:
 linux-ubuntu-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-ubuntu-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-generic:
 virtualbox-ose-guest-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
 linux-image-generic depends on linux-ubuntu-modules-2.6.24-17-generic; however:
  Package linux-ubuntu-modules-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-modules-2.6.24-17-generic:
 virtualbox-ose-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing virtualbox-ose-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-restricted-modules-2.6.24-17-generic:
 linux-restricted-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-restricted-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-restricted-modules-generic:
 linux-restricted-modules-generic depends on linux-restricted-modules-2.6.24-17-generic; however:
  Package linux-restricted-modules-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-restricted-modules-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 2.6.24.17.19); however:
  Package linux-image-generic is not configured yet.
 linux-generic depends on linux-restricted-modules-generic (= 2.6.24.17.19); however:
  Package linux-restricted-modules-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-modules-generic:
 virtualbox-ose-modules-generic depends on virtualbox-ose-modules-2.6.24-17-generic; however:
  Package virtualbox-ose-modules-2.6.24-17-generic is not configured yet.
dpkg: error processing virtualbox-ose-modules-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.24-17-server
 linux-image-2.6.24-17-rt
 virtualbox-ose-guest-modules-2.6.24-17-rt
 linux-image-2.6.24-17-386
 linux-image-2.6.24-17-virtual
 linux-image-2.6.24-17-generic
 virtualbox-ose-guest-modules-2.6.24-17-server
 linux-image-2.6.24-17-openvz
 virtualbox-ose-guest-modules-2.6.24-17-386
 virtualbox-ose-guest-modules-2.6.24-17-virtual
 virtualbox-ose-guest-modules-2.6.24-17-openvz
 linux-ubuntu-modules-2.6.24-17-generic
 virtualbox-ose-guest-modules-2.6.24-17-generic
 linux-image-generic
 virtualbox-ose-modules-2.6.24-17-generic
 linux-restricted-modules-2.6.24-17-generic
 linux-restricted-modules-generic
 linux-generic
 virtualbox-ose-modules-generic


最后由 polau 编辑于 2008-05-11 22:00,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-05-11 20:18 

注册: 2008-04-29 13:15
帖子: 75
送出感谢: 1
接收感谢: 0 次
根据出错的第一个地方查找到/sbin/update-grub
输入:sudo gedit /sbin/update-grub
得到:
#!/bin/sh
#
# Wrapper to warn user about kernel-img.conf move
#

if grep -q ' */sbin/update-grub$' /etc/kernel-img.conf 2> /dev/null ; then
cat >&2 <<EOF
Your /etc/kernel-img.conf needs to be updated. Read grub's NEWS.Debian[1]
file and follow its instructions.

1. /usr/share/doc/grub/NEWS.Debian.gz


EOF
fi

if [ -x /usr/sbin/update-grub ]; then
exec /usr/sbin/update-grub "$@"
else
echo "Your /usr is broken, please fix it before call this wrapper!" >&2
fi


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-05-11 21:23 

注册: 2008-04-29 13:15
帖子: 75
送出感谢: 1
接收感谢: 0 次
重启后仍然提示
代码:
ibmuser@ibmuser-laptop:~$ sudo aptitude safe-upgrade
[sudo] password for ibmuser:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initialising package states... Done
Building tag database... Done     
The following partially installed packages will be configured:
  linux-generic linux-image-2.6.24-17-386 linux-image-2.6.24-17-generic
  linux-image-2.6.24-17-openvz linux-image-2.6.24-17-rt
  linux-image-2.6.24-17-server linux-image-2.6.24-17-virtual
  linux-image-generic linux-restricted-modules-2.6.24-17-generic
  linux-restricted-modules-generic linux-ubuntu-modules-2.6.24-17-generic
  virtualbox-ose-guest-modules-2.6.24-17-386
  virtualbox-ose-guest-modules-2.6.24-17-generic
  virtualbox-ose-guest-modules-2.6.24-17-openvz
  virtualbox-ose-guest-modules-2.6.24-17-rt
  virtualbox-ose-guest-modules-2.6.24-17-server
  virtualbox-ose-guest-modules-2.6.24-17-virtual
  virtualbox-ose-modules-2.6.24-17-generic virtualbox-ose-modules-generic
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up linux-image-2.6.24-17-386 (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-386
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-386 (--configure):
 subprocess post-installation script returned error exit status 10
Setting up linux-image-2.6.24-17-generic (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-generic
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-generic (--configure):
 subprocess post-installation script returned error exit status 10
Setting up linux-image-2.6.24-17-openvz (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-openvz
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-openvz (--configure):
 subprocess post-installation script returned error exit status 10
Setting up linux-image-2.6.24-17-rt (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-rt
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-rt (--configure):
 subprocess post-installation script returned error exit status 10
Setting up linux-image-2.6.24-17-server (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-server
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-server (--configure):
 subprocess post-installation script returned error exit status 10
Setting up linux-image-2.6.24-17-virtual (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-virtual
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-virtual (--configure):
 subprocess post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of linux-ubuntu-modules-2.6.24-17-generic:
 linux-ubuntu-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-ubuntu-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
 linux-image-generic depends on linux-ubuntu-modules-2.6.24-17-generic; however:
  Package linux-ubuntu-modules-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-restricted-modules-2.6.24-17-generic:
 linux-restricted-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-restricted-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-restricted-modules-generic:
 linux-restricted-modules-generic depends on linux-restricted-modules-2.6.24-17-generic; however:
  Package linux-restricted-modules-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-restricted-modules-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 2.6.24.17.19); however:
  Package linux-image-generic is not configured yet.
 linux-generic depends on linux-restricted-modules-generic (= 2.6.24.17.19); however:
  Package linux-restricted-modules-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-386:
 virtualbox-ose-guest-modules-2.6.24-17-386 depends on linux-image-2.6.24-17-386; however:
  Package linux-image-2.6.24-17-386 is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-generic:
 virtualbox-ose-guest-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-openvz:
 virtualbox-ose-guest-modules-2.6.24-17-openvz depends on linux-image-2.6.24-17-openvz; however:
  Package linux-image-2.6.24-17-openvz is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-openvz (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-rt:
 virtualbox-ose-guest-modules-2.6.24-17-rt depends on linux-image-2.6.24-17-rt; however:
  Package linux-image-2.6.24-17-rt is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-rt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-server:
 virtualbox-ose-guest-modules-2.6.24-17-server depends on linux-image-2.6.24-17-server; however:
  Package linux-image-2.6.24-17-server is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-virtual:
 virtualbox-ose-guest-modules-2.6.24-17-virtual depends on linux-image-2.6.24-17-virtual; however:
  Package linux-image-2.6.24-17-virtual is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-virtual (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-modules-2.6.24-17-generic:
 virtualbox-ose-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing virtualbox-ose-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-modules-generic:
 virtualbox-ose-modules-generic depends on virtualbox-ose-modules-2.6.24-17-generic; however:
  Package virtualbox-ose-modules-2.6.24-17-generic is not configured yet.
dpkg: error processing virtualbox-ose-modules-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.24-17-386
 linux-image-2.6.24-17-generic
 linux-image-2.6.24-17-openvz
 linux-image-2.6.24-17-rt
 linux-image-2.6.24-17-server
 linux-image-2.6.24-17-virtual
 linux-ubuntu-modules-2.6.24-17-generic
 linux-image-generic
 linux-restricted-modules-2.6.24-17-generic
 linux-restricted-modules-generic
 linux-generic
 virtualbox-ose-guest-modules-2.6.24-17-386
 virtualbox-ose-guest-modules-2.6.24-17-generic
 virtualbox-ose-guest-modules-2.6.24-17-openvz
 virtualbox-ose-guest-modules-2.6.24-17-rt
 virtualbox-ose-guest-modules-2.6.24-17-server
 virtualbox-ose-guest-modules-2.6.24-17-virtual
 virtualbox-ose-modules-2.6.24-17-generic
 virtualbox-ose-modules-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-image-2.6.24-17-server (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-server
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-server (--configure):
 subprocess post-installation script returned error exit status 10
Setting up linux-image-2.6.24-17-rt (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-rt
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-rt (--configure):
 subprocess post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-rt:
 virtualbox-ose-guest-modules-2.6.24-17-rt depends on linux-image-2.6.24-17-rt; however:
  Package linux-image-2.6.24-17-rt is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-rt (--configure):
 dependency problems - leaving unconfigured
Setting up linux-image-2.6.24-17-386 (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-386
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-386 (--configure):
 subprocess post-installation script returned error exit status 10
Setting up linux-image-2.6.24-17-virtual (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-virtual
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-virtual (--configure):
 subprocess post-installation script returned error exit status 10
Setting up linux-image-2.6.24-17-generic (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-generic
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-generic (--configure):
 subprocess post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-server:
 virtualbox-ose-guest-modules-2.6.24-17-server depends on linux-image-2.6.24-17-server; however:
  Package linux-image-2.6.24-17-server is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-server (--configure):
 dependency problems - leaving unconfigured
Setting up linux-image-2.6.24-17-openvz (2.6.24-17.31) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-17-openvz
Running postinst hook script /sbin/update-grub.
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.24-17-386
Found kernel: /boot/vmlinuz-2.6.24-17-virtual
Found kernel: /boot/vmlinuz-2.6.24-17-server
Found kernel: /boot/vmlinuz-2.6.24-17-rt
Found kernel: /boot/vmlinuz-2.6.24-17-openvz
Found kernel: /boot/vmlinuz-2.6.24-17-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
User postinst hook script [/sbin/update-grub] exited with value 10
dpkg: error processing linux-image-2.6.24-17-openvz (--configure):
 subprocess post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-386:
 virtualbox-ose-guest-modules-2.6.24-17-386 depends on linux-image-2.6.24-17-386; however:
  Package linux-image-2.6.24-17-386 is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-virtual:
 virtualbox-ose-guest-modules-2.6.24-17-virtual depends on linux-image-2.6.24-17-virtual; however:
  Package linux-image-2.6.24-17-virtual is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-virtual (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-openvz:
 virtualbox-ose-guest-modules-2.6.24-17-openvz depends on linux-image-2.6.24-17-openvz; however:
  Package linux-image-2.6.24-17-openvz is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-openvz (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-ubuntu-modules-2.6.24-17-generic:
 linux-ubuntu-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-ubuntu-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-guest-modules-2.6.24-17-generic:
 virtualbox-ose-guest-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing virtualbox-ose-guest-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
 linux-image-generic depends on linux-ubuntu-modules-2.6.24-17-generic; however:
  Package linux-ubuntu-modules-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-modules-2.6.24-17-generic:
 virtualbox-ose-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing virtualbox-ose-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-restricted-modules-2.6.24-17-generic:
 linux-restricted-modules-2.6.24-17-generic depends on linux-image-2.6.24-17-generic; however:
  Package linux-image-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-restricted-modules-2.6.24-17-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-restricted-modules-generic:
 linux-restricted-modules-generic depends on linux-restricted-modules-2.6.24-17-generic; however:
  Package linux-restricted-modules-2.6.24-17-generic is not configured yet.
dpkg: error processing linux-restricted-modules-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 2.6.24.17.19); however:
  Package linux-image-generic is not configured yet.
 linux-generic depends on linux-restricted-modules-generic (= 2.6.24.17.19); however:
  Package linux-restricted-modules-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-modules-generic:
 virtualbox-ose-modules-generic depends on virtualbox-ose-modules-2.6.24-17-generic; however:
  Package virtualbox-ose-modules-2.6.24-17-generic is not configured yet.
dpkg: error processing virtualbox-ose-modules-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.24-17-server
 linux-image-2.6.24-17-rt
 virtualbox-ose-guest-modules-2.6.24-17-rt
 linux-image-2.6.24-17-386
 linux-image-2.6.24-17-virtual
 linux-image-2.6.24-17-generic
 virtualbox-ose-guest-modules-2.6.24-17-server
 linux-image-2.6.24-17-openvz
 virtualbox-ose-guest-modules-2.6.24-17-386
 virtualbox-ose-guest-modules-2.6.24-17-virtual
 virtualbox-ose-guest-modules-2.6.24-17-openvz
 linux-ubuntu-modules-2.6.24-17-generic
 virtualbox-ose-guest-modules-2.6.24-17-generic
 linux-image-generic
 virtualbox-ose-modules-2.6.24-17-generic
 linux-restricted-modules-2.6.24-17-generic
 linux-restricted-modules-generic
 linux-generic
 virtualbox-ose-modules-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information     
Initialising package states... Done
Building tag database... Done


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-05-12 11:40 

注册: 2005-12-14 4:37
帖子: 176
地址: 十堰
送出感谢: 0 次
接收感谢: 0 次
试试这个:
sudo apt-get autoremove


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译