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

Bug#887629: libc6: bad upgrade path: libexpat1 unpacked and python3 called before libc6 unpacked



Package: libc6
Version: 2.26-2
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stretch'.
It installed fine in 'stretch', then the upgrade to 'buster' fails.

>From the attached log (scroll to the bottom...):

[...]
  Preparing to unpack .../libexpat1-dev_2.2.5-3_i386.deb ...
  Unpacking libexpat1-dev:i386 (2.2.5-3) over (2.2.0-2+deb9u1) ...
  Preparing to unpack .../libexpat1_2.2.5-3_i386.deb ...
  Unpacking libexpat1:i386 (2.2.5-3) over (2.2.0-2+deb9u1) ...
[...]
  Preparing to unpack .../3-libglib2.0-dev_2.54.3-1_i386.deb ...
  /usr/bin/python3: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /lib/i386-linux-gnu/libexpat.so.1)
  dpkg: warning: subprocess old pre-removal script returned error exit status 1
  dpkg: trying script from the new package instead ...
  dpkg: error processing archive /tmp/apt-dpkg-install-wfemKS/3-libglib2.0-dev_2.54.3-1_i386.deb (--unpack):
   there is no script in the new version of the package - giving up
  /usr/bin/python3: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /lib/i386-linux-gnu/libexpat.so.1)
  dpkg: error while cleaning up:
   subprocess installed post-installation script returned error exit status 1
[...]
  Preparing to unpack .../9-libc6_2.26-2_i386.deb ...
  Unpacking libc6:i386 (2.26-2) over (2.24-11+deb9u1) ...
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-wfemKS/3-libglib2.0-dev_2.54.3-1_i386.deb

This was a test in an i386 chroot with --install-recommends enabled,
the package tested was multimedia-devel.
Note that this runs with apt from stretch since this is an upgrade test ...

Something (I don't know what) probably needs to get stricter dependencies.

The log is from i386, but I could also reproduce it on amd64.


cheers,

Andreas

Attachment: multimedia-devel_0.6.log.gz
Description: application/gzip


Reply to: