$Id: README,v 1.9 2000/11/21 15:45:03 ukai Exp $

auto-apt -- on demand package installation tool

Copyright (c) 2000 Fumitoshi UKAI <ukai@debian.or.jp>
This is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.

* Setup
 In case that a file is not installed and found in db, auto-apt will 
 automatically run
   "sudo apt-get install <package>".
 So you need to setup sudo in order to get root privs without password
 (visudo(1), adduser <user> sudo)

 For example, in /etc/sudoers:
   <user>  ALL=(root) NOPASSWD: /usr/bin/apt-get -y install [!-]*


 Create your pkgcontents.db (available file info) and
 pkgfiles.db (installed file info)

	# auto-apt update
		-- create pkgcontents.db (from /etc/apt/sources.list info)

	# auto-apt update-local
		-- create pkgfiles.db

   Note that these operation is not so fast.

* Usage

  % auto-apt run
  
	-- enter auto-apt environment

  % auto-apt status

	-- show "auto-apt mode" or "normal mode"

  # auto-apt update

	-- recreate /var/cache/auto-apt/pkgcontents.db

  % auto-apt check /bin/ls
  fileutils

	-- Check which package provides the file.

  % auto-apt search keyword

	-- Search by keyword

* detect file access
  % auto-apt run -L $HOME/detect.lists -s

	-- enter auto-apt environments, and save file access
	   information to $HOME/detect.lists (by -L option)
	   No automatic apt-get install (by -s option)

  You can exit auto-apt mode by simply exiting from the shell.
  detect.lists is plain text.

Another example,

  # auto-apt update-local

	-- generate installed file information

  % auto-apt debuild

	-- debuild with checking build-depends
