Your message dated Tue, 17 Oct 2006 11:19:35 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#393453: xprint-common: postinst fails: unknown option to
sed
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: xprint-common
Version: 1:1.1.99.3+git20060910-5
Severity: grave
Justification: renders package unusable
[EMAIL PROTECTED]:~$ sudo dpkg --configure --pending
Setting up xprint-common (1.1.99.3+git20060910-5) ...
sed: -e expression #1, char 92: unknown option to `s'
dpkg: error processing xprint-common (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
xprint-common
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages xprint-common depends on:
ii debconf [debconf-2.0] 1.5.5 Debian configuration
management sy
ii x11-common 1:7.0.22 X Window System (X.Org)
infrastruc
ii xbase-clients 1:7.1.ds-3 miscellaneous X clients
ii xfonts-encodings 1:1.0.0-6 Encodings for X.Org fonts
Versions of packages xprint-common recommends:
ii xfonts-base 1:1.0.0-4 standard fonts for X
pn xprint <none> (no description available)
-- debconf information:
* xprint-common/default_printer_resolution: Binary file
/etc/Xprint/C/print/attributes/document matches
--- End Message ---
--- Begin Message ---
On Tue, Oct 17, 2006 at 12:23:34AM +1000, Drew Parsons wrote:
> On Mon, 2006-10-16 at 14:45 +0200, synek wrote:
>> [EMAIL PROTECTED]:~$ sudo dpkg --configure --pending
>> Setting up xprint-common (1.1.99.3+git20060910-5) ...
>> sed: -e expression #1, char 92: unknown option to `s'
> Works fine here. What value were you trying to set the default
> resolution to?
Further analysis shows that the
/etc/Xprint/C/print/attributes/document was corrupted (it ended with a
few hundreds of null characters), which led the "extract current
default resolution from that file" logic in the postinst to be
confused (grep returned "binary file
/etc/Xprint/C/print/attributes/document matches" instead of
"*default-printer-resolution: 600", result which contains "/"
characters and was inserted in a sed s/// command, hence ruining it.
Closing bug, as it is not a bug in the package, but corruption on the
local machine.
--
Lionel
--- End Message ---