You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
brew upgrade fails unless run while cd'd into home directory
Expected Behavior
Running brew upgrade should upgrade the cask, regardless of what directory you happen to be in.
Steps to Reproduce
Failed:
(jms1@supermini) 64 ~/git $ brew upgrade
==> Casks with 'auto_updates true' or 'version :latest' will not be upgraded; pass `--greedy` to upgrade them.
==> Upgrading 1 outdated package:
puppetlabs/puppet/puppet-agent 7.15.0 -> 7.16.0
==> Upgrading puppet-agent
==> Downloading https://downloads.puppet.com/mac/puppet/12/x86_64/puppet-agent-7.16.0-1.osx12.dmg
Already downloaded: /Users/jms1/Library/Caches/Homebrew/downloads/e5d59c91cef4bbc108cb53ef1d00f3f8aa0ce2c0af69a388c4ce61b752ef2564--puppet-agent-7.16.0-1.osx12.dmg
==> Removing launchctl service puppet
Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.
rm: puppet: is a directory
==> Purging files for version 7.16.0 of Cask puppet-agent
Error: puppetlabs/puppet/puppet-agent: Failure while executing; `/bin/rm -f -- puppet` exited with 1. Here's the output:
rm: puppet: is a directory
Successful, after cd'ing to home directory
(jms1@supermini) 65 ~/git $ cd
(jms1@supermini) 66 ~ $ brew upgrade
==> Casks with 'auto_updates true' or 'version :latest' will not be upgraded; pass `--greedy` to upgrade them.
==> Upgrading 1 outdated package:
puppetlabs/puppet/puppet-agent 7.15.0 -> 7.16.0
==> Upgrading puppet-agent
==> Downloading https://downloads.puppet.com/mac/puppet/12/x86_64/puppet-agent-7.16.0-1.osx12.dmg
Already downloaded: /Users/jms1/Library/Caches/Homebrew/downloads/e5d59c91cef4bbc108cb53ef1d00f3f8aa0ce2c0af69a388c4ce61b752ef2564--puppet-agent-7.16.0-1.osx12.dmg
==> Removing launchctl service puppet
==> Removing launchctl service pxp-agent
==> Uninstalling packages; your password may be necessary:
com.puppetlabs.puppet-agent
==> Running installer for puppet-agent; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
installer: Package name is puppet-agent
installer: Installing at base path /
installer: The install was successful.
==> Purging files for version 7.15.0 of Cask puppet-agent
🍺 puppet-agent was successfully upgraded!
Environment
macOS 12.3.1
Upgrading puppet-agent cask from 7.15.0 to 7.16.0
Additional Context
Not sure what other information I can/should add, I guess let me know what you need?
The text was updated successfully, but these errors were encountered:
Describe the Bug
brew upgrade
fails unless run whilecd
'd into home directoryExpected Behavior
Running
brew upgrade
should upgrade the cask, regardless of what directory you happen to be in.Steps to Reproduce
Failed:
Successful, after
cd
'ing to home directoryEnvironment
puppet-agent
cask from 7.15.0 to 7.16.0Additional Context
Not sure what other information I can/should add, I guess let me know what you need?
The text was updated successfully, but these errors were encountered: