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

lorri self-upgrade sets inaccurate lorri version number 0.1.0? #93

Open
peterbecich opened this issue Nov 7, 2022 · 0 comments
Open

Comments

@peterbecich
Copy link

Describe the bug
I had lorri 1.5.0 installed. Then, lorri self-upgrade:

replacing old 'lorri-1.5.0'
installing 'lorri'
building '/nix/store/fzai4pbd1a5iyvv98fy3gq78y33c6xif-user-e
Nov 06 22:48:22.192 INFO upgrade successful

Now the version appears to be 0.1.0:

lorri -V                        
lorri 0.1.0

I see this command installs the rolling release:

USAGE:
    lorri self-upgrade [SUBCOMMAND]

...
    rolling-release    Upgrade to the current rolling-release version, will be fetched from git and built locally.
                       rolling-release is expected to be more stable than master. (default)

Has it actually installed a version newer than 1.5.0, but the -V is inaccurate?
Has it actually installed a very old version 0.1.0?

The location of lorri 1.5.0 and lorri 0.1.0 is identical. I have verified this by re-installing 1.5.0 with nix-env -iA nixpkgs.lorri. Both versions are located at:

/home/peterbecich/.nix-profile/bin/lorri

To Reproduce
Steps to reproduce the behavior:

Repeated lorri self-upgrade re-installs lorri, and the version is always 0.1.0. I doubt it is important to start from lorri 1.5.0.

Expected behavior

After lorri self-upgrade from version 1.5.0, lorri -V would print some version >= 1.5.0

Metadata
There is no lorri project to print here. I am only trying to install the latest version of lorri, or verify the latest version is already installed.

$ uname -a
Linux neptune 5.16.0-0.bpo.4-amd64 #1 SMP PREEMPT Debian 5.16.12-1~bpo11+1 (2022-03-08) x86_64 GNU/Linux

Additional context
Using Nix on Debian

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant