小编int*_*ris的帖子

当“wsl --export”失败时,如何在 WSL 中将 ubuntu 18.04 升级到 20.04

我正在尝试按照说明将我的 WSL 1 Ubunutu (18.04) 版本升级到 WSL 2 Ubuntu-20.04,第一步给我一条错误消息,我不知道如何解决。

wsl --set-version ubuntu 
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
Exporting the distribution failed.
bsdtar: Couldn't read link data: I/O error
bsdtar: Error exit delayed from previous errors.
Run Code Online (Sandbox Code Playgroud)

我也尝试过以“正常”的 Ubuntu 方式执行此操作并得到不同的“错误”:

$ lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:    18.04
Codename:   bionic
cfclark@p53:
~
$ sudo apt update

Hit:1 http://ppa.launchpad.net/git-core/ppa/ubuntu …
Run Code Online (Sandbox Code Playgroud)

upgrade windows-subsystem-for-linux

4
推荐指数
1
解决办法
684
查看次数