[Feedback on issues] telnet,openssh-server
Tofloor
poster avatar
H
deepin
2025-11-10 16:00
Author

telnet和openssh-server无法用apt安装

Reply Favorite View the author
All Replies
H
deepin
2025-11-10 16:08
#1

换源后安装上了

deb https://community-packages.deepin.com/beige/ beige main commercial community
deb https://proposed-packages.deepin.com/beige-testing/ unstable/25 main commercial community
deb [by-hash=force] https://mirrors.tuna.tsinghua.edu.cn/deepin/ apricot main contrib non-free
deb [by-hash=force] https://mirrors.aliyun.com/deepin/ apricot main contrib non-free
deb [by-hash=force] https://repo.huaweicloud.com/deepin/ apricot main contrib non-free

Reply View the author
HualetWang
deepin
2025-11-10 17:36
#2

无法安装有什么报错?

Reply View the author
H
deepin
2025-11-11 10:30
#3

PRETTY_NAME="Deepin 25"
NAME="Deepin"
VERSION_CODENAME=crimson
ID=deepin
HOME_URL="https://www.deepin.org/"
BUG_REPORT_URL="https://bbs.deepin.org"
VERSION_ID="25"
VERSION="25"

此系统,默认的源,类似以下错,源的问题

正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
E: 无法定位软件包 openssh-server

Reply View the author
Boggle5923
deepin
2025-11-12 21:46
#4

你这是什么情况,不要把几个版本的源混在一起啊,系统会爆炸的。

而且我刚刚测试了一下,openssh-server和telnet都有啊?


root@deepin-PC:~# apt update
获取:3 https://mirrors.yacloud.net/deepin/beige crimson InRelease [36.7 kB]                     
获取:1 https://cdn-community-packages.deepin.com/driver-25 snipe InRelease [9,429 B]              
获取:2 https://app-store-files.uniontech.com/251112183429771/appstorev23 crimson InRelease [7,655 B]
获取:4 https://mirrors.yacloud.net/deepin/beige crimson/main amd64 Packages [13.5 MB]
获取:5 https://cdn-community-packages.deepin.com/driver-25 snipe/non-free amd64 Packages [409 kB]
获取:6 https://app-store-files.uniontech.com/251112183429771/appstorev23 crimson/appstore amd64 Packages [909 kB]
获取:7 https://cdn-community-packages.deepin.com/driver-25 snipe/non-free i386 Packages [322 kB]        
获取:8 https://mirrors.yacloud.net/deepin/beige crimson/main amd64 Contents (deb) [20.2 MB]
获取:9 https://mirrors.yacloud.net/deepin/beige crimson/commercial amd64 Packages [71.5 kB]
获取:10 https://mirrors.yacloud.net/deepin/beige crimson/commercial amd64 Contents (deb) [96.0 kB]
已下载 35.6 MB,耗时 10秒 (3,449 kB/s)                                                                  
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成             
有 2 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
root@deepin-PC:~# apt install openssh-server --reinstall
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成             
下列软件包是自动安装的并且现在不需要了:
  bamfdaemon deepin-p[敏感词]y deepin-system-fixpkg deepin-system-update deepin-theme-macaron fuse-overlayfs
  ipwatchd libbamf3-2 libgtop-2.0-11 libgtop2-common libllvm19 libwlroots-0.18 libwnck-3-0 libwnck-3-common
  libxres1 mobile-broadband-provider-info
使用'apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,重新安装了 1 个软件包,要卸载 0 个软件包,有 2 个软件包未被升级。
需要下载 521 kB 的归档。
解压缩后会消耗 0 B 的额外空间。
获取:1 https://mirrors.yacloud.net/deepin/beige crimson/main amd64 openssh-server amd64 1:9.9p2-0deepin1 [521 kB]
已下载 521 kB,耗时 1秒 (683 kB/s)   
正在预设定软件包 ...
(正在读取数据库 ... 系统当前共安装有 283994 个文件和目录。)
准备解压 .../openssh-server_1%3a9.9p2-0deepin1_amd64.deb  ...
正在解压 openssh-server (1:9.9p2-0deepin1) 并覆盖 (1:9.9p2-0deepin1) ...
正在设置 openssh-server (1:9.9p2-0deepin1) ...
ssh.socket is a disabled or a static unit not running, not starting it.
正在处理用于 man-db (2.12.0-1) 的触发器 ...
root@deepin-PC:~# apt install telnet
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成             
下列软件包是自动安装的并且现在不需要了:
  bamfdaemon deepin-p[敏感词]y deepin-system-fixpkg deepin-system-update deepin-theme-macaron fuse-overlayfs
  ipwatchd libbamf3-2 libgtop-2.0-11 libgtop2-common libllvm19 libwlroots-0.18 libwnck-3-0 libwnck-3-common
  libxres1 mobile-broadband-provider-info
使用'apt autoremove'来卸载它(它们)。
下列【新】软件包将被安装:
  telnet
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 2 个软件包未被升级。
需要下载 65.0 kB 的归档。
解压缩后会消耗 161 kB 的额外空间。
获取:1 https://mirrors.yacloud.net/deepin/beige crimson/main amd64 telnet amd64 0.17.1-deepin1+rb3 [65.0 kB]
已下载 65.0 kB,耗时 0秒 (173 kB/s)
正在选中未选择的软件包 telnet。
(正在读取数据库 ... 系统当前共安装有 283994 个文件和目录。)
准备解压 .../telnet_0.17.1-deepin1+rb3_amd64.deb  ...
正在解压 telnet (0.17.1-deepin1+rb3) ...
正在设置 telnet (0.17.1-deepin1+rb3) ...
update-alternatives: 使用 /usr/bin/telnet.netkit 来在自动模式中提供 /usr/bin/telnet (telnet)
正在处理用于 man-db (2.12.0-1) 的触发器 ...
root@deepin-PC:~# 
Reply View the author