Bug#325361: libpango1.0-common: Postinstallation script dies because /etc/defoma/config/pango.conf has not been unpacked

2005-09-24 Thread J.H.M. Dassen (Ray)
tags 325361 + unreproducible
severity 325361 normal
thanks

On Sat, Aug 27, 2005 at 19:20:55 -0500, Eric Christopherson wrote:
> I did some investigating and found that /etc/defoma/config/pango.conf is
> supposed to be provided by libpango1.0-common, but did not in fact exist.
> I don't know why it wasn't unpacked before the postinst ran,

That file is in the package and should have been installed on the system at
the point the postinst ran. It is not a bug of the postinst script that it
assumes this file is already installed on the system; see

http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase

The only scenarios I can think of in which this type of problem occurs are
ones that involve either a bug in dpkg or something on the system
interfering with files owned by the package management system (deliberately
or accidentally e.g. through filesystem corruption). These are not scenarios
that a regular package's postinst script needs to take into account. I have
tagged this report accordingly.

If you can provide us with a scenario with which to reproduce this problem
which doesn't have these characteristics, please let us know.

Ray
-- 
Scary piece of history:
`The very first use of Unix in the "real business" of Bell Labs was to type
and produce patent applications'
Dennis Ritchie in http://cm.bell-labs.com/cm/cs/who/dmr/odd.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#325361: libpango1.0-common: Postinstallation script dies because /etc/defoma/config/pango.conf has not been unpacked

2005-08-27 Thread Eric Christopherson
Package: libpango1.0-common
Version: 1.8.2-1
Severity: grave
Justification: renders package unusable


When I tried to install libpango1.0-common 1.8.2-1 and libpango1.0-0
1.8.2-1, the libpango1.0-common postinstallation script exited with
error 2, causing it not to be configured correctly. I looked through the
script and found that the failure is in update-pangox-aliases, which
quits with no error message if /etc/defoma/config/pango.conf doesn't yet
exist (line 56 of update-pangox-aliases). I did some investigating and
found that /etc/defoma/config/pango.conf is supposed to be provided by
libpango1.0-common, but did not in fact exist. I don't know why it
wasn't unpacked before the postinst ran, but I manually extracted it
from libpango1.0-common_1.8.2-1_i386.deb, tried again to install
libpango1.0-common and libpango1.0-0, and this time it worked.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.6
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libpango1.0-common depends on:
ii  debconf 1.4.57   Debian configuration management sy
ii  defoma  0.11.8-0.1   Debian Font Manager -- automatic f
ii  fontconfig  2.3.2-1  generic font configuration library
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libfontconfig1  2.3.2-1  generic font configuration library
ii  libfreetype62.1.7-2.4FreeType 2 font engine, shared lib
ii  libglib2.0-02.6.6-1  The GLib library of C routines
ii  libpango1.0-0   1.8.2-1  Layout and rendering of internatio
ii  zlib1g  1:1.2.2-4compression library - runtime

Versions of packages libpango1.0-common recommends:
pn  x-ttcidfont-conf   (no description available)

-- debconf information:
  libpango1.0-common/saved_aliases_file:
* libpango1.0-common/suggested_fonts:
* libpango1.0-common/notice_xft2_and_fontconfig:
  libpango1.0-common/use_defoma: true
  libpango1.0-common/other_fonts:
  libpango1.0-common/generated_aliases_file:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]