以前是winxp 后来装了Ubuntu构成双系统,但Ubuntu自动更新了几次后把根目录占满了,现在更新未完旧版也卸不了,求大神赐教!谢谢!!!
【以下是删旧内核以及更新时遇到的问题】:
123qwe@Lenovo:~$ dpkg --get-selections|grep linux
libselinux1 install
linux-firmware install
linux-generic-lts-trusty install
linux-headers-3.13.0-32 install
linux-headers-3.13.0-32-generic install
linux-headers-3.13.0-44 install
linux-headers-3.13.0-44-generic install
linux-headers-3.13.0-48 install
linux-headers-3.13.0-48-generic install
linux-headers-3.13.0-49 install
linux-headers-3.13.0-49-generic install
linux-headers-3.13.0-51 install
linux-headers-3.13.0-51-generic install
linux-headers-3.13.0-52 install
linux-headers-3.13.0-52-generic install
linux-headers-3.13.0-55-generic install
linux-headers-generic-lts-trusty install
linux-image-3.13.0-32-generic install
linux-image-3.13.0-44-generic install
linux-image-3.13.0-48-generic install
linux-image-3.13.0-49-generic install
linux-image-3.13.0-51-generic install
linux-image-3.13.0-52-generic install
linux-image-3.13.0-55-generic install
linux-image-generic-lts-trusty install
linux-libc-dev install
linux-sound-base install
pptp-linux install
syslinux install
syslinux-common install
syslinux-legacy install
util-linux install
123qwe@Lenovo:~$ sudo apt-get remove linux-image-3.13.0-32-generic
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
您可能需要运行“apt-get -f install”来纠正下列错误:
下列软件包有未满足的依赖关系:
linux-headers-3.13.0-55-generic : 依赖: linux-headers-3.13.0-55 但是它将不会被安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt-get -f install”(也可以指定一个解决办法)。
root@Lenovo:/home/123qwe# apt-get -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在更正依赖关系... 完成
下列软件包是自动安装的并且现在不需要了:
libva-x11-1 gir1.2-totem-1.0 libxcb-keysyms1 mplayer-skins
language-pack-kde-en libxcb-xv0 libtar0 language-pack-kde-zh-hans
totem-common libtotem0 language-pack-kde-en-base kde-l10n-engb
gstreamer0.10-ffmpeg kde-l10n-zhcn libxcb-randr0 libxcb-composite0
vlc-plugin-notify vlc-plugin-pulse gir1.2-totem-plparser-1.0
language-pack-kde-zh-hans-base libsdl-image1.2
使用'apt-get autoremove'来卸载它们
将会安装下列额外的软件包:
linux-headers-3.13.0-55
下列【新】软件包将被安装:
linux-headers-3.13.0-55
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 124 个软件包未被升级。
有 3 个软件包没有被完全安装或卸载。
需要下载 12.9 MB 的软件包。
解压缩后会消耗掉 63.4 MB 的额外空间。
您希望继续执行吗?[Y/n]y
获取:1
http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-3.13.0-55 all 3.13.0-55.94~precise1 [12.9 MB]
下载 12.9 MB,耗时 5分 19秒 (40.2 kB/s)
(正在读取数据库 ... 系统当前共安装有 333662 个文件和目录。)
正在压缩linux-headers-3.13.0-55 (从 .../linux-headers-3.13.0-55_3.13.0-55.94~precise1_all.deb) ...
dpkg:处理 /var/cache/apt/archives/linux-headers-3.13.0-55_3.13.0-55.94~precise1_all.deb (--unpack)时出错:
无法创建 /usr/src/linux-headers-3.13.0-55/include/linux/input/tca8418_keypad.h.dpkg-new (处理 ./usr/src/linux-headers-3.13.0-55/include/linux/input/tca8418_keypad.h 时): 设备上没有空间
由于已经达到 MaxReports 限制,没有写入 apport 报告。
dpkg-deb: error: subprocess 粘贴 was killed by signal (断开的管道)
在处理时有错误发生:
/var/cache/apt/archives/linux-headers-3.13.0-55_3.13.0-55.94~precise1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
【硬盘使用情况】:
123qwe@Lenovo:~$df -h
文件系统 容量 已用 可用 已用% 挂载点
/dev/sda11 5.2G 4.5G 443M 92% /
udev 998M 4.0K 998M 1% /dev
tmpfs 202M 988K 201M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1007M 152K 1007M 1% /run/shm
/dev/sda10 922M 198M 662M 23% /boot
/dev/sda9 1.9G 442M 1.3G 26% /home
/dev/sda6 91G 84G 6.3G 94% /media/DC64F5