操作系统版本:
uniontechos-desktop-20-professional-1040-amd64.iso
uniontechos-desktop-20-professional-1050-amd64.iso
今日安装 apt-file 后,出现以下问题
root@uniontech:~# apt-file search dget
Finding relevant cache files to search ...E: The cache is empty. You need to run "apt-file update" first.
虽然重复执行了 n 次 "apt-file update" ,但是依旧提示 The cache is empty. You need to run "apt-file update" first.
root@uniontech:~# apt-file update
命中:3 https://professional-packages.chinauos.com/printer eagle InRelease
获取:2 https://professional-packages.chinauos.com/desktop-professional eagle InRelease [19.7 kB]
获取:1 https://professional-store-packages.chinauos.com/appstore eagle InRelease [6,129 B]
获取:4 https://professional-store-packages.chinauos.com/appstore eagle/appstore amd64 Packages [956 kB]
已下载 981 kB,耗时 3秒 (321 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 561 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
查询论坛后得知 Deepin源不支持 apt-file文件查找功能 https://bbs.deepin.org/zh/post/40803
实在想使用的话,一个临时方案可以考虑在 /etc/apt/sources.list.d/ 下放入一个 Debian 的源。
root@uniontech:~# apt edit-sources Debian-Stable.list
deb http://mirrors.163.com/debian/ buster main non-free contrib
deb http://mirrors.163.com/debian/ buster-updates main non-free contrib
deb http://mirrors.163.com/debian/ buster-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ buster/updates main non-free contrib
deb-src http://mirrors.163.com/debian/ buster main non-free contrib
deb-src http://mirrors.163.com/debian/ buster-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ buster-backports main non-free contrib
deb-src http://mirrors.163.com/debian-security/ buster/updates main non-free contrib