LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 961|回复: 4

kernel(內核) 升級失敗

[复制链接]
发表于 2007-4-9 04:21:22 | 显示全部楼层 |阅读模式


  1. debian:~# aptitude install kernel-image-2.6-386
  2. 讀取套件清單中... 完成
  3. 了解套件依存關係中... 完成
  4. 正在讀取延伸狀態檔案
  5. 初始化套件狀態... 完成
  6. 閱讀作業敘述... 完成
  7. 建立標簽資料庫... 完成
  8. 以下新套件將會自動安裝:
  9.   linux-image-2.6-486 linux-image-2.6.18-4-486
  10. 以下套件已經設為保持現狀:
  11.   zhcon
  12. 以下新套件將會安裝:
  13.   kernel-image-2.6-386 linux-image-2.6-486 linux-image-2.6.18-4-486
  14. 0 個套件升級, 3 個新安裝, 0 個將移除且 1 個不會升級.
  15. 需要下載 16.2MB 的歸檔檔案. 解裝後將用去 50.3MB.
  16. 您想繼續嗎? [Y/n/?] y
  17. 正在編輯延伸狀態訊息... 完成
  18. 下載:1 http://ftp.tw.debian.org etch/main linux-image-2.6.18-4-486 2.6.18.dfsg.1-12 [16.2MB]
  19. 下載:2 http://ftp.tw.debian.org etch/main linux-image-2.6-486 2.6.18+6 [2020B]
  20. 下載:3 http://ftp.tw.debian.org etch/main kernel-image-2.6-386 1:2.6.18+6 [1996B]
  21. 已下載 16.2MB,耗時 26s (621kB/s)
  22. 正在預先設定套件 ...
  23. (正在讀取資料庫 ... 系統目前總共安裝有 62191 個檔案和目錄。)
  24. 正在解壓縮 linux-image-2.6.18-4-486 (從 .../linux-image-2.6.18-4-486_2.6.18.dfsg.1-12_i386.deb) ...
  25. Done.
  26. dpkg:處理 /var/cache/apt/archives/linux-image-2.6.18-4-486_2.6.18.dfsg.1-12_i386.deb (--unpack)時出錯:
  27. buffer_write(fd) (9, ret=-1) 時出錯:“./lib/modules/2.6.18-4-486/kernel/net/ieee80211/ieee80211.ko” 時,dpkg-deb 被作為後演搧{式: 裝置上已無多餘空間
  28. dpkg-deb: 子程序 paste 被信號(中斷的 pipe)終止了
  29. Running postrm hook script /sbin/update-grub.
  30. Your /etc/kernel-img.conf needs to be updated. Read grub's NEWS.Debian[1]
  31. file and follow its instructions.

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


  33. You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!

  34. Searching for GRUB installation directory ... found: /boot/grub
  35. Searching for default file ... found: /boot/grub/default
  36. Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
  37. Searching for splash image ... none found, skipping ...
  38. Found kernel: /boot/vmlinuz-2.4.27-3-k7
  39. Updating /boot/grub/menu.lst ... done

  40. 選中了曾被取消選擇的套件 linux-image-2.6-486。
  41. 正在解壓縮 linux-image-2.6-486 (從 .../linux-image-2.6-486_2.6.18+6_i386.deb) ...
  42. 選中了曾被取消選擇的套件 kernel-image-2.6-386。
  43. 正在解壓縮 kernel-image-2.6-386 (從 .../kernel-image-2.6-386_1%3a2.6.18+6_i386.deb) ...
  44. 在處理時有錯誤發生:
  45. /var/cache/apt/archives/linux-image-2.6.18-4-486_2.6.18.dfsg.1-12_i386.deb
  46. E: Sub-process /usr/bin/dpkg returned an error code (1)
  47. 套件安裝失敗。正在試圖恢復:
  48. dpkg:相依關系問題使得 linux-image-2.6-486 的設定工作不能繼續:
  49. linux-image-2.6-486 相依於 linux-image-2.6.18-4-486﹔然而:
  50. 套件“linux-image-2.6.18-4-486”沒有安裝。
  51. dpkg:處理 linux-image-2.6-486 (--configure)時出錯:
  52. 相依關系問題 - 仍未被設定
  53. dpkg:相依關系問題使得 kernel-image-2.6-386 的設定工作不能繼續:
  54. kernel-image-2.6-386 相依於 linux-image-2.6-486﹔然而:
  55. linux-image-2.6-486 套件還沒有被設定。
  56. dpkg:處理 kernel-image-2.6-386 (--configure)時出錯:
  57. 相依關系問題 - 仍未被設定
  58. 在處理時有錯誤發生:
  59. linux-image-2.6-486
  60. kernel-image-2.6-386
复制代码



請問這是什麼問題 , 以前升級很多次 kernel 都很正常

謝謝
发表于 2007-4-9 09:30:36 | 显示全部楼层
看了你在另一个帖子中的问题,

也许你该用 aptitude install kernel-image-2.6-k7  来升级
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-9 09:57:17 | 显示全部楼层
aptitude install kernel-image-2.6-k7  也試過一樣失敗
回复 支持 反对

使用道具 举报

发表于 2007-4-9 13:41:38 | 显示全部楼层
你似乎是从sarge升级?

根据debian手册,安装新kernel前应该首先进行最小升级
# aptitude upgrade
# aptitude install initrd-tools

[color="Blue"]http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html
回复 支持 反对

使用道具 举报

发表于 2007-4-9 17:20:39 | 显示全部楼层
我用的这个linux-image-2.6.18-4-k7
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表