View Issue Details

IDProjectCategoryView StatusLast Update
0006672Kali Linux[All Projects] Kali Package Bugpublic2021-06-24 01:45
ReporterVampire Assigned Tosteev  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version 
Target VersionFixed in Version 
Summary0006672: Errors for libc6:amd64 while upgrading kali-linux
DescriptionWhen I install kali-linux in WSL (1) on GitHub Actions virtual machine and then do `apt-get update` followed by `apt-get upgrade --yes`, the operation fails.
This worked fine some days ago.

Here the upgrade log:

```
2020-08-22T10:42:09.7413356Z [command]C:\windows\system32\wsl.exe --distribution kali-linux apt-get upgrade --yes
2020-08-22T10:42:10.3961078Z Reading package lists...
2020-08-22T10:42:10.5435785Z Building dependency tree...
2020-08-22T10:42:10.5436955Z Reading state information...
2020-08-22T10:42:10.6356514Z Calculating upgrade...
2020-08-22T10:42:10.7757913Z The following packages have been kept back:
2020-08-22T10:42:10.7764452Z bsdmainutils bsdutils libgnutls30 librtmp1 wget
2020-08-22T10:42:10.7773911Z The following packages will be upgraded:
2020-08-22T10:42:10.7774468Z apt apt-utils base-files bind9-dnsutils bind9-host bind9-libs curl dmsetup
2020-08-22T10:42:10.7774866Z dnsutils fdisk gcc-10-base gcc-9-base init init-system-helpers iptables less
2020-08-22T10:42:10.7775171Z libapparmor1 libapt-pkg6.0 libblkid1 libbrotli1 libbz2-1.0 libc-bin
2020-08-22T10:42:10.7775448Z libc-l10n libc6 libcap2 libcap2-bin libcurl4 libdebconfclient0
2020-08-22T10:42:10.7775711Z libdevmapper1.02.1 libelf1 libfdisk1 libgcc-s1 libgcrypt20 libgmp10
2020-08-22T10:42:10.7775977Z libgpg-error0 libicu67 libip4tc2 libip6tc2 libjson-c4 libldap-2.4-2
2020-08-22T10:42:10.7776236Z libmount1 libpcre3 libpopt0 libprotobuf-c1 libselinux1 libsemanage-common
2020-08-22T10:42:10.7776495Z libsemanage1 libsepol1 libsmartcols1 libstdc++6 libsystemd0 libudev1
2020-08-22T10:42:10.7776753Z libuuid1 libuv1 libxtables12 libzstd1 locales-all mount nano perl-base
2020-08-22T10:42:10.7777015Z publicsuffix rsyslog sudo systemd systemd-sysv systemd-timesyncd
2020-08-22T10:42:10.7777279Z sysvinit-utils udev util-linux
2020-08-22T10:42:11.2489024Z 69 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
2020-08-22T10:42:11.2489592Z Need to get 47.8 MB of archives.
2020-08-22T10:42:11.2489878Z After this operation, 901 kB of additional disk space will be used.
2020-08-22T10:42:11.2491829Z Get:1 http://kali.download/kali kali-rolling/main amd64 base-files amd64 1:2020.3.1 [72.3 kB]
2020-08-22T10:42:11.2602309Z Get:2 http://kali.download/kali kali-rolling/main amd64 perl-base amd64 5.30.3-4 [1,576 kB]
2020-08-22T10:42:11.2790726Z Get:3 http://kali.download/kali kali-rolling/main amd64 libc-l10n all 2.31-2 [860 kB]
2020-08-22T10:42:11.3280918Z Get:4 http://kali.download/kali kali-rolling/main amd64 locales-all amd64 2.31-2 [10.9 MB]
2020-08-22T10:42:11.5097068Z Get:5 http://kali.download/kali kali-rolling/main amd64 libc6 amd64 2.31-2 [2,839 kB]
2020-08-22T10:42:11.5777703Z Get:6 http://kali.download/kali kali-rolling/main amd64 libc-bin amd64 2.31-2 [801 kB]
2020-08-22T10:42:11.6269682Z Get:7 http://kali.download/kali kali-rolling/main amd64 gcc-10-base amd64 10.1.0-6 [198 kB]
2020-08-22T10:42:11.7274665Z Get:8 http://kali.download/kali kali-rolling/main amd64 libgcc-s1 amd64 10.1.0-6 [41.3 kB]
2020-08-22T10:42:11.8290132Z Get:9 http://kali.download/kali kali-rolling/main amd64 libstdc++6 amd64 10.1.0-6 [493 kB]
2020-08-22T10:42:11.9343354Z Get:10 http://kali.download/kali kali-rolling/main amd64 libselinux1 amd64 3.1-2 [87.3 kB]
2020-08-22T10:42:12.0313660Z Get:11 http://kali.download/kali kali-rolling/main amd64 libblkid1 amd64 2.36-2 [194 kB]
2020-08-22T10:42:12.1299535Z Get:12 http://kali.download/kali kali-rolling/main amd64 libuuid1 amd64 2.36-2 [82.3 kB]
2020-08-22T10:42:12.2334782Z Get:13 http://kali.download/kali kali-rolling/main amd64 libfdisk1 amd64 2.36-2 [237 kB]
2020-08-22T10:42:12.3323819Z Get:14 http://kali.download/kali kali-rolling/main amd64 libmount1 amd64 2.36-2 [212 kB]
2020-08-22T10:42:12.4436869Z Get:15 http://kali.download/kali kali-rolling/main amd64 libsmartcols1 amd64 2.36-2 [158 kB]
2020-08-22T10:42:12.5360558Z Get:16 http://kali.download/kali kali-rolling/main amd64 fdisk amd64 2.36-2 [190 kB]
2020-08-22T10:42:12.6333337Z Get:17 http://kali.download/kali kali-rolling/main amd64 util-linux amd64 2.36-2 [1,135 kB]
2020-08-22T10:42:12.7337769Z Get:18 http://kali.download/kali kali-rolling/main amd64 libbz2-1.0 amd64 1.0.8-4 [45.8 kB]
2020-08-22T10:42:12.8401560Z Get:19 http://kali.download/kali kali-rolling/main amd64 libgpg-error0 amd64 1.38-2 [77.5 kB]
2020-08-22T10:42:12.9420205Z Get:20 http://kali.download/kali kali-rolling/main amd64 libgcrypt20 amd64 1.8.6-2 [559 kB]
2020-08-22T10:42:13.0431370Z Get:21 http://kali.download/kali kali-rolling/main amd64 systemd-timesyncd amd64 246-2 [126 kB]
2020-08-22T10:42:13.1372955Z Get:22 http://kali.download/kali kali-rolling/main amd64 udev amd64 246-2 [1,434 kB]
2020-08-22T10:42:13.2390336Z Get:23 http://kali.download/kali kali-rolling/main amd64 libudev1 amd64 246-2 [161 kB]
2020-08-22T10:42:13.3382743Z Get:24 http://kali.download/kali kali-rolling/main amd64 systemd-sysv amd64 246-2 [108 kB]
2020-08-22T10:42:13.4400226Z Get:25 http://kali.download/kali kali-rolling/main amd64 init-system-helpers all 1.58+kali1 [49.1 kB]
2020-08-22T10:42:13.5382198Z Get:26 http://kali.download/kali kali-rolling/main amd64 sysvinit-utils amd64 2.96-4 [25.0 kB]
2020-08-22T10:42:13.6403628Z Get:27 http://kali.download/kali kali-rolling/main amd64 libapparmor1 amd64 2.13.4-3 [97.1 kB]
2020-08-22T10:42:13.7423370Z Get:28 http://kali.download/kali kali-rolling/main amd64 libcap2 amd64 1:2.42-2 [23.5 kB]
2020-08-22T10:42:13.8435661Z Get:29 http://kali.download/kali kali-rolling/main amd64 libxtables12 amd64 1.8.5-2 [44.2 kB]
2020-08-22T10:42:13.9441995Z Get:30 http://kali.download/kali kali-rolling/main amd64 iptables amd64 1.8.5-2 [383 kB]
2020-08-22T10:42:14.0748669Z Get:31 http://kali.download/kali kali-rolling/main amd64 libip6tc2 amd64 1.8.5-2 [34.7 kB]
2020-08-22T10:42:14.1442601Z Get:32 http://kali.download/kali kali-rolling/main amd64 libip4tc2 amd64 1.8.5-2 [34.4 kB]
2020-08-22T10:42:14.2461802Z Get:33 http://kali.download/kali kali-rolling/main amd64 mount amd64 2.36-2 [184 kB]
2020-08-22T10:42:14.3466390Z Get:34 http://kali.download/kali kali-rolling/main amd64 systemd amd64 246-2 [4,316 kB]
2020-08-22T10:42:14.4474446Z Get:35 http://kali.download/kali kali-rolling/main amd64 libsystemd0 amd64 246-2 [369 kB]
2020-08-22T10:42:14.5487145Z Get:36 http://kali.download/kali kali-rolling/main amd64 libzstd1 amd64 1.4.5+dfsg-4 [307 kB]
2020-08-22T10:42:14.6505803Z Get:37 http://kali.download/kali kali-rolling/main amd64 libapt-pkg6.0 amd64 2.1.10 [994 kB]
2020-08-22T10:42:14.7504753Z Get:38 http://kali.download/kali kali-rolling/main amd64 apt amd64 2.1.10 [1,459 kB]
2020-08-22T10:42:14.8509959Z Get:39 http://kali.download/kali kali-rolling/main amd64 apt-utils amd64 2.1.10 [435 kB]
2020-08-22T10:42:14.9512931Z Get:40 http://kali.download/kali kali-rolling/main amd64 init amd64 1.58+kali1 [15.5 kB]
2020-08-22T10:42:15.0533023Z Get:41 http://kali.download/kali kali-rolling/main amd64 rsyslog amd64 8.2006.0-2 [691 kB]
2020-08-22T10:42:15.1677735Z Get:42 http://kali.download/kali kali-rolling/main amd64 libdebconfclient0 amd64 0.253 [49.4 kB]
2020-08-22T10:42:15.2548643Z Get:43 http://kali.download/kali kali-rolling/main amd64 libgmp10 amd64 2:6.2.0+dfsg-6 [253 kB]
2020-08-22T10:42:15.3545296Z Get:44 http://kali.download/kali kali-rolling/main amd64 libpcre3 amd64 2:8.39-13 [343 kB]
2020-08-22T10:42:15.4541762Z Get:45 http://kali.download/kali kali-rolling/main amd64 libsepol1 amd64 3.1-1 [265 kB]
2020-08-22T10:42:15.5578288Z Get:46 http://kali.download/kali kali-rolling/main amd64 libsemanage-common all 3.1-1 [21.3 kB]
2020-08-22T10:42:15.6581307Z Get:47 http://kali.download/kali kali-rolling/main amd64 libsemanage1 amd64 3.1-1 [98.0 kB]
2020-08-22T10:42:15.7635059Z Get:48 http://kali.download/kali kali-rolling/main amd64 gcc-9-base amd64 9.3.0-15 [197 kB]
2020-08-22T10:42:15.8575529Z Get:49 http://kali.download/kali kali-rolling/main amd64 less amd64 551-2 [133 kB]
2020-08-22T10:42:15.9577950Z Get:50 http://kali.download/kali kali-rolling/main amd64 nano amd64 5.1-1 [644 kB]
2020-08-22T10:42:16.0596823Z Get:51 http://kali.download/kali kali-rolling/main amd64 libjson-c4 amd64 0.13.1+dfsg-9 [37.1 kB]
2020-08-22T10:42:16.1585198Z Get:52 http://kali.download/kali kali-rolling/main amd64 libprotobuf-c1 amd64 1.3.3-1+b2 [27.0 kB]
2020-08-22T10:42:16.2629688Z Get:53 http://kali.download/kali kali-rolling/main amd64 libuv1 amd64 1.38.0-3 [128 kB]
2020-08-22T10:42:16.3622577Z Get:54 http://kali.download/kali kali-rolling/main amd64 bind9-dnsutils amd64 1:9.16.4-1 [382 kB]
2020-08-22T10:42:16.4627105Z Get:55 http://kali.download/kali kali-rolling/main amd64 bind9-libs amd64 1:9.16.4-1 [1,374 kB]
2020-08-22T10:42:16.5666041Z Get:56 http://kali.download/kali kali-rolling/main amd64 bind9-host amd64 1:9.16.4-1 [287 kB]
2020-08-22T10:42:16.6663607Z Get:57 http://kali.download/kali kali-rolling/main amd64 libbrotli1 amd64 1.0.7-7 [267 kB]
2020-08-22T10:42:16.7658795Z Get:58 http://kali.download/kali kali-rolling/main amd64 libldap-2.4-2 amd64 2.4.50+dfsg-1+b1 [228 kB]
2020-08-22T10:42:16.8659212Z Get:59 http://kali.download/kali kali-rolling/main amd64 curl amd64 7.68.0-1+b1 [249 kB]
2020-08-22T10:42:16.9657090Z Get:60 http://kali.download/kali kali-rolling/main amd64 libcurl4 amd64 7.68.0-1+b1 [322 kB]
2020-08-22T10:42:17.0704736Z Get:61 http://kali.download/kali kali-rolling/main amd64 libdevmapper1.02.1 amd64 2:1.02.171-2 [142 kB]
2020-08-22T10:42:17.1990908Z Get:62 http://kali.download/kali kali-rolling/main amd64 dmsetup amd64 2:1.02.171-2 [91.2 kB]
2020-08-22T10:42:17.2694518Z Get:63 http://kali.download/kali kali-rolling/main amd64 dnsutils all 1:9.16.4-1 [247 kB]
2020-08-22T10:42:17.3698844Z Get:64 http://kali.download/kali kali-rolling/main amd64 libcap2-bin amd64 1:2.42-2 [32.6 kB]
2020-08-22T10:42:17.4693088Z Get:65 http://kali.download/kali kali-rolling/main amd64 libelf1 amd64 0.180-1+b1 [165 kB]
2020-08-22T10:42:17.5808542Z Get:66 http://kali.download/kali kali-rolling/main amd64 libicu67 amd64 67.1-3 [8,610 kB]
2020-08-22T10:42:17.6940490Z Get:67 http://kali.download/kali kali-rolling/main amd64 libpopt0 amd64 1.18-1 [49.7 kB]
2020-08-22T10:42:17.7705180Z Get:68 http://kali.download/kali kali-rolling/main amd64 publicsuffix all 20200729.1725-1 [118 kB]
2020-08-22T10:42:17.8723911Z Get:69 http://kali.download/kali kali-rolling/main amd64 sudo amd64 1.9.1-2 [1,011 kB]
2020-08-22T10:42:18.6341297Z Preconfiguring packages ...
2020-08-22T10:42:19.1172256Z Fetched 47.8 MB in 7s (6,767 kB/s)
2020-08-22T10:42:19.2223072Z (Reading database ...
2020-08-22T10:42:19.2247107Z (Reading database ... 5%
2020-08-22T10:42:19.2276927Z (Reading database ... 10%
2020-08-22T10:42:19.2337158Z (Reading database ... 15%
2020-08-22T10:42:19.2362518Z (Reading database ... 20%
2020-08-22T10:42:19.2391275Z (Reading database ... 25%
2020-08-22T10:42:19.2413906Z (Reading database ... 30%
2020-08-22T10:42:19.2434355Z (Reading database ... 35%
2020-08-22T10:42:19.2434691Z (Reading database ... 40%
2020-08-22T10:42:19.2434936Z (Reading database ... 45%
2020-08-22T10:42:19.2435732Z (Reading database ... 50%
2020-08-22T10:42:19.2435953Z (Reading database ... 55%
2020-08-22T10:42:19.2436183Z (Reading database ... 60%
2020-08-22T10:42:19.2436582Z (Reading database ... 65%
2020-08-22T10:42:19.2436804Z (Reading database ... 70%
2020-08-22T10:42:19.2437026Z (Reading database ... 75%
2020-08-22T10:42:19.2437248Z (Reading database ... 80%
2020-08-22T10:42:19.2437471Z (Reading database ... 85%
2020-08-22T10:42:19.2437689Z (Reading database ... 90%
2020-08-22T10:42:19.2437911Z (Reading database ... 95%
2020-08-22T10:42:19.2441876Z (Reading database ... 100%
2020-08-22T10:42:19.2442494Z (Reading database ... 17039 files and directories currently installed.)
2020-08-22T10:42:19.2443630Z Preparing to unpack .../base-files_1%3a2020.3.1_amd64.deb ...
2020-08-22T10:42:19.2772650Z Unpacking base-files (1:2020.3.1) over (1:2020.2.0) ...
2020-08-22T10:42:19.7039671Z Setting up base-files (1:2020.3.1) ...
2020-08-22T10:42:20.0256209Z (Reading database ...
2020-08-22T10:42:20.0280027Z (Reading database ... 5%
2020-08-22T10:42:20.0316433Z (Reading database ... 10%
2020-08-22T10:42:20.0378606Z (Reading database ... 15%
2020-08-22T10:42:20.0401716Z (Reading database ... 20%
2020-08-22T10:42:20.0429060Z (Reading database ... 25%
2020-08-22T10:42:20.0450663Z (Reading database ... 30%
2020-08-22T10:42:20.0468361Z (Reading database ... 35%
2020-08-22T10:42:20.0468680Z (Reading database ... 40%
2020-08-22T10:42:20.0468908Z (Reading database ... 45%
2020-08-22T10:42:20.0469119Z (Reading database ... 50%
2020-08-22T10:42:20.0469330Z (Reading database ... 55%
2020-08-22T10:42:20.0469543Z (Reading database ... 60%
2020-08-22T10:42:20.0469749Z (Reading database ... 65%
2020-08-22T10:42:20.0469976Z (Reading database ... 70%
2020-08-22T10:42:20.0471223Z (Reading database ... 75%
2020-08-22T10:42:20.0471445Z (Reading database ... 80%
2020-08-22T10:42:20.0471655Z (Reading database ... 85%
2020-08-22T10:42:20.0471869Z (Reading database ... 90%
2020-08-22T10:42:20.0472079Z (Reading database ... 95%
2020-08-22T10:42:20.0472297Z (Reading database ... 100%
2020-08-22T10:42:20.0472544Z (Reading database ... 17039 files and directories currently installed.)
2020-08-22T10:42:20.0477137Z Preparing to unpack .../perl-base_5.30.3-4_amd64.deb ...
2020-08-22T10:42:20.1349438Z Unpacking perl-base (5.30.3-4) over (5.30.2-1) ...
2020-08-22T10:42:25.3957098Z Setting up perl-base (5.30.3-4) ...
2020-08-22T10:42:25.5794057Z (Reading database ...
2020-08-22T10:42:25.5818370Z (Reading database ... 5%
2020-08-22T10:42:25.5845268Z (Reading database ... 10%
2020-08-22T10:42:25.5908308Z (Reading database ... 15%
2020-08-22T10:42:25.5932285Z (Reading database ... 20%
2020-08-22T10:42:25.5958420Z (Reading database ... 25%
2020-08-22T10:42:25.5981244Z (Reading database ... 30%
2020-08-22T10:42:25.6001921Z (Reading database ... 35%
2020-08-22T10:42:25.6002336Z (Reading database ... 40%
2020-08-22T10:42:25.6002590Z (Reading database ... 45%
2020-08-22T10:42:25.6002833Z (Reading database ... 50%
2020-08-22T10:42:25.6003059Z (Reading database ... 55%
2020-08-22T10:42:25.6003281Z (Reading database ... 60%
2020-08-22T10:42:25.6003693Z (Reading database ... 65%
2020-08-22T10:42:25.6003981Z (Reading database ... 70%
2020-08-22T10:42:25.6004206Z (Reading database ... 75%
2020-08-22T10:42:25.6004442Z (Reading database ... 80%
2020-08-22T10:42:25.6004668Z (Reading database ... 85%
2020-08-22T10:42:25.6004949Z (Reading database ... 90%
2020-08-22T10:42:25.6005176Z (Reading database ... 95%
2020-08-22T10:42:25.6005397Z (Reading database ... 100%
2020-08-22T10:42:25.6005795Z (Reading database ... 17039 files and directories currently installed.)
2020-08-22T10:42:25.6011139Z Preparing to unpack .../libc-l10n_2.31-2_all.deb ...
2020-08-22T10:42:25.6315526Z Unpacking libc-l10n (2.31-2) over (2.30-8) ...
2020-08-22T10:42:26.2340889Z Preparing to unpack .../locales-all_2.31-2_amd64.deb ...
2020-08-22T10:42:26.2824517Z Unpacking locales-all (2.31-2) over (2.30-8) ...
2020-08-22T10:43:49.7229147Z Preparing to unpack .../libc6_2.31-2_amd64.deb ...
2020-08-22T10:43:50.0558165Z Checking for services that may need to be restarted...
2020-08-22T10:43:50.0558761Z Checking init scripts...
2020-08-22T10:43:50.1275378Z Unpacking libc6:amd64 (2.31-2) over (2.30-8) ...
2020-08-22T10:43:53.1643082Z Setting up libc6:amd64 (2.31-2) ...
2020-08-22T10:43:53.4547335Z Checking for services that may need to be restarted...
2020-08-22T10:43:53.4547986Z Checking init scripts...
2020-08-22T10:43:53.5063980Z Nothing to restart.
2020-08-22T10:43:53.5314202Z sleep: cannot read realtime clock: Invalid argument
2020-08-22T10:43:53.5801282Z dpkg: error processing package libc6:amd64 (--configure):
2020-08-22T10:43:53.5801620Z installed libc6:amd64 package post-installation script subprocess returned error exit status 1
2020-08-22T10:43:53.6035240Z Errors were encountered while processing:
2020-08-22T10:43:53.6035787Z libc6:amd64
2020-08-22T10:43:53.9849008Z E: Sub-process /usr/bin/dpkg returned an error code (1)
```

Activities

Vampire

2020-08-22 18:52

reporter   ~0013307

Last time I definitely have seen it working was 2020-08-08 17:32:11, but there `libc6` was up-to-date and not part of the upgrade.

steev

2020-08-22 19:50

manager   ~0013308

2020-08-22T10:43:53.5314202Z sleep: cannot read realtime clock: Invalid argument

This seems to be the sleep issue, but I'm not sure why it's happening.

Do you happen to know which version of Windows the github actions uses?

Vampire

2020-08-22 19:54

reporter   ~0013309

https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md

So it is:
Microsoft Windows Server 2019 Datacenter
OS Version: 10.0.17763 Build 1339

steev

2020-08-22 21:20

manager   ~0013310

Unfortunately, there's not a whole lot we can do here. There's an incompatibility with glibc 2.31 and WSL1, because glibc fixed the way sleep works, and Microsoft hasn't implemented it in older WSL instances. You can read https://github.com/microsoft/WSL/issues/4898 for the gory details, and there are a few workarounds listed in there that may work for you. I'm not entirely sure, as I don't know how Github Actions instances work.

Vampire

2020-08-24 12:52

reporter   ~0013314

Hm, ok, thanks, then I just disable that part of the test.
I don't need it personally, I just provide a GitHub action that can install, configure and update various WSL distros, amongst them Kali.

Issue History

Date Modified Username Field Change
2020-08-22 18:44 Vampire New Issue
2020-08-22 18:52 Vampire Note Added: 0013307
2020-08-22 19:50 steev Note Added: 0013308
2020-08-22 19:54 Vampire Note Added: 0013309
2020-08-22 21:20 steev Note Added: 0013310
2020-08-24 12:52 Vampire Note Added: 0013314
2020-12-01 10:48 g0tmi1k Priority high => normal
2020-12-01 10:50 g0tmi1k Severity block => minor
2021-06-24 01:45 steev Assigned To => steev
2021-06-24 01:45 steev Status new => closed
2021-06-24 01:45 steev Resolution open => no change required