大佬教程收集整理的这篇文章主要介绍了linux – apt软件包尚未配置,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded,0 newly installed,0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation,0B of additional disk space will be used. Do @R_874_8337@ant to conTinue [Y/n]? SetTing up linux-image-2.6.32-31-server (2.6.32-31.61) ... Running depmod. update-initramfs: Generating /boot/initrd.img-2.6.32-31-server gzip: stdout: No space left on device update-initramfs: Failed for /boot/initrd.img-2.6.32-31-server Failed to create initrd image. dpkg: error processing linux-image-2.6.32-31-server (--configurE): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of linux-image-server: linux-image-server depends on linux-image-2.6.32-31-server; however: Package linux-image-2.6.32-31-server is not configured yet. dpkg: error processing linux-image-server (--configurE): dependency problems - leaving unconfigured No apport report written because the error message inDicates its a followup error from a prevIoUs failure. Errors were encountered while processing: linux-image-2.6.32-31-server linux-image-server E: Sub-process /usr/bin/dpkg returned an error code (1)
我看到它说“gzip:stdout:设备上没有剩余空间” – “df”显示/ dev / sda1已满.
我该怎么办?
如果这没有消除足够的空间,那么开始卸载你没有使用的软件包.或者为/ dev / sda1的文件系统上的大型目录带来更多的磁盘空间,这些文件系统可以移动到另@L_450_15@分区(/ home,/ tmp等)
对于/ boot,这主要是linux-image-versionnumber包的内容.您可以删除与您不打算再次使用的旧内核关联的内容.也许这是每个内核,但你现在的内核,但这是你的呼唤,而不是我的.
要获得系统的运行内核版本:
root@host:/boot# uname -r 2.6.32-27-generic
要查看您拥有的linux-image-versionnumber包:
root@host:/boot# dpkg -l | grep linux-image ii linux-image-2.6.20-15-generic 2.6.20-15.27 Linux kernel image for version 2.6.20 on x86/x86_64 ii linux-image-2.6.20-16-generic 2.6.20-16.35 Linux kernel image for version 2.6.20 on x86/x86_64 ii linux-image-2.6.20-17-generic 2.6.20-17.39 Linux kernel image for version 2.6.20 on x86/x86_64 ii linux-image-2.6.22-14-386 2.6.22-14.52 Linux kernel image for version 2.6.22 on i386 ii linux-image-2.6.22-16-generic 2.6.22-16.61 Linux kernel image for version 2.6.22 on x86/x86_64 ii linux-image-2.6.24-23-generic 2.6.24-23.48 Linux kernel image for version 2.6.24 on x86/x86_64 ii linux-image-2.6.24-24-generic 2.6.24-24.53 Linux kernel image for version 2.6.24 on x86/x86_64 ii linux-image-2.6.24-25-generic 2.6.24-25.63 Linux kernel image for version 2.6.24 on x86/x86_64 ii linux-image-2.6.24-26-generic 2.6.24-26.64 Linux kernel image for version 2.6.24 on x86/x86_64 ii linux-image-2.6.24-27-generic 2.6.24-27.65 Linux kernel image for version 2.6.24 on x86/x86_64 ii linux-image-2.6.32-27-generic 2.6.32-27.49 Linux kernel image for version 2.6.32 on x86/x86_64 ii linux-image-generic 2.6.32.27.29 Generic Linux kernel image
在这里,我有11个内核包,其中10个我永远不可能再次使用.要删除旧的:
apt-get remove linux-image-2.6.20-15-generic
不要触摸linux-image-generic,只需要linux-image-versionnumber包.
以上是大佬教程为你收集整理的linux – apt软件包尚未配置全部内容,希望文章能够帮你解决linux – apt软件包尚未配置所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。