Bug#922210: glx-diversions: fails to upgrade to 0.8.8~deb9u1: terminate called after throwing an instance of 'std::logic_error' ... Aborted

Luca Boccassi bluca at debian.org
Wed Feb 13 10:14:03 GMT 2019


On Wed, 13 Feb 2019 10:39:19 +0100 Salvatore Bonaccorso <carnil at debian.
org> wrote:
> Package: glx-diversions
> Version: 0.8.8~deb9u1
> Severity: serious
> Justification: regression
> 
> Hi
> 
> glx-diversions package update fails from the version in stretch
(0.8.3~deb9u1)
> to stretch-proposed-updates (0.8.8~deb9u1). The severity is actually
a bit
> overrated, package can be confgured afterwards, but not checked yet
if
> something missing.
> 
> root at stretch-amd64:~# apt-cache policy glx-diversions
> glx-diversions:
>   Installed: 0.8.3~deb9u1
>   Candidate: 0.8.8~deb9u1
>   Version table:
>      0.8.8~deb9u1 500
>         500 http://deb.debian.org/debian stretch-proposed-
updates/contrib amd64 Packages
>  *** 0.8.3~deb9u1 500
>         500 http://deb.debian.org/debian stretch/contrib amd64
Packages
>         100 /var/lib/dpkg/status
> root at stretch-amd64:~# apt-get install glx-diversions
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> The following additional packages will be installed:
>   glx-alternative-mesa update-glx
> Suggested packages:
>   libgl1-mesa-glx | libgl1
> The following packages will be upgraded:
>   glx-alternative-mesa glx-diversions update-glx
> 3 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
> Need to get 30.9 kB of archives.
> After this operation, 5,120 B of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:1 http://deb.debian.org/debian stretch-proposed-updates/contrib
amd64 glx-diversions amd64 0.8.8~deb9u1 [11.6 kB]
> Get:2 http://deb.debian.org/debian stretch-proposed-updates/contrib
amd64 glx-alternative-mesa amd64 0.8.8~deb9u1 [9,290 B]
> Get:3 http://deb.debian.org/debian stretch-proposed-updates/contrib
amd64 update-glx amd64 0.8.8~deb9u1 [9,942 B]
> Fetched 30.9 kB in 0s (1,301 kB/s)
> (Reading database ... 52292 files and directories currently
installed.)
> Preparing to unpack .../glx-diversions_0.8.8~deb9u1_amd64.deb ...
> Unpacking glx-diversions (0.8.8~deb9u1) over (0.8.3~deb9u1) ...
> Preparing to unpack .../glx-alternative-mesa_0.8.8~deb9u1_amd64.deb
...
> Unpacking glx-alternative-mesa (0.8.8~deb9u1) over (0.8.3~deb9u1) ...
> Preparing to unpack .../update-glx_0.8.8~deb9u1_amd64.deb ...
> Unpacking update-glx (0.8.8~deb9u1) over (0.8.3~deb9u1) ...
> Setting up update-glx (0.8.8~deb9u1) ...
> Setting up glx-alternative-mesa (0.8.8~deb9u1) ...
> Setting up glx-diversions (0.8.8~deb9u1) ...
> terminate called after throwing an instance of 'std::logic_error'
>                                                                    wh
at():  basic_string::_M_construct null not valid
>                                                                      
                                                Aborted
> root at stretch-amd64:~#
> 
> Regards,
> Salvatore

Hi,

This is strange, I just tried in a clean pbuilder chroot and cannot
seem to be able to reproduce it.

Given it's only scripts here, I guess it's coming from dpkg* or another
program called from the maintainer scripts - can you reproduce it with
just dpkg-reconfigure glx-diversions ? If so, could you try adding a
set -x in /var/lib/dpkg/info/glx-diversions.postinst so that we see
where it's barfing?


root at luca-desktop:/# apt-get install glx-diversions
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  glx-alternative-mesa nvidia-installer-cleanup update-glx
Suggested packages:
  libgl1-mesa-glx | libgl1
The following NEW packages will be installed:
  glx-alternative-mesa glx-diversions nvidia-installer-cleanup update-glx
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 49.0 kB of archives.
After this operation, 151 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian stretch/contrib amd64 update-glx amd64 0.8.3~deb9u1 [9644 B]
Get:2 http://deb.debian.org/debian stretch/contrib amd64 glx-alternative-mesa amd64 0.8.3~deb9u1 [8818 B]
Get:3 http://deb.debian.org/debian stretch/contrib amd64 nvidia-installer-cleanup amd64 20151021+4 [19.3 kB]
Get:4 http://deb.debian.org/debian stretch/contrib amd64 glx-diversions amd64 0.8.3~deb9u1 [11.2 kB]
Fetched 49.0 kB in 0s (410 kB/s)           
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package update-glx.
(Reading database ... 16158 files and directories currently installed.)
Preparing to unpack .../update-glx_0.8.3~deb9u1_amd64.deb ...
Unpacking update-glx (0.8.3~deb9u1) ...
Selecting previously unselected package glx-alternative-mesa.
Preparing to unpack .../glx-alternative-mesa_0.8.3~deb9u1_amd64.deb ...
Unpacking glx-alternative-mesa (0.8.3~deb9u1) ...
Selecting previously unselected package nvidia-installer-cleanup.
Preparing to unpack .../nvidia-installer-cleanup_20151021+4_amd64.deb ...
Unpacking nvidia-installer-cleanup (20151021+4) ...
Setting up nvidia-installer-cleanup (20151021+4) ...
Selecting previously unselected package glx-diversions.
(Reading database ... 16246 files and directories currently installed.)
Preparing to unpack .../glx-diversions_0.8.3~deb9u1_amd64.deb ...
Unpacking glx-diversions (0.8.3~deb9u1) ...
Setting up update-glx (0.8.3~deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up glx-alternative-mesa (0.8.3~deb9u1) ...
Setting up glx-diversions (0.8.3~deb9u1) ...
Processing triggers for glx-alternative-mesa (0.8.3~deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
root at luca-desktop:/# echo "deb http://deb.debian.org/debian/ stretch-proposed-updates main contrib non-free" >> /etc/apt/sources.list
root at luca-desktop:/# apt update
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://deb.debian.org/debian stretch-backports InRelease
Get:3 http://deb.debian.org/debian stretch-proposed-updates InRelease [109 kB]
Hit:4 http://deb.debian.org/debian stretch Release       
Get:5 http://deb.debian.org/debian stretch-proposed-updates/contrib amd64 Packages [2292 B]
Get:6 http://deb.debian.org/debian stretch-proposed-updates/non-free amd64 Packages [8332 B]
Get:7 http://deb.debian.org/debian stretch-proposed-updates/main amd64 Packages [191 kB]
Fetched 311 kB in 0s (791 kB/s)                                               
Reading package lists... Done
Building dependency tree       
Reading state information... Done
19 packages can be upgraded. Run 'apt list --upgradable' to see them.
root at luca-desktop:/# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  base-files glx-alternative-mesa glx-diversions gpgv libc-bin libc-dev-bin libc6 libc6-dev libperl5.24 libssl1.1
  libsystemd0 libudev1 linux-libc-dev multiarch-support perl perl-base perl-modules-5.24 tzdata update-glx
19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.1 MB of archives.
After this operation, 87.0 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian stretch-proposed-updates/main amd64 base-files amd64 9.9+deb9u8 [67.4 kB]
Get:2 http://deb.debian.org/debian stretch-proposed-updates/main amd64 libperl5.24 amd64 5.24.1-3+deb9u5 [3501 kB]
Get:3 http://deb.debian.org/debian stretch-proposed-updates/main amd64 perl amd64 5.24.1-3+deb9u5 [219 kB]
Get:4 http://deb.debian.org/debian stretch-proposed-updates/main amd64 perl-base amd64 5.24.1-3+deb9u5 [1345 kB]
Get:5 http://deb.debian.org/debian stretch-proposed-updates/main amd64 perl-modules-5.24 all 5.24.1-3+deb9u5 [2722 kB]
Get:6 http://deb.debian.org/debian stretch-proposed-updates/main amd64 libc6-dev amd64 2.24-11+deb9u4 [2364 kB]
Get:7 http://deb.debian.org/debian stretch-proposed-updates/main amd64 libc-dev-bin amd64 2.24-11+deb9u4 [259 kB]
Get:8 http://deb.debian.org/debian stretch-proposed-updates/main amd64 linux-libc-dev amd64 4.9.144-3 [1394 kB]
Get:9 http://deb.debian.org/debian stretch-proposed-updates/main amd64 libc6 amd64 2.24-11+deb9u4 [2694 kB]
Get:10 http://deb.debian.org/debian stretch-proposed-updates/main amd64 libc-bin amd64 2.24-11+deb9u4 [782 kB]
Get:11 http://deb.debian.org/debian stretch-proposed-updates/main amd64 libsystemd0 amd64 232-25+deb9u8 [281 kB]
Get:12 http://deb.debian.org/debian stretch-proposed-updates/contrib amd64 glx-diversions amd64 0.8.8~deb9u1 [11.6 kB]
Get:13 http://deb.debian.org/debian stretch-proposed-updates/contrib amd64 glx-alternative-mesa amd64 0.8.8~deb9u1 [9290 B]
Get:14 http://deb.debian.org/debian stretch-proposed-updates/contrib amd64 update-glx amd64 0.8.8~deb9u1 [9942 B]
Get:15 http://deb.debian.org/debian stretch-proposed-updates/main amd64 multiarch-support amd64 2.24-11+deb9u4 [201 kB]
Get:16 http://deb.debian.org/debian stretch-proposed-updates/main amd64 gpgv amd64 2.1.18-8~deb9u4 [481 kB]
Get:17 http://deb.debian.org/debian stretch-proposed-updates/main amd64 libudev1 amd64 232-25+deb9u8 [125 kB]
Get:18 http://deb.debian.org/debian stretch-proposed-updates/main amd64 tzdata all 2018i-0+deb9u1 [273 kB]
Get:19 http://deb.debian.org/debian stretch-proposed-updates/main amd64 libssl1.1 amd64 1.1.0j-1~deb9u1 [1354 kB]
Fetched 18.1 MB in 0s (45.6 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 16338 files and directories currently installed.)
Preparing to unpack .../base-files_9.9+deb9u8_amd64.deb ...
Unpacking base-files (9.9+deb9u8) over (9.9+deb9u7) ...
Setting up base-files (9.9+deb9u8) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 16338 files and directories currently installed.)
Preparing to unpack .../libperl5.24_5.24.1-3+deb9u5_amd64.deb ...
Unpacking libperl5.24:amd64 (5.24.1-3+deb9u5) over (5.24.1-3+deb9u4) ...
Preparing to unpack .../perl_5.24.1-3+deb9u5_amd64.deb ...
Unpacking perl (5.24.1-3+deb9u5) over (5.24.1-3+deb9u4) ...
Preparing to unpack .../perl-base_5.24.1-3+deb9u5_amd64.deb ...
Unpacking perl-base (5.24.1-3+deb9u5) over (5.24.1-3+deb9u4) ...
Setting up perl-base (5.24.1-3+deb9u5) ...
(Reading database ... 16338 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.24_5.24.1-3+deb9u5_all.deb ...
Unpacking perl-modules-5.24 (5.24.1-3+deb9u5) over (5.24.1-3+deb9u4) ...
Preparing to unpack .../libc6-dev_2.24-11+deb9u4_amd64.deb ...
Unpacking libc6-dev:amd64 (2.24-11+deb9u4) over (2.24-11+deb9u3) ...
Preparing to unpack .../libc-dev-bin_2.24-11+deb9u4_amd64.deb ...
Unpacking libc-dev-bin (2.24-11+deb9u4) over (2.24-11+deb9u3) ...
Preparing to unpack .../linux-libc-dev_4.9.144-3_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.9.144-3) over (4.9.130-2) ...
Preparing to unpack .../libc6_2.24-11+deb9u4_amd64.deb ...
Unpacking libc6:amd64 (2.24-11+deb9u4) over (2.24-11+deb9u3) ...
Setting up libc6:amd64 (2.24-11+deb9u4) ...
(Reading database ... 16338 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.24-11+deb9u4_amd64.deb ...
Unpacking libc-bin (2.24-11+deb9u4) over (2.24-11+deb9u3) ...
Setting up libc-bin (2.24-11+deb9u4) ...
(Reading database ... 16338 files and directories currently installed.)
Preparing to unpack .../libsystemd0_232-25+deb9u8_amd64.deb ...
Unpacking libsystemd0:amd64 (232-25+deb9u8) over (232-25+deb9u6) ...
Setting up libsystemd0:amd64 (232-25+deb9u8) ...
(Reading database ... 16338 files and directories currently installed.)
Preparing to unpack .../glx-diversions_0.8.8~deb9u1_amd64.deb ...
Unpacking glx-diversions (0.8.8~deb9u1) over (0.8.3~deb9u1) ...
Preparing to unpack .../glx-alternative-mesa_0.8.8~deb9u1_amd64.deb ...
Unpacking glx-alternative-mesa (0.8.8~deb9u1) over (0.8.3~deb9u1) ...
Preparing to unpack .../update-glx_0.8.8~deb9u1_amd64.deb ...
Unpacking update-glx (0.8.8~deb9u1) over (0.8.3~deb9u1) ...
Preparing to unpack .../multiarch-support_2.24-11+deb9u4_amd64.deb ...
Unpacking multiarch-support (2.24-11+deb9u4) over (2.24-11+deb9u3) ...
Setting up multiarch-support (2.24-11+deb9u4) ...
(Reading database ... 16354 files and directories currently installed.)
Preparing to unpack .../gpgv_2.1.18-8~deb9u4_amd64.deb ...
Unpacking gpgv (2.1.18-8~deb9u4) over (2.1.18-8~deb9u3) ...
Setting up gpgv (2.1.18-8~deb9u4) ...
(Reading database ... 16354 files and directories currently installed.)
Preparing to unpack .../libudev1_232-25+deb9u8_amd64.deb ...
Unpacking libudev1:amd64 (232-25+deb9u8) over (232-25+deb9u6) ...
Setting up libudev1:amd64 (232-25+deb9u8) ...
(Reading database ... 16354 files and directories currently installed.)
Preparing to unpack .../tzdata_2018i-0+deb9u1_all.deb ...
Unpacking tzdata (2018i-0+deb9u1) over (2018g-0+deb9u1) ...
Preparing to unpack .../libssl1.1_1.1.0j-1~deb9u1_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.0j-1~deb9u1) over (1.1.0f-3+deb9u2) ...
Setting up perl-modules-5.24 (5.24.1-3+deb9u5) ...
Setting up libperl5.24:amd64 (5.24.1-3+deb9u5) ...
Setting up update-glx (0.8.8~deb9u1) ...
Setting up tzdata (2018i-0+deb9u1) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Wed Feb 13 10:06:55 UTC 2019.
Universal Time is now:  Wed Feb 13 10:06:55 UTC 2019.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up linux-libc-dev:amd64 (4.9.144-3) ...
Setting up perl (5.24.1-3+deb9u5) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libssl1.1:amd64 (1.1.0j-1~deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libc-dev-bin (2.24-11+deb9u4) ...
Setting up glx-alternative-mesa (0.8.8~deb9u1) ...
Setting up libc6-dev:amd64 (2.24-11+deb9u4) ...
Setting up glx-diversions (0.8.8~deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for glx-alternative-mesa (0.8.8~deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
root at luca-desktop:/#

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20190213/6447cac0/attachment.sig>


More information about the pkg-nvidia-devel mailing list