标签: apt-file

为什么即使运行“apt-file update”后,apt-file 仍报告“缓存为空”?

apt-file update有谁知道为什么 apt-file 即使运行后也会报告缓存为空apt update

[pop-os ~][I]% apt-file search /usr/lib/android-sdk/tools/bin/sdkmanager
E: The cache is empty. You need to run "apt update" first.
[pop-os ~][I]% apt-file update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
[pop-os ~][I]% sudo !!
sudo apt-file update …
Run Code Online (Sandbox Code Playgroud)

ubuntu apt package-management apt-file

12
推荐指数
1
解决办法
2662
查看次数

尽管已安装 libfontconfig1-dev,但未找到包“fontconfig”

在尝试从源代码编译poppler 时,出现错误Package "fontconfig" not found

我发现很多其他资源都在宣传这可以通过同时安装pkg-configlibfontconfig1-dev获取库来解决,但我仍然遇到错误。

fontconfig在这make一步尝试从源代码安装失败,我没有找到有关如何修复的资源(整个 C 错误主机)。

如果我fontconfig在系统上(并且apt似乎建议我这样做)在运行./configure包时如何使用它?

configure fontconfig apt-file

8
推荐指数
2
解决办法
1万
查看次数