不会玩?到目前为止我的Linux操作水品还是处于未入门

我搭建网站的服务器大部分都是Linux系统的,按理说应该熟悉操作才能有效的管理的,可是……
这不,还是再次出现Sub-process /usr/bin/dpkg returned an error code (1)报错,按以往我都是使用重装大法来解决问题的,这次就……

前一次出现时因为Vestacp面板的Nginx无法启动了解决无果而卸载,最后依样画葫芦卸载PHP(apt-get --purge remove PHP还是apt-get remove PHP忘记了)出现问题而无法安装和更新其他操作了。不过还是使用apt-get autoremove删除PHP的一些包解决。(可能记录有误,因为没有在当时就予以记录)
后一次是杜甫有更新但是打开又没有按Y继续没办法只能不断摸索,提示使用apt --fix-broken install但是无果。最后发现是因为boot分区满了使用教程的命令又没有列出所有内核只好进入目录删除非当前内核的文件夹。
[code]
The following packages have unmet dependencies:
proxmox-ve : Depends: pve-kernel-4.13.13-6-pve but it is not installed
##################################################################################
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.13.13-6-pve /boot/vmlinuz-4.13.13-6-pve
update-initramfs: Deleting /boot/initrd.img-4.13.13-6-pve
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.13.13-6-pve /boot/vmlinuz-4.13.13-6-pve
Generating grub configuration file …
Found linux image: /boot/vmlinuz-4.13.13-5-pve
Found initrd image: /boot/initrd.img-4.13.13-5-pve
Found linux image: /boot/vmlinuz-4.13.13-4-pve
Found initrd image: /boot/initrd.img-4.13.13-4-pve
Found linux image: /boot/vmlinuz-4.13.8-2-pve
Found initrd image: /boot/initrd.img-4.13.8-2-pve
Found linux image: /boot/vmlinuz-4.13.4-1-pve
Found initrd image: /boot/initrd.img-4.13.4-1-pve
done
Errors were encountered while processing:
/var/cache/apt/archives/pve-kernel-4.13.13-6-pve_4.13.13-41_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[/code]
由于boot内存满了修复依赖内核无法继续而不断循环,打算重装Windows系统然后再虚拟化虽然这样性能有所浪费掉。因为快接近要出发找工作了暂时又没打算重装,经过百般折腾才发现是boot分区满了,又无法通过命令删除恰好发现可以进入该分区就试试能不能直接删除。
所以说上次杜甫出现相关问题也是因为分区满了咯?!!!!

发布者

SingBan

我是谁?我来自哪里?我要到哪里去?

《不会玩?到目前为止我的Linux操作水品还是处于未入门》上有2条评论

    1. 一般一般吧,饭都快吃不起了,只能等你扫我的二维码让我领几毛钱来吃个饭了,那有你过得滋润…

评论已关闭。