man の使い方,Packages の作り方
2000年12月1日
前 に Debian のパッケージ一覧ファイル Packages.gz を無理やり作るスクリプトを書いたが,
やっぱりそれようのコマンドが用意されてた(T_T).
その名も
dpkg-scanpackages.どうやって見つけたかというと,
takayuki@sanapon:~$ man -k Packages Term::ReadLine (3pm) - Perl interface to various readline packages. If no real package is found, substitutes stubs instead of basic functions. deb-control (5) - Debian GNU/Linux packages' master control file format dh_builddeb (1) - build debian packages dh_listpackages (1) - list binary packages debhelper will act on dh_movefiles (1) - move files out of debian/tmp into subpackages dpkg-name (1) - rename Debian packages to full package names dpkg-preconfigure (8) - let packages ask questions prior to their installation dpkg-scanpackages (8) - create Packages files . kernel-img.conf (5) - site wide configuration file for kernel image packages kernel-package (5) - A system for creating kernel related packages make-kpkg (1) - build Debian kernel packages from Linux kernel sources perlmod (1p) - Perl modules (packages and symbol tables) tasksel (8) - a user interface for installing task packages autoconf (1) - creates scripts to configure source code packages using templates
そういえばそんな使い方あったねえ>man
しかし肝心の dpkg-scanpackages の使い方はいまいちよく分からない.
takayuki@sanapon:/var/www/debian/dists/potato$ dpkg-scanpackages main/binary-i386 /dev/null | gzip > /tmp/Packages.gz
???