Ubuntu dpkg 1.16.0~ubuntu3
This e-mail has been sent due to an upload to Ubuntu that contains Ubuntu
changes. It contains the difference between the new version and the
previous version of the same source package in Ubuntu.
Format: 1.8
Date: Tue, 01 Mar 2011 14:18:52 -0800
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source
Version: 1.16.0~ubuntu3
Distribution: natty
Urgency: low
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Changed-By: Steve Langasek <steve.langasek@ubuntu.com>
Description:
dpkg - Debian package management system
dpkg-dev - Debian package development tools
dselect - Debian package management front-end
libdpkg-dev - Debian package management static library
libdpkg-perl - Dpkg perl modules
Launchpad-Bugs-Fixed: 727106
Changes:
dpkg (1.16.0~ubuntu3) natty; urgency=low
.
* Fix up the DPKG_ADMINDIR env var being passed to maintainer scripts when
running with --root.
.
dpkg (1.16.0~ubuntu2) natty; urgency=low
.
* Install multiarch symlink in /var/lib/dpkg/info on fresh installs as
well as upgrades (LP: #727106).
Checksums-Sha1:
93682d7fa375e62f2238c77eafdfc82a6a7b79ba 1943 dpkg_1.16.0~ubuntu3.dsc
015f6e8a75660934ca1bbac5426f90854c24ae86 5332414 dpkg_1.16.0~ubuntu3.tar.bz2
Checksums-Sha256:
56193eea40956f6d3526b295803a6894184eaa78cef682a3d7382b8212fabc2c 1943 dpkg_1.16.0~ubuntu3.dsc
a327ecec5e2cae7f2c94d8b7d8dc8ddb6445f68952857a11b325a20f7340adf2 5332414 dpkg_1.16.0~ubuntu3.tar.bz2
Files:
928fad1f6b9c8694ce88f8776adc1aeb 1943 admin required dpkg_1.16.0~ubuntu3.dsc
e8fd81c369098981e1d9d7eed27b8916 5332414 admin required dpkg_1.16.0~ubuntu3.tar.bz2
Original-Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
diff -pruN 1.16.0~ubuntu1/debian/changelog 1.16.0~ubuntu3/debian/changelog
--- 1.16.0~ubuntu1/debian/changelog 2011-02-28 23:00:48.000000000 +0000
+++ 1.16.0~ubuntu3/debian/changelog 2011-03-01 22:18:54.000000000 +0000
@@ -1,3 +1,17 @@
+dpkg (1.16.0~ubuntu3) natty; urgency=low
+
+ * Fix up the DPKG_ADMINDIR env var being passed to maintainer scripts when
+ running with --root.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 01 Mar 2011 14:18:52 -0800
+
+dpkg (1.16.0~ubuntu2) natty; urgency=low
+
+ * Install multiarch symlink in /var/lib/dpkg/info on fresh installs as
+ well as upgrades (LP: #727106).
+
+ -- Colin Watson <cjwatson@ubuntu.com> Tue, 01 Mar 2011 11:35:07 +0000
+
dpkg (1.16.0~ubuntu1) natty; urgency=low
* Merge from git://git.debian.org/users/hertzog/dpkg.git
diff -pruN 1.16.0~ubuntu1/debian/dpkg.preinst 1.16.0~ubuntu3/debian/dpkg.preinst
--- 1.16.0~ubuntu1/debian/dpkg.preinst 2011-02-28 22:51:45.000000000 +0000
+++ 1.16.0~ubuntu3/debian/dpkg.preinst 2011-03-01 11:31:51.000000000 +0000
@@ -54,6 +54,16 @@ kill_bad_alternatives () {
}
case "$1" in
+ install|upgrade)
+ # Install symlink for new multiarch path
+ infodir="/var/lib/dpkg/info/$(dpkg --print-architecture)"
+ if [ ! -d "$infodir" ]; then
+ ln -sf . "$infodir"
+ fi
+ ;;
+esac
+
+case "$1" in
install)
;;
@@ -70,12 +80,6 @@ case "$1" in
upgrade_dpkg_non_conffile
;;
esac
-
- # Install symlink for new multiarch path
- infodir="/var/lib/dpkg/info/$(dpkg --print-architecture)"
- if [ ! -d "$infodir" ]; then
- ln -sf . "$infodir"
- fi
;;
abort-upgrade)
Binary files 1.16.0~ubuntu1/dselect/po/es.gmo and 1.16.0~ubuntu3/dselect/po/es.gmo differ
Binary files 1.16.0~ubuntu1/po/de.gmo and 1.16.0~ubuntu3/po/de.gmo differ
Binary files 1.16.0~ubuntu1/po/es.gmo and 1.16.0~ubuntu3/po/es.gmo differ
Binary files 1.16.0~ubuntu1/po/pt.gmo and 1.16.0~ubuntu3/po/pt.gmo differ
Binary files 1.16.0~ubuntu1/scripts/po/de.gmo and 1.16.0~ubuntu3/scripts/po/de.gmo differ
Binary files 1.16.0~ubuntu1/scripts/po/es.gmo and 1.16.0~ubuntu3/scripts/po/es.gmo differ
diff -pruN 1.16.0~ubuntu1/src/help.c 1.16.0~ubuntu3/src/help.c
--- 1.16.0~ubuntu1/src/help.c 2011-02-28 22:51:46.000000000 +0000
+++ 1.16.0~ubuntu3/src/help.c 2011-03-01 22:13:10.000000000 +0000
@@ -197,6 +197,11 @@ preexecscript(struct command *cmd)
size_t instdirl;
if (*instdir) {
+ if (strstr(admindir, instdir) == admindir)
+ /* Already forked, safe to modify the environment; strip off the chroot
+ path from our admin dir so this works under the chroot */
+ if (setenv("DPKG_ADMINDIR", admindir+strlen(instdir), 1) < 0)
+ ohshite(_("unable to setenv for subprocesses"));
if (chroot(instdir)) ohshite(_("failed to chroot to `%.250s'"),instdir);
if (chdir("/"))
ohshite(_("failed to chdir to `%.255s'"), "/");
Reply to: