- 確認目前系統正在使用的核心(kernel image)版本,萬一砍掉就不好玩了。
- 查詢目前已安裝的核心套件有哪些版本。
- 用apt-get purge移除掉舊版的核心及相關軟體套件。
實際操作:
> uname -a
Linux host 2.6.32-41-generic #94-Ubuntu SMP Fri Jul 6 16:51:39 UTC 2012 i686 i686 i386 GNU/Linux
> dpkg -l | grep linux-image
rc linux-image-2.6.28-11-generic 2.6.28-11.42 Linux kernel image for version 2.6.28 on x86/x86_64
rc linux-image-2.6.28-15-generic 2.6.28-15.52 Linux kernel image for version 2.6.28 on x86/x86_64
rc linux-image-2.6.28-16-generic 2.6.28-16.55 Linux kernel image for version 2.6.28 on x86/x86_64
rc linux-image-2.6.31-14-generic 2.6.31-14.48 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-15-generic 2.6.31-15.50 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-16-generic 2.6.31-16.53 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-17-generic 2.6.31-17.54 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-19-generic 2.6.31-19.56 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-20-generic 2.6.31-20.58 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-21-generic 2.6.31-21.59 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.31-22-generic 2.6.31-22.60 Linux kernel image for version 2.6.31 on x86/x86_64
rc linux-image-2.6.32-29-generic 2.6.32-29.58 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-30-generic 2.6.32-30.59 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-31-generic 2.6.32-31.61 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-32-generic 2.6.32-32.62 Linux kernel image for version 2.6.32 on x86/x86_64
rc linux-image-2.6.32-33-generic 2.6.32-33.72 Linux kernel image for version 2.6.32 on x86/x86_64
ii linux-image-2.6.32-34-generic 2.6.32-34.77 Linux kernel image for version 2.6.32 on x86/x86_64
ii linux-image-2.6.32-40-generic 2.6.32-40.87 Linux kernel image for version 2.6.32 on x86/x86_64
ii linux-image-2.6.32-41-generic 2.6.32-41.94 Linux kernel image for version 2.6.32 on x86/x86_64
ii linux-image-3.2.0-29-generic 3.2.0-29.46 Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-generic 3.2.0.29.31 Generic Linux kernel image
> apt-get -y purge linux-image-2.6.28-* linux-image-2.6.31-*
> apt-get -y autoremove
###
沒有留言:
張貼留言