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. 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. > 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. -- see shy jo
signature.asc
Description: Digital signature

