[Pkg-fglrx-devel] Bug#740843: apt: fails to upgrade the fglrx family of packages with multiarch

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Apr 23 13:15:50 UTC 2014


clone 740843 -1
reopen -1
reassign -1 fglrx-driver
found -1 1:14.3~beta1.0-1
severity -1 serious
tags -1 + patch
thanks

On Fri, 07 Mar 2014 at 11:08:20 +0000, Simon McVittie wrote:
> For upgrades from wheezy to jessie to work with wheezy's apt, I think
> fglrx-driver will *also* have to take one of the two changes I
> suggested in a previous mail, unless you have a better idea? I'll
> clone the bug to fglrx-driver when there's consensus on what it should
> do, and bump the severity up to serious if I can reproduce this
> failure on a pure wheezy->jessie upgrade.

Sorry for the delay, I forgot I was going to do this...

I can indeed reproduce this bug on a pure wheezy->jessie upgrade, so I
think this is RC (but if the fglrx-driver maintainers want to downgrade
it to non-RC after reading the steps to reproduce, that's fine).

To reproduce:

* Install wheezy. I used a chroot produced by debootstrap, but a chroot
  produced by cdebootstrap is probably better, because it will have
  the cdebootstrap policy-rc.d helper. I found that I needed /proc
  to be mounted in order to have packages install correctly.

* dpkg --add-architecture i386

* Add contrib and non-free to sources.list

* apt-get update

* apt-get install fglrx-driver:amd64 libgl1-fglrx-glx:i386 \
  libgl1-fglrx-glx:amd64

  (A possible real-world use-case for this situation: "I have AMD hardware,
  openarena:amd64, and a Windows game played via wine:i386, and I want both
  games to be fast".)

* (Now is a good time to unmount /proc, copy the chroot and remount /proc,
  to speed up later testing)

* Add jessie sources to sources.list

* apt-get dist-upgrade

Expected result: everything upgrades OK

Actual result: see log below

This is an apt bug (#740843, already fixed in jessie) but for upgrades from
wheezy to jessie with wheezy's apt to be fully functional, you will need to
work around it in fglrx-driver/jessie. I proposed two patches on
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740843#19>
either of which works around the apt bug. Please choose whichever
you think is more correct, discussing with the apt maintainers if necessary;
if I was the maintainer, I'd go for the "+smcv.dep" version, which is what
we applied in SteamOS.

Regards,
    S

----

Preparing to replace libgl1-fglrx-glx:i386 1:12-6+point-3 (using .../libgl1-fglrx-glx_1%3a14.3~beta1.0-1_i386.deb) ...
De-configuring libgl1-fglrx-glx:amd64 ...
Unpacking replacement libgl1-fglrx-glx:i386 ...
Preparing to replace libgl1-fglrx-glx:amd64 1:12-6+point-3 (using .../libgl1-fglrx-glx_1%3a14.3~beta1.0-1_amd64.deb) ...
Unpacking replacement libgl1-fglrx-glx:amd64 ...
Preparing to replace libfglrx:i386 1:12-6+point-3 (using .../libfglrx_1%3a14.3~beta1.0-1_i386.deb) ...
De-configuring libfglrx:amd64 ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Unpacking replacement libfglrx:i386 ...
Preparing to replace libfglrx:amd64 1:12-6+point-3 (using .../libfglrx_1%3a14.3~beta1.0-1_amd64.deb) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Unpacking replacement libfglrx:amd64 ...
Processing triggers for glx-alternative-fglrx ...
Processing triggers for libc-bin ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libfglrx:amd64 (1:14.3~beta1.0-1) ...
Setting up libfglrx:i386 (1:14.3~beta1.0-1) ...
dpkg: dependency problems prevent configuration of libgl1-fglrx-glx:amd64:
 fglrx-driver (1:12-6+point-3) breaks libgl1-fglrx-glx (>> 1:12-6+point-3) and is installed.
  Version of libgl1-fglrx-glx:amd64 to be configured is 1:14.3~beta1.0-1.

dpkg: error processing libgl1-fglrx-glx:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-fglrx-glx:i386:
 fglrx-driver (1:12-6+point-3) breaks libgl1-fglrx-glx (>> 1:12-6+point-3) and is installed.
  Version of libgl1-fglrx-glx:i386 to be configured is 1:14.3~beta1.0-1.

dpkg: error processing libgl1-fglrx-glx:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libfglrx-amdxvba1:amd64:
 libfglrx-amdxvba1:amd64 depends on libgl1-fglrx-glx (= 1:14.3~beta1.0-1); however:
  Package libgl1-fglrx-glx:amd64 is not configured yet.

dpkg: error processing libfglrx-amdxvba1:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libfglrx-amdxvba1:i386:
 libfglrx-amdxvba1:i386 depends on libgl1-fglrx-glx (= 1:14.3~beta1.0-1); however:
  Package libgl1-fglrx-glx:i386 is not configured yet.

dpkg: error processing libfglrx-amdxvba1:i386 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
Errors were encountered while processing:
 libgl1-fglrx-glx:amd64
 libgl1-fglrx-glx:i386
 libfglrx-amdxvba1:amd64
 libfglrx-amdxvba1:i386



More information about the Pkg-fglrx-devel mailing list