mas icon indicating copy to clipboard operation
mas copied to clipboard

`upgrade`: `Error: Download failed: An unexpected error occurred while moving files to the final destination.`

Open brokosz opened this issue 3 years ago • 9 comments

Your Environment

  • mas version: 1.8.6
  • macOS version (system_profiler SPSoftwareDataType -detailLevel mini): 13.0.1 (22A400)

mas Install Method

  • [x] 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

Error: Download failed: An unexpected error occurred while moving files to the final destination.

Consistently getting the above error when running mas upgrade. Started post-Ventura upgrade on my m1 mbp.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Terminal
  2. Run mas upgrade
  3. See error

Screenshots, Terminal Output

If applicable, add screenshots to help explain your problem.

$ mas upgrade
Upgrading 3 outdated applications:
TestFlight (3.2.2), Flighty (2.5.1), Prime Video (9.22)
==> Downloading TestFlight
==> Downloading Flighty – Fast Flight Tracker
==> Installed Flighty – Fast Flight Tracker
==> Downloading Amazon Prime Video
==> Installed Amazon Prime Video
Error: Download failed: An unexpected error occurred while moving files to the final destination.

Additional Context

It's strange that several apps will (re)install properly, but the final app on the list will get this. Doesn't matter if it's one app or four, whichever app is last will throw the above error.

brokosz avatar Nov 15 '22 03:11 brokosz

Any update on how to fix this issue? Getting the same thing.

isadon avatar Apr 18 '23 15:04 isadon

I have the bug with Testflight as well

YDA93 avatar Jul 03 '23 18:07 YDA93

I have the bug with Testflight as well

scottpeterson avatar Sep 10 '23 03:09 scottpeterson

got same issue for Testflight app.

❯ system_profiler SPSoftwareDataType -detailLevel mini
Software:

    System Software Overview:

      System Version: macOS 13.6 (22G120)
      Kernel Version: Darwin 22.6.0
      Time since boot: 1 day, 14 hours, 32 minutes


~
❯ mas version
1.8.6

mr-pinzhang avatar Oct 12 '23 07:10 mr-pinzhang