![]() ![]() 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. I presume that this hang was due to the GUI "Distribution Upgrade" window being unable to accept text input.Note: Reusing some of my answer to this question. Is the former merely sudo apt-get -purge autoremove and sudo apt-get autoclean? I killed the GUI process from the launching terminal, then ran dpkg -configure -a, which seems to continue where I left off, presenting me again with the above query.įrom the GUI, it seemed like there were two more steps: "Cleaning up" and "Restarting the computer". This launch-terminal did not accept input. The default action is to keep your current version. Z : start a shell to examine the situation N or O : keep your currently-installed versionĭ : show the differences between the versions Y or I : install the package maintainer's version What would you like to do about it ? Your options are: => Package distributor has shipped an updated version. => Modified (by you or by a script) since installation. Looking at the terminal from which I launched kubuntu-devel-release-upgrade, I can see Configuration file '/etc/apport/nf' I could no longer scroll the in-built terminal output, and the GUI window appeared to be stuck. ![]() I clicked "OK" (or was it "close"?), and the GUI now was stuck at 45%. A recovery will run now (dpkg -configure -a). Your systemĬould be in an unusable state. A window popped up saying:Ĭould not install the upgrades. When attempting to upgrade using the GUI, it progressed through "Preparing to upgrade", "Setting new software channels" and "Getting new packages", and then stalled on "Installing the upgrades". Is there a purely command-line method for distribution upgrades? Background The recommended way to upgrade Kubuntu versions is using kubuntu-devel-release-upgrade, which opens up a GUI window. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |