搜索成功后,debian apt-get安装失败

时间:2019-09-25 14:18:16

标签: debian apt

我可以搜索自定义包:

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处理?

1 个答案:

答案 0 :(得分:0)

感谢贾科莫 根本原因是当前目录的使用

./testSingle_0.9.12-1_amd64.deb

代替使用

amd64/testSingle_0.9.12-1_amd64.deb