Questions tagged [apt-file]

`apt-file` is a command line tool for searching packages for the APT packaging system.

With apt-file it is possible to search which package a file is included in or list the contents of a package without installing or fetching it. This tag should be used for questions regarding only apt-file (problems, behavior, configuration file /etc/apt/apt-file.conf), not the APT packaging system generally.

8 questions
18
votes
4 answers

Package "fontconfig" not found despite having installed libfontconfig1-dev

Whilst attempting to compile poppler from source I get the error Package "fontconfig" not found. I have found a lot of other resources advertising that this can be fixed by installing both pkg-config and libfontconfig1-dev to get the libraries, but…
M1ke
  • 539
  • 1
  • 4
  • 11
9
votes
3 answers

Why does apt-file report "The cache is empty" even after running "apt-file update"?

Does anybody know why apt-file reports that the cache is empty even after running apt-file update and 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"…
jayhendren
  • 8,224
  • 2
  • 30
  • 55
2
votes
1 answer

Apt-file cache files location

Where are the cache files of the apt-file program ? Looks like it has some large files because it contains the information about files within all the packages in the repository (installed or uninstalled).But I cannot find their location.
Parsa Mousavi
  • 1,020
  • 2
  • 14
  • 27
1
vote
1 answer

apt-file list shows only two files for nginx package

I wanted to check how many files come with the nginx package. However the corresponding command seems to indicate that the package comes with only two files (?) $ apt-file list nginx nginx: /usr/share/doc/nginx/changelog.Debian.gz nginx:…
pkaramol
  • 2,587
  • 4
  • 36
  • 71
1
vote
2 answers

How do I find all and any 'C' files which are in Debian archive (either in source or in binary)

How do I find all the files either in source or in binary form in Debian package archive? I tried the following but results were not helpful at all: apt-file search *.c and apt-file search *.cc So it either means that there are no c or cc files…
shirish
  • 11,967
  • 27
  • 107
  • 190
0
votes
2 answers

Preventing "apt-file" from updating its database with each "apt update"

Each time I run apt update or with the -m option(a.k.a --fix-missing) I see that apt-file is trying to update its cache too.I have a slow internet connection and it takes so much to download more than 100MB of apt-file caches and when I'm in a…
Parsa Mousavi
  • 1,020
  • 2
  • 14
  • 27
0
votes
1 answer

apt-file can not find a dkms file

Before I upgrade to Debian Bullseye, apt-file was pretty logical. Now I can't get it to work. What am I doing wrong? Did the behavior change? # apt-file update Hit:1 http://repo.steampowered.com/steam precise InRelease Hit:2…
Evan Carroll
  • 28,578
  • 45
  • 164
  • 290
0
votes
1 answer

Debian/Ubuntu: Differences between apt-file find/search

Is there a practical difference between these two commands? /home/pkaramol/Desktop $ sudo apt-file search logrotate.conf logrotate: /etc/logrotate.conf logrotate: /usr/share/man/man5/logrotate.conf.5.gz petitboot:…
pkaramol
  • 2,587
  • 4
  • 36
  • 71