apt 也没法安装.
1
edis0n0 2022-10-23 15:45:22 +08:00
sudo apt update && sudo apt install -y ufw
|
2
Cify OP @edis0n0 早就试过了.
0% [Working]E: Package 'ufw' has no installation candidate Ign:1 cdrom://[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 DVD Binary-1 20220910-10:40] bullseye InRelease Err:2 cdrom://[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 DVD Binary-1 20220910-10:40] bullseye Release Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Hit:3 https://download.docker.com/linux/debian bullseye InRelease Get:4 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB] Get:5 http://security.debian.org/debian-security bullseye-security/main Sources [166 kB] Get:6 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [191 kB] Reading package lists... Done E: The repository 'cdrom://[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 DVD Binary-1 20220910-10:40] bullseye Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. |
3
hingle 2022-10-23 16:12:49 +08:00
|
4
edis0n0 2022-10-23 16:17:34 +08:00
@hingle #3 不建议用 tuna 这些教育网源,很不稳定,不是连不上就动不动 10kb/s 商业云的源相比之下要稳定不少,就是同步慢
|
8
Aixiaoa 2022-10-23 16:46:30 +08:00 via iPhone
把源全部注释。全换国内的。
|
10
adoal 2022-10-23 17:13:57 +08:00
你 source.list 里的源地址:
1. 不存在的 CDROM 2. 是 Docker ,不是 Debian 3. 是 Debian security updates ,不是主仓库 当然没有主仓库里的大多数包了。 |
12
fuckaholic 2022-10-24 09:38:41 +08:00 1
@Cify 这样很容易让帮助者却步
|