packages
packages copied to clipboard
Brew install fails for Github action runners
We use Packages to build our installer with a Github action runner workflow. It appears that the homebrew formulae was updated 3 days ago but is not getting picked up by homebrew. In the output below, you'll note that homebrew still thinks that packages/Packages.pkg
is still an artifact.
Here is a snippet from the workflow:
brew info packages
brew install packages
brew install coreutils
This is the output:
==> packages: 1.2.10 (auto_updates)
http://s.sudre.free.fr/Software/Packages/about.html
Not installed
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/p/packages.rb
==> Name
Packages
==> Description
Integrated packaging environment
==> Artifacts
packages/Packages.pkg (Pkg)
==> Analytics
install: 22[5](https://github.com/Lightspeed-Systems/SmartAgentMac/actions/runs/6341349520/job/17224806176#step:3:5) (30 days), 451 (90 days), 842 (3[6](https://github.com/Lightspeed-Systems/SmartAgentMac/actions/runs/6341349520/job/17224806176#step:3:6)5 days)
==> Downloading http://s.sudre.free.fr/Software/files/Packages.dmg
Warning: No checksum defined for cask 'packages', skipping verification.
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Installing Cask packages
==> Running installer for packages; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
==> Purging files for version 1.2.[10](https://github.com/Lightspeed-Systems/SmartAgentMac/actions/runs/6341349520/job/17224806176#step:3:10) of Cask packages
Error: Could not find PKG source file 'packages/Packages.pkg', found 'Install Packages.pkg' instead.
Error: Process completed with exit code 1.
Hello,
the disk image was updated to fix an issue on macOS Ventura where double-clicking the symbolic link at the root level did not work correctly anymore.
So the actual packages referenced by this symbolic link (i.e. the packages/Packages.pkg regular file) has been moved to the root level of the disk image.
So now, the "Install Packages.pkg" filesystem item at the root of the disk image is no more a symbolic link but a regular file and is exactly the same as the packages/Packages.pkg.
I don't know anything about the brew formulae. I didn't write them or maintain them.
looks like a fix was published here https://github.com/Homebrew/homebrew-cask/commit/fbe40aa1c04b292f4ffbe3ffac8812d04d147aeb