Fedora 26 升级失败

Fedora 26 升级失败

我无法升级我的 Fedora 25 -> 26。我发出dnf system-upgrade download --releasever=26 --allowerasing,然后dnf system-upgrade reboot。当出现有关正在进行升级的消息时,一切正常。几秒钟后,我的笔记本电脑直接重新启动回到 Fedora 25。这是我的dnf日志

答案1

大约第 2297 行是失败的地方:

Jul 24 00:36:00 lisbook audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 24 00:36:00 lisbook kernel: audit: type=1131 audit(1500849360.297:92): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 24 00:36:04 lisbook mbpfan[733]: Old Temp 79: New Temp: 79, Fan Speed: 2000
Jul 24 00:36:04 lisbook mbpfan[733]: Sleeping for 7 seconds
Jul 24 00:36:09 lisbook systemd[1]: dnf-system-upgrade.service: Main process exited, code=exited, status=1/FAILURE
Jul 24 00:36:09 lisbook systemd[1]: dnf-system-upgrade.service: Failed to load environment files: No such file or directory
Jul 24 00:36:09 lisbook systemd[1]: dnf-system-upgrade.service: Failed to run 'stop-post' task: No such file or directory
Jul 24 00:36:09 lisbook audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-system-upgrade comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 24 00:36:09 lisbook systemd[1]: dnf-system-upgrade.service: Unit entered failed state.
Jul 24 00:36:09 lisbook kernel: audit: type=1131 audit(1500849369.956:93): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-system-upgrade comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jul 24 00:36:09 lisbook systemd[1]: dnf-system-upgrade.service: Failed with result 'resources'.
Jul 24 00:36:09 lisbook systemd[1]: Rebooting as result of failure.

这似乎与你的 WiFi 终止开关有关(根据这个手册页)。您可以禁用或卸载该服务并重试吗?然后完成后重新安装?

(我知道这作为评论会更好,但它太长并且格式很奇怪。)

相关内容