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) 在尝试从源代码编译poppler 时,出现错误Package "fontconfig" not found。
我发现很多其他资源都在宣传这可以通过同时安装pkg-config和libfontconfig1-dev获取库来解决,但我仍然遇到错误。
fontconfig在这make一步尝试从源代码安装失败,我没有找到有关如何修复的资源(整个 C 错误主机)。
如果我fontconfig在系统上(并且apt似乎建议我这样做)在运行./configure包时如何使用它?