Three different version numbers are being reported
potatopotentate opened this issue · comments
Describe the bug
There seem to be three different notions of "version":
Method of checking | Version |
---|---|
apt-cache policy pengwin-base |
1.0-873 |
grep "PENGWIN_VERSION" /etc/os-release |
22.1.6 |
Windows | 22.3.2.0 |
To Reproduce
- Run
apt-cache policy pengwin-base
in a WSL terminal - You'll see output like:
pengwin-base:
Installed: 1.0-873
Candidate: 1.0-873
- Run
grep "PENGWIN_VERSION" /etc/os-release
in a WSL terminal - You'll see output like:
PENGWIN_VERSION="22.1.6"
- Search for pengwin in the Start Menu, then right-click and open "App settings"
- You'll see details like:
Specifications
Publisher: Whitewater Foundry
Version: 22.3.2.0
Expected behavior
These 3 methods should output the same version, or the docs should explain the difference between them and how to get each one. Currently, the instructions only mention apt-cache policy
which reports the least-relevant version number and it's difficult to know which version of Pengwin is installed.
Screenshots
Pengwin's "App settings" in Windows:
Microsoft Store app page for Pengwin:
Additional context
- Windows 10 64-bit
- Installed via Microsoft Store
Basic Troubleshooting Checklist
[x] I have searched Google for the error message.
[x] I have searched the Pengwin issues page: https://github.com/WhitewaterFoundry/Pengwin/issues.
[x] I have run Windows 10 updates and restarted.
[x] I have restarted WSL service: wsl.exe --terminate WLinux
wsl.exe --shutdown
.
Pengwin Version
Well that's the issue at hand
WSL general info
Release Install Date: Tue Feb 8 15:29:31 AEDT 2022 Branch: vb_release Build: 19044 Full Build: 19041.1.amd64fre.vb_release.191206-1406 Cannot find an overload for "GetEncoding" and the argument count: "0". At line:1 char:59 + ... ing]::UTF8; [Console]::InputEncoding = [System.Text.Encoding]::GetEnc ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodException + FullyQualifiedErrorId : MethodCountCouldNotFindBest Cannot find an overload for "GetEncoding" and the argument count: "0". At line:1 char:59 + ... ing]::UTF8; [Console]::InputEncoding = [System.Text.Encoding]::GetEnc ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodException + FullyQualifiedErrorId : MethodCountCouldNotFindBest Display Scaling: 1.5 Cannot find an overload for "GetEncoding" and the argument count: "0". At line:1 char:59 + ... ing]::UTF8; [Console]::InputEncoding = [System.Text.Encoding]::GetEnc ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodException + FullyQualifiedErrorId : MethodCountCouldNotFindBest Locale (Windows): en_AU Theme (Windows): dark Cannot find an overload for "GetEncoding" and the argument count: "0". At line:1 char:59 + ... ing]::UTF8; [Console]::InputEncoding = [System.Text.Encoding]::GetEnc ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodException + FullyQualifiedErrorId : MethodCountCouldNotFindBest Uptime (Windows): 1d 19h 15m Version (WSL): 2 Uptime (WSL): 0d 8h 19m Release: Pengwin Kernel: Linux 5.10.102.1-microsoft-standard-WSL2 Packages: 985 IPv4 Address: deleted Cannot find an overload for "GetEncoding" and the argument count: "0". At line:1 char:59 + ... ing]::UTF8; [Console]::InputEncoding = [System.Text.Encoding]::GetEnc ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodException + FullyQualifiedErrorId : MethodCountCouldNotFindBest System Type (Windows): Desktop
Hello @potatopotentate ,
Thank you for the detailed explanation. We are going to update the docs to explain the versión scheme.
Regards,
Carlos
Very nice, looking forward to it and thank you.