Re: Yacs-0.1 is here
On Wed, 14 Jul 1999, Raphael Hertzog wrote:
> And if the script is so long it's because there are 3700 packages (for
> a complete set of CD), and for each package there's actually an apt-get
> call (with the complete loading of the cache which is about one Mb) ...
Actually the cache is loaded directly into memory using mmap, what takes
the time is the generation of the dependency information (15000 version
compares) and then the calculations to carry out your selections. You'll
notice that apt-cache load blazingly fast
# apt-cache depends sympa nasm-mode dotfile-bash dotfile
sympa
|Depends: sendmail
|Depends: postfix
|Depends: <qmail>
Depends: exim
Depends: <perl5>
perl-5.005
perl-5.004
Depends: mailtools
Depends: libdigest-md5-perl
Depends: libmsgcat-perl
Depends: libmime-perl
Depends: libmime-base64-perl
Depends: sysklogd
Depends: libc6
Suggests: libnet-ldap-perl
Suggests: libdbi-perl
nasm-mode
|Depends: <xemacs19>
Depends: <xemacs20>
xemacs20-nomule
xemacs20-mule-canna-wnn
xemacs20-mule
dotfile-bash
Depends: dotfile
dotfile
Depends: <wish>
tkstep8.0
tkstep4.2
tk8.0
tk4.2
Depends: <tclsh>
tcl8.0-ja
tcl8.0
tcl7.6
Suggests: <dotfile-module>
dotfile-tcsh
dotfile-rtin
dotfile-procmail
dotfile-ipfwadm
dotfile-fvwm2
dotfile-fvwm1
dotfile-emacs
dotfile-elm
dotfile-bash
Things in <> are packages that may not be installed (virtual, do not exist
or something) and any alternatives are listed after the depends line.
Depends are expressed using |'s to indicate that the selection is
optional. The solutions listed only contain packages that satisfy the
dependency requirements.
It is really fast as well, there is no problem with calling it multiple
times.
Jason
Reply to: