Skip to content

brew info --json=v2 adguard returns installed != version yet outdated == false #22853

Description

@balupton

brew doctor output

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed casks are deprecated or disabled.
You should find replacements for the following casks:
  electorrent
  font-ibm-plex

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  icu4c@77
  python@3.9

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  ruby

Warning: The following taps are not trusted:
  amiaopensource/amiaos
  bufbuild/buf
  charmbracelet/tap
  clementtsang/bottom
  dr-emann/tap
  finnvoor/tools
  greymd/tools
  homebrew-ffmpeg/ffmpeg
  lescanauxdiscrets/tap
  owenthereal/upterm
  pkgxdev/made
  powershell/tap
  rsteube/tap
  sandreas/tap
  tabbyml/tabby
  yt-dlp/taps

Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required.
Prefer trusting only the specific formulae, casks or commands you need.
Trust installed formulae from these taps with:
  brew trust --formula amiaopensource/amiaos/decklinksdk
  brew trust --formula charmbracelet/tap/crush
  brew trust --formula dr-emann/tap/applesauce
  brew trust --formula finnvoor/tools/fx-upscale
  brew trust --formula homebrew-ffmpeg/ffmpeg/ffmpeg
  brew trust --formula lescanauxdiscrets/tap/zvbi
  brew trust --formula powershell/tap/powershell
  brew trust --formula rsteube/tap/carapace
  brew trust --formula sandreas/tap/m4b-tool
  brew trust --formula tabbyml/tabby/tabby
Trust other specific casks and commands with:
  brew trust --cask <user>/<tap>/<cask>
  brew trust --command <user>/<tap>/<command>
Whole-tap trust is broader and includes all current and future formulae,
casks and commands from the listed taps. Trust whole taps with:
  brew trust amiaopensource/amiaos bufbuild/buf charmbracelet/tap clementtsang/bottom dr-emann/tap finnvoor/tools greymd/tools homebrew-ffmpeg/ffmpeg lescanauxdiscrets/tap owenthereal/upterm pkgxdev/made powershell/tap rsteube/tap sandreas/tap tabbyml/tabby yt-dlp/taps
Untap them with:
  brew untap amiaopensource/amiaos bufbuild/buf charmbracelet/tap clementtsang/bottom dr-emann/tap finnvoor/tools greymd/tools homebrew-ffmpeg/ffmpeg lescanauxdiscrets/tap owenthereal/upterm pkgxdev/made powershell/tap rsteube/tap sandreas/tap tabbyml/tabby yt-dlp/taps
For more information, see:
  https://docs.brew.sh/Tap-Trust

Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /opt/homebrew/sbin.
Consider setting your PATH for example like so:
  echo 'export PATH="/opt/homebrew/sbin:$PATH"' >> /Users/balupton/.bash_profile

Verification

  • I ran brew update twice and am still able to reproduce my issue.
  • My "brew doctor output" above says Your system is ready to brew or a definitely unrelated Tier message.
  • This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output

HOMEBREW_VERSION: 6.0.3
ORIGIN: https://github.com/Homebrew/brew
HEAD: 5c38c6b3fc42281af432cda526dd0509172f681b
Last commit: 13 hours ago
Branch: stable
Core tap: N/A
Core cask tap: N/A
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DOWNLOAD_CONCURRENCY: 16
HOMEBREW_EDITOR: vim
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_AUTO_UPDATE: set
HOMEBREW_NO_ENV_HINTS: set
HOMEBREW_REQUIRE_TAP_TRUST: set
Homebrew Ruby: 4.0.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/4.0.5_1/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 21.0.0 build 2100
Git: 2.54.0 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 26.5.1-arm64
CLT: 26.5.0.0.1777544298
Xcode: 26.5
Metal Toolchain: N/A
Rosetta 2: false

What were you trying to do (and why)?

programatically discover which packages are outdated and updated

What happened (include all command output)?

brew info --json=v2 adguard:

{
  "formulae": [],
  "casks": [
    {
      "token": "adguard",
      "full_token": "adguard",
      "old_tokens": [],
      "tap": "homebrew/cask",
      "name": [
        "AdGuard"
      ],
      "desc": "Stand alone ad blocker",
      "homepage": "https://adguard.com/",
      "url": "https://static.adguard.com/mac/release/AdGuard-2.18.0.2089.dmg",
      "url_specs": {},
      "version": "2.18.0.2089",
      "autobump": true,
      "no_autobump_message": null,
      "skip_livecheck": false,
      "installed": "2.7.0.1094",
      "installed_time": 1643938459,
      "bundle_version": null,
      "bundle_short_version": null,
      "pinned": false,
      "pinned_version": null,
      "outdated": false,
      "sha256": "d69d8ab59f1d73c867eeeb719262b5658d88680eeb84c9e6e511589c406c033a",
      "artifacts": [
        {
          "uninstall": [
            {
              "launchctl": [
                "com.adguard.mac.adguard.helper",
                "com.adguard.mac.adguard.pac",
                "com.adguard.mac.adguard.tun-helper",
                "com.adguard.mac.adguard.xpcgate2"
              ],
              "quit": "com.adguard.mac.adguard",
              "pkgutil": "com.adguard.mac.adguard-pkg",
              "delete": [
                "/Library/Application Support/AdGuard Software/com.adguard.mac.adguard",
                "/Library/Application Support/com.adguard.Adguard",
                "/Library/com.adguard.mac.adguard.pac"
              ],
              "rmdir": "/Library/Application Support/AdGuard Software"
            }
          ]
        },
        {
          "pkg": [
            "AdGuard.pkg"
          ]
        },
        {
          "zap": [
            {
              "delete": "/Library/Logs/com.adguard.mac.adguard",
              "trash": [
                "~/Library/Application Scripts/*com.adguard.mac*",
                "~/Library/Application Support/Adguard",
                "~/Library/Application Support/com.adguard.*",
                "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.adguard.mac.adguard.loginhelper.sfl*",
                "~/Library/Caches/com.adguard.*",
                "~/Library/Containers/com.adguard.mac.*",
                "~/Library/Cookies/com.adguard.Adguard.binarycookies",
                "~/Library/Group Containers/*.com.adguard.mac",
                "~/Library/HTTPStorages/com.adguard.mac.*",
                "~/Library/Logs/Adguard",
                "~/Library/Preferences/com.adguard.*.plist",
                "~/Library/Saved Application State/com.adguard.mac.adguard.savedState"
              ]
            }
          ]
        }
      ],
      "caveats": null,
      "caveats_rosetta": null,
      "depends_on": {
        "macos": {
          ">=": [
            "12"
          ]
        }
      },
      "conflicts_with": {
        "cask": [
          "adguard@nightly"
        ]
      },
      "container": null,
      "rename": [],
      "auto_updates": true,
      "deprecated": false,
      "deprecation_date": null,
      "deprecation_reason": null,
      "deprecation_replacement_formula": null,
      "deprecation_replacement_cask": null,
      "deprecate_args": null,
      "disabled": false,
      "disable_date": null,
      "disable_reason": null,
      "disable_replacement_formula": null,
      "disable_replacement_cask": null,
      "disable_args": null,
      "tap_git_head": "dc00bb9e2fa411eea7989b81362065df4b7be0f9",
      "languages": [],
      "ruby_source_path": "Casks/a/adguard.rb",
      "ruby_source_checksum": {
        "sha256": "b3072d03ade1361c97fa98af5075f3f5e15aebbcba7349930feaaffcf8b8b250"
      }
    }
  ]
}

What did you expect to happen?

if version (latest version) is not the same as installed (currently installed version) then I would expect outdated to be true - perhaps my assumption here is wrong

Step-by-step reproduction instructions (running brew commands)

see earlier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions