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

Scoop update is (again) broken for firefox-developer #4244

Closed
LoZeno opened this issue Jan 27, 2021 · 1 comment
Closed

Scoop update is (again) broken for firefox-developer #4244

LoZeno opened this issue Jan 27, 2021 · 1 comment

Comments

@LoZeno
Copy link

LoZeno commented Jan 27, 2021

Steps to reproduce:

> scoop bucket add extras
> scoop install firefox-developer@86.0b1

At this point, if you execute scoop info firefox-developer you get the following:

> scoop info firefox-developer
Name: firefox-developer
Description: Developer builds of Firefox: the popular open source web browser.
**Version: 86.0b1 (Update to 86.0b2 available)**
Website: https://www.mozilla.org/en-US/firefox/developer/
License: MPL-2.0 (https://spdx.org/licenses/MPL-2.0.html)
Manifest:
  C:\Users\user\scoop\buckets\extras\bucket\firefox-developer.json
Installed:
  C:\Users\user\scoop\apps\firefox-developer\86.0b1
Binaries:
  firefox-dev.exe firefox-developer.exe

emphasis shows that an update is available.
But if you try to update:

❯ scoop update firefox-developer
firefox-developer: 86.0b1 (latest version)
Latest versions for all apps are installed! For more information try 'scoop status'

Only way to update is to force the update:

❯ scoop update firefox-developer --force
firefox-developer: 86.0b1 -> 86.0b2
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
Updating one outdated app:
Updating 'firefox-developer' (86.0b1 -> 86.0b2)
Downloading new version
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: bab553|OK  |    14MiB/s|C:/Users/user/scoop/cache/firefox-developer#86.0b2#https_archive.mozilla.org_pub_devedition_releases_86.0b2_win64_en-US_Firefox_20Setup_2086.0b2.exe_dl.7z
Download: Status Legend:
Download: (OK):download completed.
Checking hash of Firefox%20Setup%2086.0b2.exe ... ok.
Uninstalling 'firefox-developer' (86.0b1)
Removing shim for 'firefox-dev'.
Removing shim for 'firefox-developer'.
Unlinking ~\scoop\apps\firefox-developer\current
Installing 'firefox-developer' (86.0b2) [64bit]
Loading Firefox%20Setup%2086.0b2.exe from cache.
Extracting dl.7z ... done.
Linking ~\scoop\apps\firefox-developer\current => ~\scoop\apps\firefox-developer\86.0b2
Creating shim for 'firefox-dev'.
Creating shim for 'firefox-developer'.
Creating shortcut for Firefox Developer Edition (firefox.exe)
'firefox-developer' (86.0b2) was installed successfully!

BUT, one needs to be carefull not to use the cleanup command, or it will remove the CURRENT version (86.0b2) instead of the old version (86.0b1):

❯ scoop cleanup firefox-developer
Removing firefox-developer: 86.0b2

This problem comes back ciclically with firefox-developer, all the changes made to how scoop reads the version number keep messing up with how firefox-developer versions its packages.

@rashil2000
Copy link
Member

Fixed in master

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

2 participants