Windows 10: Update and Upgrade WSL Distro Packages in Windows 10

Discus and support Update and Upgrade WSL Distro Packages in Windows 10 in Windows 10 Tutorials to solve the problem; How to: Update and Upgrade WSL Distro Packages in Windows 10 How to Update and Upgrade Windows Subsystem for Linux (WSL) Distro Packages in Windows 10... Discussion in 'Windows 10 Tutorials' started by Brink, Jun 1, 2018.

  1. Brink Win User

    Update and Upgrade WSL Distro Packages in Windows 10


    How to: Update and Upgrade WSL Distro Packages in Windows 10

    How to Update and Upgrade Windows Subsystem for Linux (WSL) Distro Packages in Windows 10


    The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on Windows, alongside your traditional Windows desktop and modern store apps.

    When you have export and import WSL distros.

    Most WSL distros ship with an empty/minimal package catalog. It is strongly recommend to regularly update your package catalog, and upgrading your installed packages using your distro's preferred package manager.

    Windows 10 does not automatically update or upgrade your Linux distro(s) packages.

    See also: Update & upgrade your distro's packages | Microsoft Docs

    This tutorial will show you how to update and upgrade your Windows Subsystem for Linux (WSL) distro packages in Windows 10.



    Here's How:

    1. Run the WSL distro (ex: "Ubuntu") you want to update and upgrade its packages.

    2. Copy and paste the appropriate command below into the distro's console window, and press Enter. (see screenshot below step 3)
    (For Debian, Ubuntu, and Kali Linux)
    *Arrow sudo apt update && sudo apt upgrade

    OR

    (For "SUSE Linux Enterprise Server 12" or "openSUSE Leap 42")
    *Arrow sudo zypper refresh && sudo zypper update
    3. When prompted, type your UNIX password for the current UNIX username (ex: "brink") for this WSL distro (ex: "Ubuntu"), and press Enter. (see screenshot below)

    Update and Upgrade WSL Distro Packages in Windows 10 [​IMG]

    4. If prompted with Do you want to continue, type y and press Enter. (see screenshot below)

    Update and Upgrade WSL Distro Packages in Windows 10 [​IMG]

    5. When finished updating and upgrading this WSL distro's packages, you can close the console window if you like. (see screenshot below)

    *note It can take a while to finish.

    Update and Upgrade WSL Distro Packages in Windows 10 [​IMG]


    That's it,
    Shawn


    Related Tutorials

    :)
     
    Brink, Jun 1, 2018
    #1

  2. Alternatives to using Windows Store to install Linux distro on WSL

    I just wanted to ask what alternatives there are to using the Windows 10 to install Linux distros on WSL.

    Also, it seems like Ubuntu 19 isn't available for the WSL. Is there a chance that we'll be able to install it when WSL2 is released? And I'd like to get the latest non-LTS version if possible (though it's alright if it's not possible too).
     
    OsmanZakir, Oct 27, 2019
    #2
  3. How to create a WSL package?

    Hi,

    I was reading the "readme" at microsoft/WSL-DistroLauncher

    And it said to "reach out" for help with creating a WSL distro.

    I joined (paid) the developer program. I have searched a bit, and I can't find WSL support.

    Please help.

    Thanks!!!

    Peace
    - John

    *** Email address is removed for privacy ***
     
    harperjohn27, Oct 27, 2019
    #3
  4. Allan Mej Win User

    Update and Upgrade WSL Distro Packages in Windows 10

    How to configure WSL Ubuntu (or any WSL distro) to use a NAT virtual network

    Hi Roger,

    We have a team dedicated to advance Windows 10 setups. Regarding your concern about settings up WSL Ubuntu or any WSL distro for virtual network, we recommend posting to
    Microsoft TechNet forums for Windows 10 virtualization, networking, etc.

    Should you have more concerns, feel free to post.

    Regards.
     
    Allan Mej, Oct 27, 2019
    #4
  5. Brink Win User
    Sideloading Custom Linux Distro to Windows 10 Subsystem for Linux

    Source: Open Sourcing a WSL Sample for Linux Distribution Maintainers and Sideloading Custom Linux Distributions Windows Command Line Tools For Developers
     
    Brink, Oct 27, 2019
    #5
  6. Brink Win User
    Sideloading Custom Linux Distro to Windows 10 Subsystem for Linux


    Source: Open Sourcing a WSL Sample for Linux Distribution Maintainers and Sideloading Custom Linux Distributions Windows Command Line Tools For Developers
     
    Brink, Oct 27, 2019
    #6
Thema:

Update and Upgrade WSL Distro Packages in Windows 10

Loading...
  1. Update and Upgrade WSL Distro Packages in Windows 10 - Similar Threads - Update Upgrade WSL

  2. How to create a WSL package?

    in Microsoft Windows 10 Store
    How to create a WSL package?: Hi, I was reading the "readme" at https://github.com/microsoft/WSL-DistroLauncher And it said to "reach out" for help with creating a WSL distro. I joined (paid) the developer program. I have searched a bit, and I can't find WSL support. Please help. Thanks!!! Peace -...
  3. How to import and export WSL distros on Windows 10

    in Windows 10 News
    How to import and export WSL distros on Windows 10: [ATTACH] [ATTACH]With Windows 10, Microsoft allows a user to run multiple Linux distros based on WSL or Windows Subsystem for Linux. But when reinstalling or resetting Windows 10, all the configuration stored with these WSL distros gets deleted. Or to back [...] This post...
  4. How to add users to WSL Distro (Windows Subsystem for Linux)

    in Windows 10 News
    How to add users to WSL Distro (Windows Subsystem for Linux): [ATTACH] [ATTACH]WSL or Windows Subsystem for Linux for Windows 10 support multiuser capabilities. And when it comes to user management for software, various aspects of software management can be discussed. Adding a user to the Windows Subsystem for Linux on Windows [...]...
  5. List Users in Windows Subsystem for Linux (WSL) Distro in Windows 10

    in Windows 10 Tutorials
    List Users in Windows Subsystem for Linux (WSL) Distro in Windows 10: How to: List Users in Windows Subsystem for Linux (WSL) Distro in Windows 10 How to List Users in Windows Subsystem for Linux (WSL) Distro in Windows 10 The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line...
  6. Add User to Windows Subsystem for Linux (WSL) Distro in Windows 10

    in Windows 10 Tutorials
    Add User to Windows Subsystem for Linux (WSL) Distro in Windows 10: How to: Add User to Windows Subsystem for Linux (WSL) Distro in Windows 10 How to Add User to Windows Subsystem for Linux (WSL) Distro in Windows 10 The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools...
  7. Unregister Windows Subsystem for Linux (WSL) Distro in Windows 10

    in Windows 10 Tutorials
    Unregister Windows Subsystem for Linux (WSL) Distro in Windows 10: How to: Unregister Windows Subsystem for Linux (WSL) Distro in Windows 10 How to Unregister and Reset Windows Subsystem for Linux (WSL) Distro in Windows 10 The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux...
  8. Install Windows Subsystem for Linux (WSL) Distros in Windows 10

    in Windows 10 Tutorials
    Install Windows Subsystem for Linux (WSL) Distros in Windows 10: How to: Install Windows Subsystem for Linux (WSL) Distros in Windows 10 How to Install Windows Subsystem for Linux (WSL) Distros in Windows 10 The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools...
  9. Run Windows Subsystem for Linux (WSL) Distro in Windows 10

    in Windows 10 Tutorials
    Run Windows Subsystem for Linux (WSL) Distro in Windows 10: How to: Run Windows Subsystem for Linux (WSL) Distro in Windows 10 How to Run a Windows Subsystem for Linux (WSL) Distro in Windows 10 The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on...
  10. Set Default Windows Subsystem for Linux (WSL) Distro in Windows 10

    in Windows 10 Tutorials
    Set Default Windows Subsystem for Linux (WSL) Distro in Windows 10: How to: Set Default Windows Subsystem for Linux (WSL) Distro in Windows 10 How to Set Default Windows Subsystem for Linux (WSL) Distro in Windows 10 The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools...