Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Three different version numbers are being reported #748

Open
potatopotentate opened this issue Aug 15, 2022 · 2 comments
Open

Three different version numbers are being reported #748

potatopotentate opened this issue Aug 15, 2022 · 2 comments
Assignees

Comments

@potatopotentate
Copy link

potatopotentate commented Aug 15, 2022

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

  1. Run apt-cache policy pengwin-base in a WSL terminal
  2. You'll see output like:
pengwin-base:
  Installed: 1.0-873
  Candidate: 1.0-873
  1. Run grep "PENGWIN_VERSION" /etc/os-release in a WSL terminal
  2. You'll see output like:
PENGWIN_VERSION="22.1.6"
  1. Search for pengwin in the Start Menu, then right-click and open "App settings"
  2. 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:
image

Microsoft Store app page for Pengwin:
image

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 😅 See above.

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
@potatopotentate potatopotentate added the Bug This is a problem. label Aug 15, 2022
@crramirez
Copy link
Collaborator

Hello @potatopotentate ,

Thank you for the detailed explanation. We are going to update the docs to explain the versión scheme.

Regards,
Carlos

@crramirez crramirez self-assigned this Aug 15, 2022
@crramirez crramirez added Documentation and removed Bug This is a problem. labels Aug 15, 2022
@potatopotentate
Copy link
Author

Very nice, looking forward to it and thank you.

@crramirez crramirez moved this to 📋 Backlog in Pengwin Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants