debian 12.5 使用官方源、清华源等,无法安装wget、mysql 等
始终报错如下
root@debian:/etc/apt# apt-get install wget
Reading package lists Done
Building dependency tree Done
Reading state information Done
Package wget is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'wget' has no installation candidate
我的 /etc/apt/sources.list 内容如下:
deb https://mirros.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free