作者fashionjack (芈月)
看板Linux
标题[问题] 无法在debian13安装任何软体
时间Mon Dec 1 10:08:29 2025
无法安装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 依然不行
感谢回答.
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 114.32.38.20 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1764554913.A.5CC.html
1F:→ deflife: 检查/etc/apt/sources.list里repo类别是否包含contrib 12/01 16:42
2F:→ deflife: 问题应该是sources.list Google找一下别人什麽repo 12/01 16:49
3F:→ obarisk: Trixie/Forky 都有 samba 12/01 17:01
4F:→ obarisk: 先看一下 apt policy samba 给什麽吧 12/01 17:01
root@debian13:~# apt policy samba
samba:
Installed: (none)
Candidate: (none)
Version table:
## Taiwanhttp://mirror.archlinux.tw/ArchLinux/$repo/os/$arch
#Server =
http://mirror.archlinux.tw/ArchLinux/$repo/os/$arch
#Server =
https://mirror.archlinux.tw/ArchLinux/$repo/os/$arch
#Server =
http://archlinux.ccns.ncku.edu.tw/archlinux/$repo/os/$arch
#Server =
https://archlinux.ccns.ncku.edu.tw/archlinux/$repo/os/$arch
#Server =
http://tw.mirrors.cicku.me/archlinux/$repo/os/$arch
#Server =
https://tw.mirrors.cicku.me/archlinux/$repo/os/$arch
#Server =
http://free.nchc.org.tw/arch/$repo/os/$arch
#Server =
https://taipei.mirror.pkgbuild.com/$repo/os/$arch
#Server =
http://archlinux.cs.nycu.edu.tw/$repo/os/$arch
#Server =
https://archlinux.cs.nycu.edu.tw/$repo/os/$arch
※ 编辑: fashionjack (114.32.38.20 台湾), 12/03/2025 16:56:19
5F:→ EndlessLove: 二手大湿真神人啊 12/04 11:55
6F:→ ivon852: 用非netinstal的ISO偶尔会遇到这个问题,就是apt source 12/05 00:19
7F:→ ivon852: s.list少了该开的套件库 12/05 00:19
9F:→ ivon852: 7871b9ff738b05ba30f 12/05 00:21