[Debconf-devel] Bug#526831: Bug#526831: dpkg-preconfigure: work without apt-extracttemplates
Joey Hess
joeyh at debian.org
Sun May 3 20:43:55 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debconf-devel/attachments/20090503/0ecc07ab/attachment.pgp>
More information about the Debconf-devel
mailing list