Joey Hess wrote: > Eugene V. Lyubimkin wrote: >> The obvious command is to use 'dpkg-deb -I <deb> config && dpkg-deb -I >> <deb> templates' command to obtain needed files for the package. > > This would be much slower than apt-extracttemplates, signifianctly so > during a large upgrade. However, it's better than 'print "delaying configuration" && exit 0', IMHO.
> Also, apt-extracttemplates is able to use apt's dependency resolver to > make sure that packages that depend on a newer version of debconf than > is installed are skipped by dpkg-preconfigure. Oh, this is an useful info. >> Please let me know if no one interested in working on this issue, then >> I will try to write a patch. > > The best way of dealing with the issues I mentioned would be to write a > special-purpose compiled program that links to a dependency resolver and > is optimised.. which is how we ended up with apt-extracttemplates. > Ok, I got your position. I will probably return back to this bug with another special-purpose utility in the future. -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com C++/Perl developer, Debian Maintainer
signature.asc
Description: OpenPGP digital signature