mirror of
https://github.com/not-kennethreitz/wsl-guide.git
synced 2026-06-05 07:06:13 +00:00
ca51820bb7
Additional things that break in WSL include sudo, procps, and strace. Holding them back is sufficient.
21 lines
573 B
ReStructuredText
21 lines
573 B
ReStructuredText
Updating WSL
|
|
============
|
|
|
|
Updating Packages in WSL
|
|
------------------------
|
|
|
|
Because WSL uses a standard Ubuntu installation, upgrading your packages should look very familiar::
|
|
|
|
$ sudo apt-get update
|
|
$ sudo apt-get upgrade
|
|
|
|
Updating the Ubuntu OS
|
|
----------------------
|
|
|
|
You can aso upgrade to the latest version of Ubuntu with the following command (caution, this will take quite some time)!::
|
|
|
|
$ sudo -S apt-mark hold procps strace sudo
|
|
$ sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
|
|
|
|
And, it works, just as expected!
|