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

Nils Kassube kassube at gmx.net
Thu Mar 31 21:42:29 UTC 2011


NoOp wrote:
> Fingered it out... 'sudo' :-)
> 
> $ sudo apt-file search gnome-default-applications.xml
> capplets-data:
> /usr/share/gnome-control-center/default-apps/gnome-default-applicatio
> ns.xml

IMHO it should work without sudo. On my Lucid machine it works for a 
user who is not in the groups adm or admin. Only updating the database 
is restricted to root.


Nils




More information about the ubuntu-users mailing list