r903 - in glibc-package/branches/glibc-2.3.4/debian: . debhelper.in
Author: gotom
Date: 2005-04-28 00:52:05 +0000 (Thu, 28 Apr 2005)
New Revision: 903
Modified:
glibc-package/branches/glibc-2.3.4/debian/changelog
glibc-package/branches/glibc-2.3.4/debian/debhelper.in/libc.postrm
Log:
* Small change for libc6 upgrade problem.
- debian/debhelper.in/libc.postrm: Add plain messages and clean up.
Modified: glibc-package/branches/glibc-2.3.4/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.3.4/debian/changelog 2005-04-24 16:44:05 UTC (rev 902)
+++ glibc-package/branches/glibc-2.3.4/debian/changelog 2005-04-28 00:52:05 UTC (rev 903)
@@ -33,6 +33,9 @@
- debian/control.in/sparc64: Delete Depends: lib64gcc1.
- debian/control: Likewise.
+ * Small change for libc6 upgrade problem.
+ - debian/debhelper.in/libc.postrm: Add plain messages and clean up.
+
* A Costa <agcosta@gis.net>. (Closes: #305662, #305666)
- debian/local/manpages/tzconfig.8: Fixed typo.
- debian/local/manpages/ldconfig.8: Likewise.
Modified: glibc-package/branches/glibc-2.3.4/debian/debhelper.in/libc.postrm
===================================================================
--- glibc-package/branches/glibc-2.3.4/debian/debhelper.in/libc.postrm 2005-04-24 16:44:05 UTC (rev 902)
+++ glibc-package/branches/glibc-2.3.4/debian/debhelper.in/libc.postrm 2005-04-28 00:52:05 UTC (rev 903)
@@ -15,21 +15,22 @@
case $(dpkg --print-installation-architecture) in
i386|sparc)
if dpkg --compare-versions "$2" lt 2.3.4-3; then
- hwcappkgs=remove
+ # Make sure the downgraded package does not support
+ # ld.so.hwcappkgs mechanism on i686 and sparc.
+ rm -f /etc/ld.so.hwcappkgs
+ echo "downgrade-to-old-glibc" >> /etc/ld.so.nohwcap
+
+ echo
+ echo You are trying to downgrade to glibc 2.3.4-2 or earlier.
+ echo Such old packages do not support the version mismatch between
+ echo standard libc and hwcap libc using /etc/ld.so.hwcappkgs
+ echo on i386 and sparc. To be safe from library inconsistency,
+ echo hwcap libraries are disabled until glibc 2.3.4-3 or later
+ echo is installed.
+ echo
fi
;;
esac
- if [ "$hwcappkgs" = remove ]; then
- # Make sure the downgraded package does not support
- # ld.so.hwcappkgs mechanism on i686 and sparc.
- rm -f /etc/ld.so.hwcappkgs
- echo "downgrade-to-old-glibc" >> /etc/ld.so.nohwcap
-
- echo You are trying to downgrade to glibc 2.3.4-2 or earlier.
- echo Such version does not support /etc/ld.so.hwcappkgs
- echo mechanism on i386 and sparc. Hwcap libraries are
- echo disabled until glibc 2.3.4-3 and later is installed.
- fi
fi
if [ "$1" = deconfigure ]; then
Reply to: