Bug#733568: libtxc-dxtn-s2tc0: uninstallable on i386

2013-12-30 Thread Steve Langasek
Package: s2tc
Followup-For: Bug #733568
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Hi Lennart,

As this is a serious regression introduced in your latest upload which makes
the package uninstallable on all architectures other than amd64, I've taken
the liberty of preparing an NMU for this issue.  The short diff to the
Debian packaging is attached.

I'm not sure how this regression happened, since the debian/rules handling
of the updates seems to be correct, but please take care to correct this in
your local environment before the next upload.

Changelog entry for the NMU is:

  * Non-maintainer upload.
  * Fix maintainer scripts to not hard-code the library path for one
specific architecture into the alternatives handling on all architectures.
Closes: #733568.

I will be uploading the NMU directly to unstable shortly, and have also
committed the change to the collab-maint repo.

Thanks for considering the patch.
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
=== modified file 'debian/libtxc-dxtn-s2tc0.postinst'
--- debian/libtxc-dxtn-s2tc0.postinst	2013-12-29 15:01:19 +
+++ debian/libtxc-dxtn-s2tc0.postinst	2013-12-30 07:46:02 +
@@ -2,7 +2,7 @@
 set -e
 
 update-alternatives --install \
-	/usr/lib/x86_64-linux-gnu/libtxc_dxtn.so libtxc-dxtn-x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0 10
+	/usr/lib/#MULTIARCH#/libtxc_dxtn.so libtxc-dxtn-#MULTIARCH# /usr/lib/#MULTIARCH#/libtxc_dxtn_s2tc.so.0 10
 
 #DEBHELPER#
 

=== modified file 'debian/libtxc-dxtn-s2tc0.prerm'
--- debian/libtxc-dxtn-s2tc0.prerm	2013-12-29 15:01:19 +
+++ debian/libtxc-dxtn-s2tc0.prerm	2013-12-30 07:46:12 +
@@ -2,7 +2,7 @@
 set -e
 
 update-alternatives --remove \
-	libtxc-dxtn-x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0
+	libtxc-dxtn-#MULTIARCH# /usr/lib/#MULTIARCH#/libtxc_dxtn_s2tc.so.0
 
 #DEBHELPER#
 



Bug#733568: libtxc-dxtn-s2tc0: uninstallable on i386

2013-12-29 Thread RĂ©mi Letot
Package: libtxc-dxtn-s2tc0
Version: 0~git20131104-1
Severity: important

Dear Maintainer,

upgrading or installing the package is impossible on i386 because 
x86_64 is hardcoded in the postinst script:

LANG=c sudo dpkg -i 
/var/cache/apt/archives/libtxc-dxtn-s2tc0_0~git20131104-1_i386.deb 
(Reading database ... 287234 files and directories currently installed.)
Preparing to unpack .../libtxc-dxtn-s2tc0_0~git20131104-1_i386.deb ...
Unpacking libtxc-dxtn-s2tc0:i386 (0~git20131104-1) over (0~git20131104-1) ...
Setting up libtxc-dxtn-s2tc0:i386 (0~git20131104-1) ...
update-alternatives: error: alternative path 
/usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0 doesn't exist
dpkg: error processing package libtxc-dxtn-s2tc0:i386 (--install):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 libtxc-dxtn-s2tc0:i386


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.12-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libtxc-dxtn-s2tc0 depends on:
ii  libc6  2.17-97
ii  libgcc11:4.8.2-10
ii  libstdc++6 4.8.2-10
ii  multiarch-support  2.17-97

libtxc-dxtn-s2tc0 recommends no packages.

libtxc-dxtn-s2tc0 suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org