Adam Martin, 2003-08-04 20:29:34 +1200:
> I have just finished installing a basic installation of debian.
> However being very (very very) new, I have not had any success in
> getting apt-get to go.

> I want to install Mysql, however any apt-get commands I get simply
> state that it van not find the package.
> [...snipped sources.list file...]

Hi Adam,

Which package(s) are you asking apt to get, exactly?

As far as I can tell (without ever having installed MySQL myself), there
is no debian package called 'mysql'. I can get a list of likely packages
though:

  $ apt-cache search mysql

To narrow that down to packages whose names start with 'mysql':

  $ apt-cache search --names-only ^mysql

Which gives a short list of 6 packages:

  mysql-client - mysql database client binaries
  mysql-common - mysql database common files (e.g. /etc/mysql/my.cnf)
  mysql-doc - mysql database documentation
  mysql-server - mysql database server binaries
  mysqltcl - Interface to the MySQL database for the Tcl language.
  mysql-navigator - GUI client program for MySQL database server

And you can use...

  $ apt-cache show <package-name>

...to get a description of any package you're interested in.


By the way - handy in a ~/.bashrc:

  alias acs='apt-cache search'
  alias acv='apt-cache show'


I hope this helped,

Tim
-- 
Timothy Musson  -  [EMAIL PROTECTED]
http://homepages.ihug.co.nz/~trmusson/

Reply via email to