【发布时间】:2019-09-25 14:18:16
【问题描述】:
我可以搜索自定义包:
apt-cache show testsingle
Package: testSingle
Version: 0.9.12-1
Architecture: amd64
Essential: no
Maintainer: rpub.it
Installed-Size: 1024
Filename: ./testSingle_0.9.12-1_amd64.deb
Size: 2850
MD5sum: a1ea85d3090e3e56516430dd4ca15c50
SHA1: 13f670881b1283fb54a256c2c2b3fd17d131e204
SHA256: 47c98aa3779fd4e11c779b9ed66fd0e5cefffc0e61cb68939956db5f489b27a8
Section: custom
Priority: optional
Description: test Debian Deploy
Description-md5: 734c5d7408c231c45ba5b1e3ea6e28fe
但是当我尝试安装之后我得到了
apt-get install testSingle
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package testSingle
是否可以记录更好的 apt 处理?
【问题讨论】:
-
apt中如何指定源?请注意尾随
/在 apt sources.list 中很重要:它告诉 apt 文件是在简单目录中还是在结构化存储库中。 -
我用了这条线:deb devmongo36a01/Debian /
-
@GiacomoCatenazzi 非常感谢 * 它是 Packages.z 中的路径名 * 我用 amd64/testSingle_0.9.12-1_amd64.deb 重新生成了 Packages.z