Package: pnm2ppa
Version: 1.12-14
Severity: normal
Tags: patch

debian/templates does not supply a Default for the pnm2ppa/printer_model
template. The debconf specification doesn't say what happens in this
case. In practice, it works fine if pnm2ppa is being installed by
debconf, because debconf's noninteractive frontend automatically picks
the first item in the list of choices if a select question isn't asked
due to the debconf priority being too low. However, cdebconf (as used in
the installer) doesn't do this. Although this is arguably a cdebconf
bug, the effect is that you end up with a blank version in
/etc/pnm2ppa.conf, and much confusion trying to work out why printing
doesn't work, as in this Ubuntu bug report:

  https://launchpad.net/bugs/52814

Although I haven't tested it, I expect that this also affects new Debian
installations using the desktop and/or print-server tasks.

The fix (or workaround, depending on your point of view) is to add a
Default to the pnm2ppa/printer_model template, as in the attached patch.

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]
--- pnm2ppa-1.12.orig/debian/templates
+++ pnm2ppa-1.12/debian/templates
@@ -8,6 +8,7 @@
 Template: pnm2ppa/printer_model
 Type: select
 Choices: 710, 712, 720, 722, 820, 1000
+Default: 710
 _Description: What model of HP Deskjet printer do you use?
  The pnm2ppa printer filter behaves differently depending upon which HP
  DeskJet model you use. Choose your model of printer for the default

Reply via email to