升级后出现的问题,求解答!(已解决)
Tofloor
poster avatar
zhangpiu
deepin
2014-02-20 23:18
Author
刚才装的Deepin2013,装完进软件中心看看有133个更新于是就点了,更新安装完提示更新有失败,于是没管它,但现在每次用apt安装软件最后都有如下错误提示,于是sudo apt-get install -f
显示如下:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 1 个软件包未被升级。
有 2 个软件包没有被完全安装或卸载。
解压缩后会消耗掉 0 B 的额外空间。
正在设置 linux-image-extra-3.8.0-35-generic (3.8.0-35.50) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.8.0-35-generic /boot/vmlinuz-3.8.0-35-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.8.0-35-generic /boot/vmlinuz-3.8.0-35-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.0-35-generic /boot/vmlinuz-3.8.0-35-generic
update-initramfs: Generating /boot/initrd.img-3.8.0-35-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.8.0-35-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-extra-3.8.0-35-generic.postinst line 1010.
dpkg: error processing linux-image-extra-3.8.0-35-generic (--configure):
子进程 已安装 post-installation 脚本 返回了错误号 2
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic 依赖于 linux-image-extra-3.8.0-35-generic;然而:
  软件包 linux-image-extra-3.8.0-35-generic 尚未配置。

dpkg: error processing linux-image-generic (--configure):
依赖关系问题 - 仍未被配置
在处理时有错误发生:
linux-image-extra-3.8.0-35-generic
linux-image-generic
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)

怎么解决?
Reply Favorite View the author
All Replies
cxbii
deepin
2014-02-20 23:33
#1
Reply View the author
poloshiao
deepin
2014-02-20 23:34
#2
gzip: stdout: No space left on device
猜測 是你 掛載
/

/boot (如果單獨掛載的話)
快滿了

從終端機
df /
df /boot (如果單獨掛載的話)
看看 是否超過 95% (預設會 保留 5%)
Reply View the author
zhangpiu
deepin
2014-02-21 00:01
#3
http://wiki.linuxdeepin.com/index.php?title=%E8%BD%AF%E4%BB%B6%E5%8C%85%E7%AE%A1%E7%90%86#.E9.97.AE.E9.A2.98.E4.B8.80

查看百科吧

谢谢,解决了
Reply View the author
zhangpiu
deepin
2014-02-21 00:03
#4
[quote]gzip: stdout: No space left on device
猜測 是你 掛載
/

/boot (如果單獨掛載的話)
快滿了

從終端機
df /
df /boot (如果單獨掛載的話)
看看 是否超過 95% (預設會 保留 5%)[/quote]

我确实是boot单独分区了,已经按照楼上给的百科方法解决了, 同样谢谢,我boot分了100M,用了大约65M
Reply View the author
poloshiao
deepin
2014-02-21 01:32
#5
boot分了100M,用了大约65M
已使用 65%
猜測
可能執行 gzip 解壓以後 使用空間會接近 95%
(所以沒有執行 gzip 指令)

/boot 單獨一個分割區 100 MB 小了點
多更新幾次 Linux 核心
就裝不下了
在還沒擴充以前
最好保留兩個版本的 Linux 核心就好
Reply View the author
zhangpiu
deepin
2014-02-21 02:06
#6
[quote]boot分了100M,用了大约65M
已使用 65%
猜測
可能執行 gzip 解壓以後 使用空間會接近 95%
(所以沒有執行 gzip 指令)

/boot 單獨一個分割區 100 MB 小了點
多更新幾次 Linux 核心
就裝不下了
在還沒擴充以前
最好保留兩個版本的 Linux 核心就好[/quote]

受教,学习了
Reply View the author