do-release-upgrade broke WSL

Bug #1725333 reported by Artem Leshchev
112
This bug affects 19 people
Affects Status Importance Assigned to Milestone
GLibC
Fix Released
Medium
Gnu Bash
Fix Released
Unknown
bash (Ubuntu)
Won't Fix
Undecided
Unassigned
glibc (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

I had Ubuntu 17.04 installed in WSL and decided to upgrade it to 17.10, so I had run do-release-upgrade, as I did before to upgrade to 17.04. Everything was fine before script started upgrading packages. It's started from bash updating, and somehow there is a problem revealed that locale files is missing, and locale-gen can't be run (because of bug in WSL). I've tried to install language-pack-en as was suggested, but problem haven't resolved, any attempt to update leads to this error.

ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: bash 4.4-2ubuntu1.1
ProcVersionSignature: Microsoft 4.4.0-43-Microsoft 4.4.35
Uname: Linux 4.4.0-43-Microsoft x86_64
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
Date: Fri Oct 20 18:03:30 2017
Dmesg:

DpkgTerminalLog:
 Preparing to unpack .../bash_4.4-5ubuntu1_amd64.deb ...
 preinst: ../sysdeps/unix/sysv/linux/spawni.c:368: __spawnix: Assertion `ec >= 0' failed.
 dpkg: error processing archive /var/cache/apt/archives/bash_4.4-5ubuntu1_amd64.deb (--unpack):
  subprocess new pre-installation script was killed by signal (Aborted), core dumped
DuplicateSignature:
 package:bash:4.4-2ubuntu1.1
 Preparing to unpack .../bash_4.4-5ubuntu1_amd64.deb ...
 preinst: ../sysdeps/unix/sysv/linux/spawni.c:368: __spawnix: Assertion `ec >= 0' failed.
 dpkg: error processing archive /var/cache/apt/archives/bash_4.4-5ubuntu1_amd64.deb (--unpack):
  subprocess new pre-installation script was killed by signal (Aborted), core dumped
ErrorMessage: subprocess new pre-installation script was killed by signal (Aborted), core dumped
RelatedPackageVersions:
 dpkg 1.18.10ubuntu2
 apt 1.4.6~17.04.1
SourcePackage: bash
Title: package bash 4.4-2ubuntu1.1 failed to install/upgrade: subprocess new pre-installation script was killed by signal (Aborted), core dumped
UpgradeStatus: Upgraded to artful on 2017-10-20 (0 days ago)

Revision history for this message
Artem Leshchev (matshch) wrote :
tags: removed: need-duplicate-check
summary: - do-release-upgrade broked WSL
+ do-release-upgrade broke WSL
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bash (Ubuntu):
status: New → Confirmed
tags: added: id-59ea8773d0c66354e179d305
Changed in gnubash:
status: Unknown → New
Changed in bash (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Please set as fix released only with a fix somewhere, I can't see how and who fixed it

Changed in bash (Ubuntu):
status: Fix Released → New
Revision history for this message
Andrew St Clair (st0ner1995) wrote :

can we get instructions on how to fix our installs? running apt to update and upgrade returns errors and breaks because of the locale issue

Revision history for this message
Caleb Martin (belac1186) wrote :

Where is this fixed? do-release-upgrade still fails with the same error in WSL and breaks it.

Revision history for this message
Andrew St Clair (st0ner1995) wrote :

i dont believe so,

i had to uninstall WSL and reinstall it

from an admin command prompt i ran

`lxrun /uninstall /full`

then

`lxrun /install`

or, if you want the default user to be root without a password

`lxrun /install /y`

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bash (Ubuntu):
status: New → Confirmed
Changed in gnubash:
status: New → Fix Released
Revision history for this message
Peter Würtz (pwuertz) wrote :

This issue was also reported at the WSL GitHub project:
https://github.com/Microsoft/WSL/issues/2615

The reason seems to be a bug in glibc that has been fixed a few months ago:
https://sourceware.org/bugzilla/show_bug.cgi?id=22273

To fix this we need this patch for glibc in 17.10.

Changed in glibc:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glibc (Ubuntu):
status: New → Confirmed
Revision history for this message
Adam Conrad (adconrad) wrote :

17.04 and 17.10 are both EOL and no further updates can or will be made there. For people still attempting to upgrade WSL, the best option is probably just to start fresh with an 18.04 WSL install.

Changed in bash (Ubuntu):
status: Confirmed → Won't Fix
Changed in glibc (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.