[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#366107: marked as done (Installing tex-common gets stuck after giving invalid group for owning fonts)



Your message dated Wed, 10 May 2006 06:47:16 -0700
with message-id <E1Fdp24-0006kY-IY@spohr.debian.org>
and subject line Bug#366107: fixed in tex-common 0.22
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: tex-common
Version: 0.21
Severity: normal


I did a routine dist-upgrade.
tex-common asked what group should own the font cache, and I
misspelled the group name.

The first thing that happened was chown balking at the invalid
group name, causing a fault in "post-installation".

Retrying the dist-upgrade fails, as it tries to set up
tex-common again without asking the questions.  So I tried
dpkg-reconfigure tex-common to fix it.  I know the correct
group name after all.
But unfortunately, dpkg-reconfigure refuse to reconfigure
a damaged/not fully installed package. :-(
apt-get -f install also fails, it too blindly tries to 
set up tex-common using the bad group name.

My next try, which I consider excessive:
dpkg --force-depends --remove tex-common
apt-get install tex-common
And it _still_ tried to use the bad group without giving
me a chance to fix it.

Final attempt, fortunately tex-common doesn't have
that many settings:
dpkg --force-depends --purge tex-common
apt-get install tex-common

Still no questions asked, preconfiguring failed, but
the package was installed anyway. So I could run
dpkg-reconfigure tex-common and finally get the group name right.


Now, the ideal fix would be a package system that offers
the option of reconfiguring packages that fail post-installation.

A nice fix for tex-common, would be to do minimal validation
of the group name entered.  For example, see if
"getent groupname" works.  Shellscript test:

if getent group $GROUPNAME ; then echo ok ; else echo bad ; fi

This works for me, of course you want to do better than "echo",
i.e. bring up the group dialog box again on failure.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (800, 'stable'), (700, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc3-mm1
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]         1.5.0      Debian configuration management sy
ii  ucf                           2.009      Update Configuration File: preserv

tex-common recommends no packages.

Versions of packages tetex-base depends on:
ii  dpkg                          1.13.18    package maintenance system for Deb
ii  ucf                           2.009      Update Configuration File: preserv

Versions of packages tetex-bin depends on:
ii  debconf [debconf-2.0]     1.5.0          Debian configuration management sy
ii  debianutils               2.15.7         Miscellaneous utilities specific t
ii  dialog                    1.0-20060221-1 Displays user-friendly dialog boxe
ii  dpkg                      1.13.18        package maintenance system for Deb
ii  ed                        0.2-20         The classic unix line editor
ii  libc6                     2.3.6-7        GNU C Library: Shared libraries
ii  libfontconfig1            2.3.2-5.1      generic font configuration library
ii  libfreetype6              2.1.10-3       FreeType 2 font engine, shared lib
ii  libgcc1                   1:4.1.0-1+b1   GCC support library
ii  libice6                   6.9.0.dfsg.1-6 Inter-Client Exchange library
ii  libjpeg62                 6b-12          The Independent JPEG Group's JPEG 
ii  libkpathsea4              3.0-16         path search library for teTeX (run
ii  libpaper1                 1.1.14-7       Library for handling paper charact
ii  libpng12-0                1.2.8rel-5     PNG library - runtime
ii  libpoppler0c2             0.4.5-4        PDF rendering library
ii  libsm6                    6.9.0.dfsg.1-6 X Window System Session Management
ii  libstdc++6                4.1.0-1+b1     The GNU Standard C++ Library v3
ii  libt1-5                   5.1.0-2        Type 1 font rasterizer library - r
ii  libx11-6                  6.9.0.dfsg.1-6 X Window System protocol client li
ii  libxaw7                   6.9.0.dfsg.1-6 X Athena widget set library
ii  libxext6                  6.9.0.dfsg.1-6 X Window System miscellaneous exte
ii  libxmu6                   6.9.0.dfsg.1-6 X Window System miscellaneous util
ii  libxp6                    6.9.0.dfsg.1-6 X Window System printing extension
ii  libxpm4                   6.9.0.dfsg.1-6 X pixmap library
ii  libxt6                    6.9.0.dfsg.1-6 X Toolkit Intrinsics
ii  mime-support              3.36-1         MIME files 'mime.types' & 'mailcap
ii  perl                      5.8.8-4        Larry Wall's Practical Extraction 
ii  sed                       4.1.4-7        The GNU sed stream editor
ii  tetex-base                3.0-17         Basic library files of teTeX
ii  ucf                       2.009          Update Configuration File: preserv
ii  whiptail                  0.51.6-31      Displays user-friendly dialog boxe
ii  zlib1g                    1:1.2.3-11     compression library - runtime

Versions of packages tetex-extra depends on:
ii  dpkg                          1.13.18    package maintenance system for Deb
ii  tetex-base                    3.0-17     Basic library files of teTeX
ii  tetex-bin                     3.0-16     The teTeX binary files
ii  ucf                           2.009      Update Configuration File: preserv

-- debconf-show failed


--- End Message ---
--- Begin Message ---
Source: tex-common
Source-Version: 0.22

We believe that the bug you reported is fixed in the latest version of
tex-common, which is due to be installed in the Debian FTP archive:

tex-common_0.22.dsc
  to pool/main/t/tex-common/tex-common_0.22.dsc
tex-common_0.22.tar.gz
  to pool/main/t/tex-common/tex-common_0.22.tar.gz
tex-common_0.22_all.deb
  to pool/main/t/tex-common/tex-common_0.22_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 366107@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Küster <frank@debian.org> (supplier of updated tex-common package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 10 May 2006 13:19:52 +0200
Source: tex-common
Binary: tex-common
Architecture: source all
Version: 0.22
Distribution: unstable
Urgency: low
Maintainer: teTeX maintainers <debian-tetex-maint@lists.debian.org>
Changed-By: Frank Küster <frank@debian.org>
Description: 
 tex-common - Common infrastructure for using and building TeX in Debian
Closes: 365070 365513 365992 366095 366107
Changes: 
 tex-common (0.22) unstable; urgency=low
 .
   * Also install FileUtils.pm which is needed by tpm2licenses [frank]
   * Make running of update-* commands silent in the debhelper postrm
     helper scripts (Closes: #365070) [preining]
   * Debconf translations:
     - updated wording of swedish template, thanks to Daniel Nylander
       <yeager@lidkoping.net> (closes: #365992) [frank]
   * Change the configuration scheme again a little: Before accepting a
     group name typed by the user, test whether it really exists.
     Furthermore, if there is only one user in the "normal user" range in
     /etc/passwd, suggest their group as the owner of the font cache.  And
     finally, make the wording clearer everywhere.  Many thanks to Anthony
     DeRobertis <anthony@derobert.net>, James R. Van Zandt"
     <jrvz@comcast.net> and Helge Hafting <helge.hafting@aitel.hist.no>
     (closes: #366107, #366095, #365513) [frank]
   * Fix lintian warnings and errors: [frank]
     - Move eperl to Build-Depends-Indep
     - Fix my name in update-language(8)
     - Add overrides for the font cache permissions and our debconf note if
       the postinst script fails.
   * Bump standards version (no changes needed) [frank]
Files: 
 42a8742fba13fdadd74c7ce4ab0ccb16 753 tex optional tex-common_0.22.dsc
 c4e8feba43628720c3de72696f08b862 295954 tex optional tex-common_0.22.tar.gz
 4307194c7c54275f50e6ca11cac1ea9e 281610 tex optional tex-common_0.22_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEYe1Y+xs9YyJS+hoRAnbmAJ4rXy9RMOK09IY/vTpJVkRu8U4dyQCfck7D
1635bY04iJbpkXtVzHvDfuA=
=WvUt
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: