[Bug 1871240] Re: Can't upgrade to Focal on WSL1 due to libc6 postinst
Launchpad Bug Tracker
1871240 at bugs.launchpad.net
Wed Sep 2 17:12:22 UTC 2020
*** This bug is a duplicate of bug 1871129 ***
https://bugs.launchpad.net/bugs/1871129
This bug was fixed in the package glibc - 2.31-0ubuntu11
---------------
glibc (2.31-0ubuntu11) groovy; urgency=medium
[ Michael Hudson-Doyle ]
* Mark tst-getpw as XFAIL on arm64. (LP: #1869364)
[ Balint Reczey ]
* debian/control: Add Vcs-* pointing to Ubuntu packaging repository
* debian/gbp.conf: Add initial configuration
* debian/debhelper.in/libc.preinst: Fix setting LDCONFIG_NOTRIGGER
* debian/control.in/main: Add Vcs-* pointing to Ubuntu packaging repository
* Fall back to calling nanosleep syscall when __clock_nanosleep returns EINVAL
(LP: #1871240)
* debian/testsuite-xfail-debian.mk: XFAIL stdlib/tst-strtod-round on riscv64
* debian/testsuite-xfail-debian.mk: XFAIL tst-getpw on armhf, too
* debian/watch: Use HTTPS and download xz-compressed tarball
* debian/watch: Use upstream's signing key to verify the tarball
* XFAIL stdlib/tst-getrandom (LP: #1891403)
[ Dimitri John Ledkov ]
* debian/patches/powerpc: Cherrypick upstream patches to support POWER10
optimized library loading. (LP: #1887989)
[ Aurelien Jarno ]
* debian/patches/any/submitted-selinux-deprecations.diff: proposed patch to
ignore the selinux deprecations introduced in libselinux (>= 3.1), fixing
an FTBFS. (Closes: #965941)
-- Balint Reczey <rbalint at ubuntu.com> Thu, 27 Aug 2020 23:36:39 +0200
** Changed in: glibc (Ubuntu)
Status: Invalid => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1871240
Title:
Can't upgrade to Focal on WSL1 due to libc6 postinst
Status in Ubuntu WSL:
In Progress
Status in glibc package in Ubuntu:
Fix Released
Bug description:
When trying to upgrade from Eoan to Focal in a WSL1 environment I got:
"
rafaeldtinoco at lenovo:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
console-setup keyboard-configuration libc-bin libc6-dbg
The following packages will be upgraded:
console-setup keyboard-configuration libc-bin libc6-dbg
4 upgraded, 0 newly installed, 0 to remove and 915 not upgraded.
15 not fully installed or removed.
Need to get 0 B/6,599 kB of archives.
After this operation, 2,348 kB disk space will be freed.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
libkmod: ERROR ../libkmod/libkmod-module.c:1657 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
Setting up libc6:amd64 (2.31-0ubuntu7) ...
Checking for services that may need to be restarted...
Checking init scripts...
Nothing to restart.
sleep: cannot read realtime clock: Invalid argument
dpkg: error processing package libc6:amd64 (--configure):
installed libc6:amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
libc6:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
"
And I could only mitigate that by editing:
/var/lib/dpkg/info/libc6\:amd64.postinst
and commented the line
# set -e
so $ apt-get -f install
could continue.
That happens because wsl does not have ubuntu kernel and directory
structure is different.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntuwsl/+bug/1871240/+subscriptions
More information about the foundations-bugs
mailing list