我有 Debian 9 和 grub 引导加载程序的双引导,我正在尝试升级到 Debian 10。到目前为止我所采取的步骤是这里。它失败的步骤是在我更新和升级 Debian 9 软件包之后。然后我将我的源代码更新为 Debian 10 并执行了update
, upgrade
,但在full-upgrade
.它尝试处理失败:
minisspd
shim-signed-common
shim-signed:amd64
完整的输出在这里:
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up minissdpd (1.5.20190210-1) ...
docker0 wlp2s0 Job for minissdpd.service failed because the control process exited with error code.
See "systemctl status minissdpd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript minissdpd, action "restart" failed.
● minissdpd.service - keep memory of all UPnP devices that announced themselves
Loaded: loaded (/lib/systemd/system/minissdpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2021-01-04 21:25:44 EST; 5ms ago
Docs: man:minissdpd(1)
Process: 27453 ExecStart=/usr/lib/minissdpd/minissdpd-systemd-wrapper ${MiniSSDPd_INTERFACE_ADDRESS} $MiniSSDPd_OTHER_OPTIONS (code=exited, status=1/FAILURE)
Jan 04 21:25:44 surya-debian systemd[1]: Starting keep memory of all UPnP devices that announced themselves...
Jan 04 21:25:44 surya-debian minissdpd-systemd-wrapper[27453]: Usage: /usr/sbin/minissdpd [-d] [-6] [-s socket] [-p pidfile] [-t TTL] [-f device] -i <interface> [-i <interface2>] ...
Jan 04 21:25:44 surya-debian minissdpd-systemd-wrapper[27453]: <interface> is either an IPv4 address with mask such as
Jan 04 21:25:44 surya-debian minissdpd-systemd-wrapper[27453]: 192.168.1.42/255.255.255.0, or an interface name such as eth0.
Jan 04 21:25:44 surya-debian minissdpd-systemd-wrapper[27453]: By default, socket will be open as /var/run/minissdpd.sock
Jan 04 21:25:44 surya-debian minissdpd-systemd-wrapper[27453]: and pid written to file /var/run/minissdpd.pid
Jan 04 21:25:44 surya-debian systemd[1]: minissdpd.service: Control process exited, code=exited, status=1/FAILURE
Jan 04 21:25:44 surya-debian systemd[1]: minissdpd.service: Failed with result 'exit-code'.
Jan 04 21:25:44 surya-debian systemd[1]: Failed to start keep memory of all UPnP devices that announced themselves.
dpkg: error processing package minissdpd (--configure):
installed minissdpd package post-installation script subprocess returned error exit status 1
Setting up shim-signed-common (1.33+15+1533136590.3beb971-7) ...
Installing for x86_64-efi platform.
grub-install: warning: Cannot set EFI variable Boot0000.
grub-install: warning: efivarfs_set_variable: writing to fd 8 failed: No space left on device.
grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: No space left on device.
grub-install: error: failed to register the EFI boot entry: No space left on device.
dpkg: error processing package shim-signed-common (--configure):
installed shim-signed-common package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of shim-signed:amd64:
shim-signed:amd64 depends on shim-signed-common (= 1.33+15+1533136590.3beb971-7); however:
Package shim-signed-common is not configured yet.
dpkg: error processing package shim-signed:amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
minissdpd
shim-signed-common
shim-signed:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
我已经尝试过清除rm /sys/firmware/efi/efivars/dump-*
但没有运气。不确定问题是什么。我df
的分区:
Filesystem Size Used Avail Use% Mounted on
udev 3.8G 0 3.8G 0% /dev
tmpfs 776M 39M 737M 5% /run
/dev/nvme0n1p6 134G 116G 12G 92% /
tmpfs 3.8G 358M 3.5G 10% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup
/dev/nvme0n1p1 256M 36M 221M 14% /boot/efi
tmpfs 776M 24K 775M 1% /run/user/117
tmpfs 776M 32K 775M 1% /run/user/1000
/home/<my-username>/.Private 134G 116G 12G 92% /home/<my-username>/Private
看起来/boot/efi
分区的可用空间不足50%
,我听说这会导致问题,但不知道该怎么办。
更新:已解决
事实证明,我所要做的就是清除 .txt 文件中的转储文件后重新启动/sys/firmware/efi/efivars/dump-*
。apt full-upgrade
后来运行解决了shim*
问题。仍然存在minissdpd
问题,但它似乎更加良性并且不相关。