[问题] 无法在debian13安装任何软件

楼主: fashionjack (神奇傑克)   2025-12-01 10:08:29
无法安装samba或其他任何软件(AMP等)
root@debian13:/etc/samba# apt-get install samba
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package samba 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
However the following packages replace it:
samba-libs samba-common-bin python3-samba
E: Package 'samba' has no installation candidate
安装其他软件也会出现最后一行,请问有人也有相同的问题嘛?
有使用apt-get update 依然不行
感谢回答.
作者: deflife (无极而生)   2025-12-01 16:42:00
检查/etc/apt/sources.list里repo类别是否包含contrib问题应该是sources.list Google找一下别人什么repo
作者: obarisk (OSWALT)   2025-12-01 17:01:00
Trixie/Forky 都有 samba先看一下 apt policy samba 给什么吧
作者: EndlessLove (EndlessSorrow)   2025-12-04 11:55:00
二手大湿真神人啊
作者: ivon852 (ASUS)   2025-12-05 00:19:00
用非netinstal的ISO偶尔会遇到这个问题,就是apt sources.list少了该开的套件库参见 https://gist.github.com/hakerdefo/5e1f51fa93ff37871b9ff738b05ba30f

Links booklink

Contact Us: admin [ a t ] ucptt.com