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

r5493 - in glibc-package/trunk/debian: . debhelper.in



Author: adconrad
Date: 2013-02-22 21:20:11 +0000 (Fri, 22 Feb 2013)
New Revision: 5493

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/debhelper.in/libc.preinst
Log:
debian/debhelper.in/libc.preinst: Remove ld.so's aux-cache on upgrades.

Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2013-02-15 18:01:28 UTC (rev 5492)
+++ glibc-package/trunk/debian/changelog	2013-02-22 21:20:11 UTC (rev 5493)
@@ -13,6 +13,7 @@
   [ Adam Conrad ]
   * debian/testsuite-checking/compare.sh: Disable failing the build on test
     regressions to ease the pain of ongoing stable/security maintenance.
+  * debian/debhelper.in/libc.preinst: Remove ld.so's aux-cache on upgrades.
 
   [ Petr Salinger ]
   * patches/kfreebsd/local-initgroups-order.diff: always put supplied extra

Modified: glibc-package/trunk/debian/debhelper.in/libc.preinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.preinst	2013-02-15 18:01:28 UTC (rev 5492)
+++ glibc-package/trunk/debian/debhelper.in/libc.preinst	2013-02-22 21:20:11 UTC (rev 5493)
@@ -438,14 +438,15 @@
 esac
 
 if [ -n "$preversion" ]; then
-    if dpkg --compare-versions "$preversion" lt 2.13-38; then
+    if dpkg --compare-versions "$preversion" lt 2.13-39; then
        # upgrading from a pre-multiarch libc to a multiarch libc; we have
        # to blow away /etc/ld.so.cache, otherwise the old unpacked libc
        # is still first in the cache and segfaults when combined with
        # our newly-unpacked ld.so. Do this last to avoid slowing down the
-       # rest of the upgrade.  Version number bumped to 2.13-38 to also
+       # rest of the upgrade.  Version number bumped to 2.13-39 to also
        # cover cache format upgrades for ARM.
        rm -f /etc/ld.so.cache
+       rm -f /var/cache/ldconfig/aux-cache
     fi
 fi
 


Reply to: