Bug#338638: marked as done (tetex-base: dies when /usr/local/ read-only)
Your message dated Tue, 12 Sep 2006 16:47:20 +0200
with message-id <86u03dcfbb.fsf@alhambra.kuesterei.ch>
and subject line Bug#338638: only affect sarge
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 ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: tetex-base: dies when /usr/local/ read-only
- From: Andrew Stribblehill <ads@debian.org>
- Date: Fri, 11 Nov 2005 17:10:00 +0000
- Message-id: <E1EacPY-00010b-TT@wompom.dur.ac.uk>
Package: tetex-base
Version: 2.0.2c-8
Severity: serious
Justification: Policy 9.1.2
Trying to upgrade from 20.2c-8 to 3.0.10:
dpkg: tetex-base: dependency problems, but removing anyway as you request:
tetex-bin depends on tetex-base.
(Reading database ... 98267 files and directories currently installed.)
Removing tetex-base ...
rm: cannot remove `/usr/local/share/texmf/ls-R': Read-only file system
dpkg: error processing tetex-base (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
tetex-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack! Something bad happened while installing packages. Trying to recover:
dpkg: dependency problems prevent configuration of tetex-extra:
tetex-extra depends on tetex-bin (>= 2.99); however:
Version of tetex-bin on system is 2.0.2-31.
dpkg: error processing tetex-extra (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
tetex-extra
-- Package-specific info:
######################################
List of ls-R files
-rw-r--r-- 1 latex latex 9789 May 19 11:14 /usr/local/share/texmf/ls-R
-rw-rw-r-- 1 root users 853 Nov 11 06:29 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Aug 8 11:22 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-git6
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages tetex-base depends on:
ii debconf 1.4.58 Debian configuration management sy
ii dpkg 1.13.11.0.1 package maintenance system for Deb
ii texinfo 4.7-2.2 Documentation system for on-line i
ii ucf 2.003 Update Configuration File: preserv
Versions of packages tetex-base recommends:
pn tetex-doc <none> (no description available)
Versions of packages tetex-bin depends on:
ii debconf 1.4.58 Debian configuration management sy
ii debianutils 2.15 Miscellaneous utilities specific t
ii dpkg 1.13.11.0.1 package maintenance system for Deb
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.2-3 GCC support library
ii libice6 6.8.2.dfsg.1-10 Inter-Client Exchange library
ii libkpathsea3 2.0.2-31 path search library for teTeX (run
ii libpaper1 1.1.14-3 Library for handling paper charact
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libsm6 6.8.2.dfsg.1-10 X Window System Session Management
ii libstdc++6 4.0.2-3 The GNU Standard C++ Library v3
ii libt1-5 5.1.0-2 Type 1 font rasterizer library - r
ii libwww0 5.4.0-9 The W3C WWW library
ii libx11-6 6.8.2.dfsg.1-10 X Window System protocol client li
ii libxaw7 6.8.2.dfsg.1-7 X Athena widget set library
ii libxext6 6.8.2.dfsg.1-10 X Window System miscellaneous exte
ii libxmu6 6.8.2.dfsg.1-10 X Window System miscellaneous util
ii libxt6 6.8.2.dfsg.1-10 X Toolkit Intrinsics
ii mime-support 3.35-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.7-7 Larry Wall's Practical Extraction
ii sed 4.1.4-4 The GNU sed stream editor
ii ucf 2.003 Update Configuration File: preserv
ii xlibs 6.8.2.dfsg.1-10 X Window System client libraries m
ii zlib1g 1:1.2.3-6 compression library - runtime
Versions of packages tetex-extra depends on:
ii dpkg 1.13.11.0.1 package maintenance system for Deb
ii tetex-bin 2.0.2-31 The teTeX binary files
ii ucf 2.003 Update Configuration File: preserv
-- debconf information:
tetex-base/olddat: true
tetex-base/fmtutil-failed:
* tetex-bin/upd_map: true
tetex-bin/cnf_name:
* tetex-bin/fmtutil: true
tetex-bin/fmtutil-failed:
tetex-bin/userperm: false
* tetex-bin/texmf: true
tetex-bin/updmap-failed:
* tetex-bin/hyphen:
tetex-bin/oldcfg: true
tetex-base/oldcfg: true
tetex-base/oldupdm:
tetex-base/updmap-failed:
* tetex-bin/use_debconf: true
* tetex-bin/groupname: users
tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true
--- End Message ---
--- Begin Message ---
Version: 3.0-1
# again correcting myself. I assumed that we'd have to add a
# "failed-upgrade" stanza to the current package's prerm, but that's not
# the case - so no change needed here. However, there's still the
# separate issue of a superfluous versioned Conflicts discovered here
clone 338638 -1
retitle -1 Superfluous versioned Conflicts on older tetex-bin; breaks some upgrades
found -1 3.0-20
# curious how this mixture of Pseudo-header and comments will be handled
# by the control server...
stop
Frank Küster <frank@kuesterei.ch> wrote:
> Okay, I played around with that a bit. Actually I see no reason why
> tetex-base needs to declare a conflict with older tetex-bin. [...]
>
> The nice consequence is that we can be sure that the upgrade from sarge
> will proceed without removing tetex-base at an intermediate state, and
> therefore we can use a failed-upgrade stanza in the new package's
> preinst script.
The buggy code was only executed when the prerm was called with
"remove", not with "upgrade". Therefore it will not be called upon
upgrade from sarge to etch. There's no "failed-remove" argument,
naturally, so there's nothing we can do (except uploading to stable).
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
--- End Message ---
Reply to: