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

πŸ› [BUG] mas upgrades to the version that's already installed #501

Closed
1 task done
c10l opened this issue Sep 13, 2023 · 7 comments
Closed
1 task done

πŸ› [BUG] mas upgrades to the version that's already installed #501

c10l opened this issue Sep 13, 2023 · 7 comments

Comments

@c10l
Copy link

c10l commented Sep 13, 2023

Your Environment

  • mas version: 1.8.6
  • macOS version (system_profiler SPSoftwareDataType -detailLevel mini): 10.1...
❯ system_profiler SPSoftwareDataType -detailLevel mini
Software:

    System Software Overview:

      System Version: macOS 13.5.2 (22G91)
      Kernel Version: Darwin 22.6.0
      Time since boot: 5 days, 9 hours, 55 minutes

mas Install Method

  • brew install mas (homebrew-core)
  • [] mas-cli/tap
  • [] .pkg installer from releases
  • [] Built from source
    • Fork/branch: ? (e.g. mas-cli/main)
    • Xcode version: 10.?

Describe the Bug

Steam Link is installed on version 1.2.0.
mas sees updated version 1.3.4 available.
mas "upgrades" it to the old, already installed 1.2.0 version.

❯ mas outdated
1246969117 Steam Link (1.2.0 -> 1.3.4)
❯ mas upgrade
Upgrading 1 outdated application:
Steam Link (1.2.0)

If I uninstall and reinstall, I get 1.3.4 but running upgrade actually downgrades it to 1.2.0.

❯ mas install 1246969117
==> Downloading Steam Link
==> Installed Steam Link
❯ mas info 1246969117
Steam Link 1.3.4 [0.0]
By: Valve Corporation
Released: 2023-09-12
Minimum OS: 11.0
Size: 55.8 MB
From: https://apps.apple.com/gb/app/steam-link/id1246969117?uo=4
❯ mas upgrade
Upgrading 1 outdated application:
Steam Link (1.2.0)
==> Installed Steam Link

To Reproduce

Steps to reproduce the behavior:

  1. Install Steam Link: mas install 1246969117
  2. Run mas upgrade
  3. Observe the downgrade <- second bug above
  4. Run mas upgrade again
  5. Observe it reinstalling the old, already installed 1.2.0 version <- first bug above

Expected Behavior

mas upgrade installs Steam Link 1.3.4, and subsequent upgrades do nothing as it's already latest.

@dogangok
Copy link

dogangok commented Oct 4, 2023

Hi there, I've come across the same bug with Homebrew MAS.
This problem has been going on for years.

I am currently having this problem with two different apps installed. The Wavelength and the Pins app.

It appears to be installing the iOS version instead of the Mac version of certain apps.

Could anyone please assist in resolving this issue? Thanks!

@Tekl
Copy link

Tekl commented Nov 7, 2023

Looks like this is a duplicate of #491 and there's a potential fix at #496.

@kishaningithub
Copy link

The same is happening to me for endel mac app. Simulation steps below.

$ mas list
1346247457  Endel  (4.31.12)

$ mas outdated
1346247457 Endel (4.31.12 -> 4.38.2)

$ mas upgrade
Upgrading 1 outdated application:
Endel (4.31.12)
==> Installed Endel: Focus, Sleep, Relax

$ mas outdated
1346247457 Endel (4.31.12 -> 4.38.2)

@jun6lee
Copy link

jun6lee commented Jan 6, 2024

I see the same with Omnivore (1.38.0)

mas outdated
1564031042 Omnivore (1.38.0 -> 1.41)

@rosstimson
Copy link

I am getting this same issue for Pomodoro timer app Flow:

x mas list | rg Flow
1423210932  Flow                           (2.14.1)

$ mas outdated
1423210932 Flow (2.14.1 -> 3.3.1)

After reading through #496 mentioned above I've confirmed that version 3.3.1 here is indeed the latest iOS version, the version I have 2.14.1 is the latest macOS version.

@chrisgrieser
Copy link

same issue, but for me it only occurs for Highlights.
Pasted image 2024-01-16 at 23 22 59@2x

@rgoldberg
Copy link
Contributor

Closing as a duplicate of #491. PR #496 fixed the issue. It will be released in the upcoming version 1.8.7, which is currently in beta.

If you think this issue is different than #491, please let us know.

@rgoldberg rgoldberg closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants