This looks different from other reported problems because last week it was just ok.
When running sudo apt update I get get this errors:
Err:11 http://archive.ubuntu.com/ubuntu eoan Release
404 Not Found [IP: 2001:67c:1360:8001::23 80]
Err:12 http://archive.ubuntu.com/ubuntu eoan-updates Release
404 Not Found [IP: 2001:67c:1360:8001::23 80]
Err:13 http://archive.ubuntu.com/ubuntu eoan-backports Release
404 Not Found [IP: 2001:67c:1360:8001::23 80]
Err:14 http://archive.ubuntu.com/ubuntu eoan-security Release
404 Not Found [IP: 2001:67c:1360:8001::23 80]
Run Code Online (Sandbox Code Playgroud)
and...
E: The repository 'http://archive.ubuntu.com/ubuntu eoan Release' does not have a Release file.
N: Updating from …Run Code Online (Sandbox Code Playgroud) I\xe2\x80\x99m 尝试在关机和重新启动时运行脚本,但没有成功。\n我有一个在启动时以 root 身份运行的脚本,它工作得很好:将脚本存储在 /etc/init.d 中,创建了一个链接从 S99 开始,将其添加到 /etc/rc2.d 中并使其可执行。\n经过一番研究,我对关闭脚本执行了相同的操作,在 /etc/rc0.d 和 /etc/rc6.d 中创建链接,使其可执行并以 \xe2\x80\x98K99myscript\xe2\x80\x99 开头的链接名称,但脚本不\xe2\x80\x99t 运行。\nI\xe2\x80\x99ve 尝试将链接名称更改为 \xe2\x80\x98K00myscript\ xe2\x80\x99 在其他程序之前运行,从 sh 更改为 bash (#! /bin/sh 到 #! /bin/bash),但似乎没有任何帮助。\nI\xe2\x80\x99m 运行 Xubunto 并使用 \ xe2\x80\x98systemctl poweroff\xe2\x80\x99 关机,\xe2\x80\x98systemctl restart\xe2\x80\x99 重新启动。\n这是一个过时的方法吗?
\nI\xe2\x80\x99ve 还尝试按照建议在 /etc/systemd/system 中创建 .service:
\n[Unit]\nDescription=Pre-Shutdown Processes\nDefaultDependencies=no\nBefore=shutdown.target reboot.target halt.target kexec.target\n\n[Service]\nType=oneshot\nUser=root\nGroup=root\nExecStart=/etc/init.d/myscript\n\n[Install]\nWantedBy=shutdown.target reboot.target halt.target kexec.target\nRun Code Online (Sandbox Code Playgroud)\n有和没有用户/组字段,但它不起作用......
\n