Questions tagged [apt-file]
14 questions
16
votes
1 answer
What is apt-file update?
I was following these instructions and I have installed apt-file along with some other packages using: sudo apt-get install gnupg pbuilder ubuntu-dev-tools bzr-builddeb apt-file And now every time I startup my computer I get this notice: So I…
user364819
9
votes
1 answer
Are apt-file and apt-cache part of apt?
Is apt-file part of apt ? I have apt installed by default, but no apt-file . How about apt-cache ? I don't remember whether mine was installed by default or me.
Tim
- 26,197
4
votes
3 answers
apt-file regex: escaping a dot
I want to find all packages which provide a shared object containing "ssl" in the file name. The apt-file manpage says: --regexp | -x Treat pattern as a (perl) regular expression. See perlreref(1) for details. Without this option, pattern is treated…
langlauf.io
- 289
4
votes
1 answer
apt-file no longer finds or lists most of the content since Ubuntu 19.10 eoan
Update 2: This seems to be a upstream packaging issue with empty Contents-amd64.gz files in the repository. Therefore I reported a bug in Launchpad . I'm a heavy user of apt-file . Most of the file I use it to find out about packages I need to…
bentolor
- 663
- 5
- 11
4
votes
1 answer
apt-file regex: find multiple packages at once using or
I'd like to search multiple packages at one using a regexp connecting pattern with logical or | . Assuming the two files /usr/lib/apache2/modules/httpd.exp and /usr/lib/apt/apt.systemd.daily exist: $ sudo dpkg -S /usr/lib/apache2/modules/httpd.exp…
Kalle Richter
- 6,549
3
votes
0 answers
apt-file equivalent to search for source files
I find the apt-file utility very comfortable to find the package that delivers a given file. If I wanted to find the package that delivered /bin/bash I would simply type apt-file find /bin/bash and get a list of packages that contain that file. Now…
Esokrates
- 940
3
votes
2 answers
How do I find the package providing an alias?
Using apt-file I am able to find the packages providing certain executables like this for example: sudo apt-file search {/bin,/sbin,/usr/bin/,/usr/sbin}/wget Well actually: sudo apt-file search {/bin,/sbin,/usr/bin/,/usr/sbin}/wget | grep "/wget$"…
Forivin
- 378
2
votes
1 answer
Where are the database files stored for apt-file?
I want to know where the database files searched by apt-file are stored. apt-file search /usr/bin/lshw-gtk But I don't see any files shown by strace look like apt-file database files. Why is it so? I see it says the apt-file files are stored at…
user1424739
- 1,021
2
votes
2 answers
How do I list package contents using apt-file?
Sometimes it's necessary to see what's inside a package which was not installed. Normally I use apt-file for this purpose. At most times this works fine, but in some cases I can't retrieve any information about the package contents using apt-file,…
oles
- 29
1
vote
1 answer
apt-file update
When I try and update my files using the command apt-file update in the terminal it starts to do so, until I get to a certain point then I get the following message: curl: (22) The requested URL returned error: 401 Authorization Required Download of…
Leo Tobias
- 13
1
vote
2 answers
Listing all packages installing into a specific directory
How to search for all packages installing files into a specific directory. E.g. I want to list all packages which are writing files into the /etc/apparmor.d directory.
abu_bua
- 11,333
1
vote
1 answer
Clear apt-file cache
How do I clear the cache created by running apt-file update ? Also, is there a way to see how much space the cache is currently using?
Jet Blue
- 271
0
votes
0 answers
Whole File System is not getting open in Ubuntu 22.04
file system is only loading Most Of the time when I try to open the file system , it does not get open and only try to load it till I turn off the computer or restart the computer. I should mention it that this problem started to occur since when I…
Tanya
- 1
0
votes
0 answers
E: Unable to locate package libpystring-dev
Context and attempt: I am trying to build Blender within an Ubuntu (20.04) WSL2 terminal. I completed the 'Basic Setup' build instructions, but running the ./blender/build_files/build_environment/install_deps.sh command in the 'Advanced Setup'…
domattioli
- 11
- 4