homebrew: cask drift after an in-app update 0 ▲ ¬ just serendipity 🍀 1 hour ago · Tech · hide · 0 comments ♠ Previously. Problem statement: every brew upgrade died on a cask whose app had upgraded itself years ago. % brew upgrade ==> Upgrading 1 outdated package: 1password 7.9.2 -> 8.12.33 ==> Upgrading 1password 7.9.2 -> 8.12.33 Error: 1password: It seems the App source '/Applications/1Password 7.app' is not there. ==> Purging files for version 8.12.33 of Cask 1password That path stopped existing when 1Password 8 renamed its bundle from 1Password 7.app to 1Password.app. The app had updated itself in place, behind Homebrew’s back: % defaults read /Applications/1Password.app/Contents/Info.plist CFBundleShortVersionString 8.12.30 % brew list --cask --versions 1password 1password 7.9.2 Two disagreeing sources of truth. --adopt looked like the obvious cure, and wasn’t — the stale receipt still routes into the upgrade code path, which still looks for the v7 bundle: % brew install --cask --adopt 1password ==> Upgrading 1password 7.9.2 -> 8.12.33 Error: 1password: It seems the App source… No comments yet. Log in to reply on the Fediverse. Comments will appear here.