On Tue, Aug 23, 2005 at 09:43:38PM +1000, Drew Parsons wrote: > On Wed, 2005-02-23 at 09:18 +0100, Marcel Sebek wrote: > > On Sun, Feb 20, 2005 at 10:20:29PM +1100, Drew Parsons wrote: > > > On Fri, 2005-02-11 at 10:38 +0100, Marcel Sebek wrote: > > > > > > > > The answer to the question about DPI is ignored when doing install > > > > or upgrade. It is only used when doing `dpkg-reconfigure xprt-common'. > > > > > > > > * xprt-common/default_printer_resolution: 180 > > > > > > You should find your setting of 180 is safely > > > in /etc/Xprint/C/print/attributes/document, correct? > > > > Not after fresh install. I did the following steps: > > > > # apt-get remove --purge xprt-common > > # apt-get install xprt-common > > I answered 180. > > > Yes, I've been asked but the answer hasn't been reflected in > > /etc/Xprint/C/print/attributes/document. > > > > I tested it again, purging xprint-common then installing > v0.1.0.alpha1-11. After answering 180 at installation, the value is in > place: > > $ grep 180 /etc/Xprint/C/print/attributes/document > *default-printer-resolution: 180 > > Can you confirm the problem is fixed for you? (note the package is now > xprint-common, not xprt-common). >
The bug is still there. But I've found that it's only present when installing by apt-get or aptitude. dpkg -i ... works well. I think standalone dpkg doesn't run config script while apt and aptitude does. I did some investigating what happens here. After running config script, there is right value in /var/cache/debconf/config.dat: Name: xprint-common/default_printer_resolution Template: xprint-common/default_printer_resolution Value: 180 Owners: xprint-common Flags: seen But then postinst is run and content of this file changes to Name: xprint-common/default_printer_resolution Template: xprint-common/default_printer_resolution Value: 600 Owners: xprint-common Flags: seen It seems to me very strange :-/. -- Marcel Sebek
signature.asc
Description: Digital signature