How can I know to which ubuntu package does a specified file (not on my fs) belongs?

NoOp glgxg at
Thu Mar 31 22:17:37 UTC 2011

On 03/31/2011 03:11 PM, NoOp wrote:
> According to this:
> you should be able to even run '$ apt-file update' without 'su/sudo'.
> I'll try on another system and/or purge & reinstall on this one.

Just installed on another system. Interesting note at the end of the
install (which you wouldn't see if installing via Synaptic) & looks to
be the reason:

Setting up apt-file (2.4.0) ...
The system-wide cache is empty. You may want to run 'apt-file update'
as root to update the cache. You can also run 'apt-file update' as
normal user to use a cache in the user's home directory.

and not using sudo on that machine:

$ apt-file update
apt-file is now using the user's cache directory.
If you want to switch back to the system-wide cache directory,
 run 'apt-file purge'

$ apt-file search gnome-default-applications.xml

More information about the ubuntu-users mailing list