[Internal testing communication] 我用U盘复制软件内网电脑到安装软件提示缺少依赖要怎么解决
Tofloor
poster avatar
150******98
deepin
2026-11-10 17:19
Author

求助,内网电脑不能联网,有些软件只能再外网下载后拷去内网安装,但是都会提示缺少依赖,论坛的几种方法试了都不行,只能联网安装,有什么办法能够解决?

Reply Favorite View the author
All Replies
avatar
罐子
Moderator
2026-11-10 18:42
#1

apt download 包名

Reply View the author
avatar
罐子
Moderator
2026-11-10 18:43
#2

具体问ai很简单的。

Reply View the author
avatar
eric2023
deepin
2026-11-10 19:38
#3

可以问截图给 uos ai

Reply View the author
avatar
red13
deepin
2026-11-10 19:58
#4

1:找到需要安装的软件包。

2:终端下“dpkg-deb -e ./xxxxxxx.deb”,会提取软件包的安装信息文件

3:进入刚刚提取出的DEBIAN文件夹,查看control文件

4:control文件中 Depends: 这个节点就是需要的依赖包名称与版本。

例如 Depends: org.kde.runtime (>= 26.08.1), libmariadb3, libmariadbd19, mariadb-common, mysql-common

5:在终端下 apt download org.kde.runtime libmariadb3 libmariadbd19 mariadb-common mysql-common (去掉版本号及分隔逗号)

6:将所有软件包拷贝到目标机器,终端下进入存放安装包的文件夹,使用 sudo apt install ./*.deb 即可全部安装

Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2026-11-10 21:42
#5

你把这个仓库丢给 AI ,让他把APM安装时需要的所有依赖和其依赖链准备好,然后都下载下来,让APM可以被你安装到内网

一旦APM完成部署和环境准备,即可在外网把软件包打包成免依赖安装包,在内网安装

https://gitee.com/amber-ce/amber-pm

Reply View the author