(Site note: Credit and thanks to u/zoredache on Reddit who originally clarified this for me.) So what's the point?Īnyway, the upgrade of the Store package is pretty useless for most users unless you: Otherwise, you'd be competing between the "Store" upgraded packages and those from the repo.
#MICROSOFT AUTOUPDATE PASSWORD HOW TO#
Note that this does not include the kernel - See below for how to do that.Īs I think you can see from your question, this is a good thing. You still need to run sudo apt update & sudo apt upgrade -y (or equivalent) to update the packages on a regular basis. It does not automatically update any of the packages in your instance. It does not change your installed instance. When there's a new update of the app on the Store, the only thing that gets updated on your system is the rootfs package. What does an "automatic upgrade" of the Store app really do? When run for the first time (via ubuntu.exe), the installer creates your actual WSL instance in your %UserProfile%\AppData\Local\Packages\CanonicalGroup. You can see this by starting an Administrative PowerShell and running Get-ChildItem -Recurse 'C:\Program Files\WindowsApps\Canonical*' | Where-Object. This is actually where the Linux kernel is installed, since it is shared between all installed WSL2 distributions/instances.Īn "app package" with a rootfs package ( ) in C:\Program Files\WindowsApps\CanonicalGroup. WSL itself, of course, as a prerequisite. This is a bit difficult to explain, but when you install "Ubuntu" (no version) from the Store, you actually end up with three different "installations":
It took me a bit to get used to this concept myself. Yes, "Ubuntu" (without a version number) in the Store "automatically updates", but that probably doesn't mean what you think it means. The "automatic upgrade" part of the Store app is more than a bit confusing.
There's enough of a difference in the question to require a few changes, but some of the core concepts are the same. Note: Reusing some of my answer to this question.