[Debconf-devel] Bug#526831: Bug#526831: dpkg-preconfigure: work without apt-extracttemplates

Eugene V. Lyubimkin jackyf.devel at gmail.com
Sun May 3 21:00:36 UTC 2009


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debconf-devel/attachments/20090504/657f9738/attachment.pgp>


More information about the Debconf-devel mailing list