How do I find the package that provides a file?
My mount utility doesn't support ext4, so I plan to update it. How to determine which package contain an app, such as mount?
sudo apt-get install
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
What version of ubuntu are you using? If the kernel supports ext4, mount should!
Make sure you're using the correct syntax
if its a currently installed package (which mount is), you can also do
|show 2 more comments|
Enter "ext4" and click on Description and search. You will soon see that you should have e2fsprogs installed to have full ext4 support (mostly fsck). The kernel controls whether you can mount, though.
First, direct answer to your question:
dpkg -S will return a list of all packages which have files matching that string. You probably want to pass the full path (which you can using which)
which mount -> /bin/mount dpkg -S /bin/mount -> mount
Also, apt-cache search ext4 will return all of the packages which use ext4. I'd expect you're more likely to need to update e2fsprogs than mount