I have Ubuntu running on my windows 10 box. I'm trying to update openssl to latest. (specifically I need to install 1.1.1m)
This is what I've tried so far:
admin@mymachine:/mnt/c/Users/me$ sudo apt update && sudo apt install openssl[sudo] password for admin:Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]Hit:2 http://archive.ubuntu.com/ubuntu focal InReleaseGet:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1310 kB]Get:6 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [228 kB]Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [9732 B]Get:8 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [799 kB]Get:9 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [114 kB]Get:10 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [681 kB]Get:17 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [122 kB]Get:18 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [909 kB]Get:19 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [202 kB]Get:20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [20.2 kB]Get:21 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [23.8 kB]Get:22 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [580 B]Get:23 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [22.7 kB]Fetched 7726 kB in 8s (910 kB/s)Reading package lists... DoneBuilding dependency treeReading state information... Done14 packages can be upgraded. Run 'apt list --upgradable' to see them.Reading package lists... DoneBuilding dependency treeReading state information... DoneThe following packages will be upgraded: openssl1 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.Need to get 621 kB of archives.After this operation, 1024 B of additional disk space will be used.Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 openssl amd64 1.1.1f-1ubuntu2.11 [621 kB]Fetched 621 kB in 1s (512 kB/s)(Reading database ... 38996 files and directories currently installed.)Preparing to unpack .../openssl_1.1.1f-1ubuntu2.11_amd64.deb ...Unpacking openssl (1.1.1f-1ubuntu2.11) over (1.1.1f-1ubuntu2.10) ...Setting up openssl (1.1.1f-1ubuntu2.11) ...Processing triggers for man-db (2.9.1-1) ...
But as you can see it just set up 1.1.1f again.
admin@mymachine:/mnt/c/Users/me$ opensslOpenSSL> versionOpenSSL 1.1.1f 31 Mar 2020OpenSSL>
This is the version of Ubuntu I have:
admin@mymachine:/mnt/c/Users/me$ cat /etc/os-releaseNAME="Ubuntu"VERSION="20.04.4 LTS (Focal Fossa)"ID=ubuntuID_LIKE=debianPRETTY_NAME="Ubuntu 20.04.4 LTS"VERSION_ID="20.04"HOME_URL="https://www.ubuntu.com/"SUPPORT_URL="https://help.ubuntu.com/"BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"VERSION_CODENAME=focalUBUNTU_CODENAME=focal
I found this article: https://code.luasoftware.com/tutorials/linux/upgrade-openssl-on-ubuntu-20/
But before I dive in, I was wondering if there's another way to do this / if this is the way to go for Windows subsystems.
Please and thanks.
Edit 1
Related to this question would be how I update Ubuntu itself?
I tried this:
admin@mymachine:/mnt/c/Users/me$ do-release-upgradeChecking for a new Ubuntu releaseThere is no development version of an LTS available.To upgrade to the latest non-LTS development releaseset Prompt=normal in /etc/update-manager/release-upgrades.
But it's not clear to me what the difference is between development version and non-LTS development version. Googling but if you have any tips on this approach please feel free to comment.
Thanks!