Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

do-release-upgrade runs a bit and then hangs on WSL2

$
0
0

My WSL2 currently has a single distribution - Ubuntu 18.04. I wish to upgrade it in place to the latest and so I ran the steps described in https://www.nextofwindows.com/how-to-upgrade-existing-wsl-wsl2-ubuntu-18-04-to-20-04, namely:

sudo apt updatesudo apt list --upgradablesudo apt upgradesudo apt --purge autoremovesudo apt install update-manager-coresudo do-release-upgrade

For the last step I had to follow the instructions in https://askubuntu.com/a/1296373/611551, namely to link /usr/lib/ssl/cert.pem to /etc/ssl/certs/ca-certificates.crt, but it finally runs, only it fails short afterwards:

Reading cacheChecking package managerReading package lists... DoneBuilding dependency treeReading state information... DoneHit http://archive.ubuntu.com/ubuntu bionic InReleaseHit http://archive.ubuntu.com/ubuntu bionic-updates InReleaseHit http://archive.ubuntu.com/ubuntu bionic-backports InReleaseHit https://download.docker.com/linux/ubuntu bionic InReleaseHit http://security.ubuntu.com/ubuntu bionic-security InReleaseHit https://packages.microsoft.com/ubuntu/18.04/prod bionic InReleaseFetched 0 B in 0s (0 B/s)Reading package lists... DoneBuilding dependency treeReading state information... DoneRestoring original system stateAbortingReading package lists... DoneBuilding dependency treeReading state information... Done=== Command terminated with exit status 1 (Thu Oct  6 16:35:52 2022) ===

And it hangs. At this point I have no choice but aborting it. Retrying does not help.

What am I doing wrong?


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>