Re: About apt-file

2008-10-18 Thread Tzafrir Cohen
On Sat, Oct 18, 2008 at 08:58:08AM +0800, Stephen Liu wrote: > apt-file search /bin/command (filename) as someone else already noted, search for: bin/command just in case it is in /sbin or /usr/sbin . -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il |

Re: About apt-file

2008-10-17 Thread Stephen Liu
--- Michelle Konzack <[EMAIL PROTECTED]> wrote: > Am 2008-10-15 22:47:15, schrieb Stephen Liu: > > Hi Jochen, > > > > This is only an example. We already know mysqladmin coming from > > mysql-server/-client. Therefore we can add mysql on the search. > In > > some other case if we have no idea

Re: About apt-file

2008-10-17 Thread Michelle Konzack
Am 2008-10-15 22:47:15, schrieb Stephen Liu: > Hi Jochen, > > This is only an example. We already know mysqladmin coming from > mysql-server/-client. Therefore we can add mysql on the search. In > some other case if we have no idea of the package. We only know the > command/file. How can we f

Re: About apt-file

2008-10-15 Thread Florian Kulzer
On Wed, Oct 15, 2008 at 22:47:15 +0800, Stephen Liu wrote: > Jochen Schulz wrote: > > Stephen Liu: > > > > > > What I'm looking for is the package providing the command > > 'mysqladmin' > > > if neither having MySQL installed nor knowing which package > > provides > > > mysqladmin. I need to inst

Re: About apt-file

2008-10-15 Thread Chris Burkhardt
lStephen Liu wrote: > Hi Johannes, > > > Thanks for your advice. I got it done. > > > Now; > > $ apt-file list mysqladmin > $ apt-file show mysqladmin > Both without printout That is expected: there is no package named 'mysqladmin' (list/show lists the contents of a package). > > > $ apt-

Re: About apt-file

2008-10-15 Thread Stephen Liu
--- Jochen Schulz <[EMAIL PROTECTED]> wrote: > Stephen Liu: > > > > What I'm looking for is the package providing the command > 'mysqladmin' > > if neither having MySQL installed nor knowing which package > provides > > mysqladmin. I need to install that package. > > What about a simple 'apt-c

Re: About apt-file

2008-10-15 Thread Jochen Schulz
Stephen Liu: > > What I'm looking for is the package providing the command 'mysqladmin' > if neither having MySQL installed nor knowing which package provides > mysqladmin. I need to install that package. What about a simple 'apt-cache search mysql admin'? It reveals there is a package named mys

Re: About apt-file

2008-10-15 Thread Stephen Liu
--- David Fox <[EMAIL PROTECTED]> wrote: > On Wed, Oct 15, 2008 at 3:15 AM, Stephen Liu <[EMAIL PROTECTED]> > wrote: > > I have wajig installed but don't know how to use it making search. > > 'man wajig' is very simple not much info provided. > > I get: > > [EMAIL PROTECTED]:~$ wajig whichpkg m

Re: About apt-file

2008-10-15 Thread David Fox
On Wed, Oct 15, 2008 at 3:15 AM, Stephen Liu <[EMAIL PROTECTED]> wrote: > I have wajig installed but don't know how to use it making search. > 'man wajig' is very simple not much info provided. I get: [EMAIL PROTECTED]:~$ wajig whichpkg mysqladmin JIG Warning: fping was not found. Consider instal

Re: About apt-file

2008-10-15 Thread Stephen Liu
--- Johannes Wiedersich <[EMAIL PROTECTED]> wrote: > On 2008-10-15 12:24, Stephen Liu wrote: > > $ apt-file find mysqladmin > > $ apt-file search mysqladmin > > $ apt-file list mysqladmin > > $ apt-file show mysqladmin > > > > All without output > > You have to run 'apt-file update' in order to

Re: About apt-file

2008-10-15 Thread Johannes Wiedersich
On 2008-10-15 12:24, Stephen Liu wrote: > $ apt-file find mysqladmin > $ apt-file search mysqladmin > $ apt-file list mysqladmin > $ apt-file show mysqladmin > > All without output You have to run 'apt-file update' in order to populate apt-file's data base. Read 'man apt-file'. Johannes signa

Re: About apt-file

2008-10-15 Thread Stephen Liu
--- Chris Burkhardt <[EMAIL PROTECTED]> wrote: > Stephen Liu wrote: > > Hi folks, > > > > > > Etch > > > > > > Reading man apt-file I can't resolve what flag to be up to find a > > package which provides a named tool/command. > > > > e.g. mysqladmin coming form mysql-server > > apt-file sea

Re: About apt-file

2008-10-15 Thread Stephen Liu
--- David Fox <[EMAIL PROTECTED]> wrote: > On Tue, Oct 14, 2008 at 5:47 PM, Stephen Liu <[EMAIL PROTECTED]> > wrote: > > Or any other packages will be more suitable for this job? > > I prefer wajig over apt-file - > > $ wajig whichfile > > gives you packages that contain the specified file H

Re: About apt-file

2008-10-14 Thread Chris Burkhardt
Stephen Liu wrote: > Hi folks, > > > Etch > > > Reading man apt-file I can't resolve what flag to be up to find a > package which provides a named tool/command. > > e.g. mysqladmin coming form mysql-server apt-file search mysqladmin apt-file search `which commandname` but that might not be