Upload of tetex-base to stable
Hi,
I have just uploaded tetex-base_2.0.2c-8sarge1 to stable to address bug
#338638. This bug:
- is RC because it is a violation of the handling of /usr/local as
described in Policy 9.1.2, and because it causes the prerm script of
tetex-base to fail in a non-recoverable way
- cannot be solved by adding an appropriate "failed-upgrade" section to
a newer version of tetex-base.
The reason is that tetex-base_3.0-* in sid has file conflicts with
tetex-bin in sarge (and therefore declares "Conflicts: tetex-bin (<=
2.99-7)"), while tetex-bin_3.0 depends on functionality, specifically
TeX input files, provided by tetex-base only since version 3.0-4.
To solve this upgrade problem, apt(itude) will first remove tetex-base
("Dependency problems prevent..., but removing anyway as you
requested"), then unpack the updated tetex-bin package and then unpack
the new tetex-base. Because of this solution, from dpkg's point of
view the buggy tetex-base version in sarge is not removed during an
upgrade, but just on its own, and there is no "new prerm" to call with
"failed upgrade".
A hypothetical alternative solution to an upload to stable would be to
take measures to make apt(itude) choose a different solution (namely
removing tetex-bin with --force-depends, unpacking tetex-base on top of
the old version, reinstalling tetex-bin). But AFAIK there is no way to
relyably do this, because apt(itude)'s choice depends on the installed
(and selected?) packages that depend on both packages, and may change
depending on the particular installation.
I hope that you consider this upgrade for a stable point release. Below
is the interdiff between the diff.gz files; we have also an added
vietnamese debconf translation for the version in sarge which could be
added, too.
Thank you in advance,
Frank
$ interdiff tetex-base_2.0.2c-8.diff tetex-base_2.0.2c-8sarge1.diff
diff -u tetex-base-2.0.2c/debian/changelog tetex-base-2.0.2c/debian/changelog
--- tetex-base-2.0.2c/debian/changelog
+++ tetex-base-2.0.2c/debian/changelog
@@ -1,3 +1,12 @@
+tetex-base (2.0.2c-8sarge1) stable; urgency=low
+
+ * Do not fail in the prerm script when the ls-R file is on a read-only
+ filesystem (closes: #338638). This fix is critical and should go into
+ sarge, because it is needed to be able to upgrade to tetex-base_3.0 on
+ affected systems.
+
+ -- Frank KÃŒster <frank@debian.org> Mon, 5 Dec 2005 13:44:42 +0100
+
tetex-base (2.0.2c-8) unstable; urgency=low
* Add documentation for the Sueterlin fonts (ancient german handwriting)
diff -u tetex-base-2.0.2c/debian/prerm tetex-base-2.0.2c/debian/prerm
--- tetex-base-2.0.2c/debian/prerm
+++ tetex-base-2.0.2c/debian/prerm
@@ -18,7 +18,7 @@
# remove ls-R file, so that the directory can be removed.
LOCALTEXMF=/usr/local/share/texmf
- rm -f $LOCALTEXMF/ls-R
+ rm -f $LOCALTEXMF/ls-R || true
rmdir $LOCALTEXMF 2>/dev/null || true
fi
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
Reply to: