Closed andrewcrook closed 2 years ago
==> Removing files:
/Applications/KiCad
/usr/bin/sudo -E -- /usr/bin/xargs -0 -- /bin/rm -r -f --
Password:
XXXX is not in the sudoers file. This incident will be reported.
==> Purging files for version 6.0.7-1 of Cask kicad
Error: kicad: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/xargs -0 -- /bin/rm -r -f --` exited with 1. Here's the output:
XXXX is not in the sudoers file. This incident will be reported.
Your debug output seems to suggest a different problem
@SMillerDev
ahh that’s because I use the SAP Privileges App
timed out removing sudo access. Sorry for the confusion.
I reran the command again with correct privileges I still get the same issue.
It fails to find '/Applications/KiCad.App’ which is correct because it uses a sub folder to store several apps/ aliases.
==> Upgrading 1 outdated package:
kicad 6.0.6-1 -> 6.0.7-1
==> Started upgrade process for Cask kicad
==> Upgrading kicad
==> Printing caveats
==> Cask::Installer#fetch
==> Downloading https://kicad-downloads.s3.cern.ch/osx/stable/kicad-unified-6.0.7-1.dmg
/opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.5.6\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 12.5\)\ curl/7.79.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://kicad-downloads.s3.cern.ch/osx/stable/kicad-unified-6.0.7-1.dmg
Already downloaded: /Users/XXXX/Library/Caches/Homebrew/downloads/89074e2e9fa99bd6c8d2220e8cad089b9b4cd74cf19cbd60907a880cbd4c87a7--kicad-unified-6.0.7-1.dmg
==> Checking quarantine support
/usr/bin/xattr -h
/usr/bin/swift -target arm64-apple-macosx12 /opt/homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/XXXX/Library/Caches/Homebrew/downloads/89074e2e9fa99bd6c8d2220e8cad089b9b4cd74cf19cbd60907a880cbd4c87a7--kicad-unified-6.0.7-1.dmg
/usr/bin/xattr -p com.apple.quarantine /Users/XXXX/Library/Caches/Homebrew/downloads/89074e2e9fa99bd6c8d2220e8cad089b9b4cd74cf19cbd60907a880cbd4c87a7--kicad-unified-6.0.7-1.dmg
==> /Users/XXXX/Library/Caches/Homebrew/downloads/89074e2e9fa99bd6c8d2220e8cad089b9b4cd74cf19cbd60907a880cbd4c87a7--kicad-unified-6.0.7-1.dmg is quarantined
==> Verifying checksum for cask 'kicad'
hdiutil imageinfo -format /Users/XXXX/Library/Caches/Homebrew/downloads/89074e2e9fa99bd6c8d2220e8cad089b9b4cd74cf19cbd60907a880cbd4c87a7--kicad-unified-6.0.7-1.dmg
==> Uninstalling artifacts
==> 4 artifacts defined
#<SortedSet: {#<Cask::Artifact::Uninstall:0x000000014e2188e8 @cask=#<Cask::Cask:0x000000014e980b58 @token="kicad", @sourcefile_path=#<Pathname:/opt/homebrew/Caskroom/kicad/.metadata/6.0.6-1/20220625103751.876/Casks/kicad.rb>, @source="cask \"kicad\" do\n version \"6.0.6-1\"\n sha256 \"c72280be9e5233b85a1f6c9295a4753c9954f5f2f45361d539c806fbe0f05966\"\n\n url \"https://kicad-downloads.s3.cern.ch/osx/stable/kicad-unified-\#{version}.dmg\",\n verified: \"kicad-downloads.s3.cern.ch/\"\n name \"KiCad\"\n desc \"Electronics design automation suite\"\n homepage \"https://kicad.org/\"\n\n livecheck do\n url \"https://kicad-downloads.s3.cern.ch/?delimiter=/&prefix=osx/stable/\"\n regex(/kicad-unified-(\\d+(?:.\\d+)*)\\.dmg/i)\n end\n\n depends_on macos: \">= :catalina\"\n\n suite \"KiCad\"\n artifact \"demos\", target: \"/Library/Application Support/kicad/demos\"\n\n uninstall delete: [\n \"\#{appdir}/KiCad\",\n \"/Library/Application Support/kicad/demos\",\n ]\n\n zap trash: [\n \"/Library/Application Support/kicad\",\n \"~/Library/Application Support/kicad\",\n \"~/Library/Preferences/kicad\",\n \"~/Library/Preferences/org.kicad-pcb.*\",\n ]\nend\n", @tap=nil, @allow_reassignment=false, @block=#<Proc:0x000000014e980a18@/opt/homebrew/Caskroom/kicad/.metadata/6.0.6-1/20220625103751.876/Casks/kicad.rb:1>, @default_config=#<Cask::Config:0x000000014e9809f0 @explicit={}>, @caskroom_path=#<Pathname:/opt/homebrew/Caskroom/kicad>, @metadata_main_container_path=#<Pathname:/opt/homebrew/Caskroom/kicad/.metadata>, @config=#<Cask::Config:0x000000014e989be0 @explicit={}, @default={:languages=>["en-GB"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/XXXX/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/XXXX/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/XXXX/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/XXXX/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/XXXX/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/XXXX/Library/Fonts>, :servicedir=>#<Pathname:/Users/XXXX/Library/Services>, :input_methoddir=>#<Pathname:/Users/XXXX/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/XXXX/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/XXXX/Library/Screen Savers>}, @env={}>, @dsl=#<Cask::DSL:0x000000014e8a08a0 @cask=#<Cask::Cask:0x000000014e980b58 ...>, @token="kicad", @version="6.0.6-1", @sha256=#<Checksum:0x000000014e8b3ef0 @hexdigest="c72280be9e5233b85a1f6c9295a4753c9954f5f2f45361d539c806fbe0f05966">, @url=#<URL::DSL:0x000000014e151ef0 @uri=#<URI::HTTPS https://kicad-downloads.s3.cern.ch/osx/stable/kicad-unified-6.0.6-1.dmg>, @verified="kicad-downloads.s3.cern.ch/", @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:verified=>"kicad-downloads.s3.cern.ch/", :user_agent=>:default}>, @name=["KiCad"], @desc="Electronics design automation suite", @homepage="https://kicad.org/", @livecheck=#<Livecheck:0x000000014e16b080 @package_or_resource=#<Cask::DSL:0x000000014e8a08a0 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/kicad-unified-(\d+(?:.\d+)*)\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://kicad-downloads.s3.cern.ch/?delimiter=/&prefix=osx/stable/">, @livecheckable=true, @depends_on={:macos=>#<MacOSRequirement: version>="10.15" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/opt/homebrew/Caskroom/kicad/6.0.6-1>, @language_eval=nil>>, @directives={:delete=>["/Applications/KiCad", "/Library/Application Support/kicad/demos"], :signal=>[]}>, #<Cask::Artifact::Suite:0x000000014e1706c0 @cask=#<Cask::Cask:0x000000014e980b58 @token="kicad", @sourcefile_path=#<Pathname:/opt/homebrew/Caskroom/kicad/.metadata/6.0.6-1/20220625103751.876/Casks/kicad.rb>, @source="cask \"kicad\" do\n version \"6.0.6-1\"\n sha256 \"c72280be9e5233b85a1f6c9295a4753c9954f5f2f45361d539c806fbe0f05966\"\n\n url \"https://kicad-downloads.s3.cern.ch/osx/stable/kicad-unified-\#{version}.dmg\",\n verified: \"kicad-downloads.s3.cern.ch/\"\n name \"KiCad\"\n desc \"Electronics design automation suite\"\n homepage \"https://kicad.org/\"\n\n livecheck do\n url \"https://kicad-downloads.s3.cern.ch/?delimiter=/&prefix=osx/stable/\"\n regex(/kicad-unified-(\\d+(?:.\\d+)*)\\.dmg/i)\n end\n\n depends_on macos: \">= :catalina\"\n\n suite \"KiCad\"\n artifact \"demos\", target: \"/Library/Application Support/kicad/demos\"\n\n uninstall delete: [\n \"\#{appdir}/KiCad\",\n \"/Library/Application Support/kicad/demos\",\n ]\n\n zap trash: [\n \"/Library/Application Support/kicad\",\n \"~/Library/Application Support/kicad\",\n \"~/Library/Preferences/kicad\",\n \"~/Library/Preferences/org.kicad-pcb.*\",\n ]\nend\n", @tap=nil, @allow_reassignment=false, @block=#<Proc:0x000000014e980a18@/opt/homebrew/Caskroom/kicad/.metadata/6.0.6-1/20220625103751.876/Casks/kicad.rb:1>, @default_config=#<Cask::Config:0x000000014e9809f0 @explicit={}>, @caskroom_path=#<Pathname:/opt/homebrew/Caskroom/kicad>, @metadata_main_container_path=#<Pathname:/opt/homebrew/Caskroom/kicad/.metadata>, @config=#<Cask::Config:0x000000014e989be0 @explicit={}, @default={:languages=>["en-GB"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/XXXX/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/XXXX/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/XXXX/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/XXXX/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/XXXX/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/XXXX/Library/Fonts>, :servicedir=>#<Pathname:/Users/XXXX/Library/Services>, :input_methoddir=>#<Pathname:/Users/XXXX/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/XXXX/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/XXXX/Library/Screen Savers>}, @env={}>, @dsl=#<Cask::DSL:0x000000014e8a08a0 @cask=#<Cask::Cask:0x000000014e980b58 ...>, @token="kicad", @version="6.0.6-1", @sha256=#<Checksum:0x000000014e8b3ef0 @hexdigest="c72280be9e5233b85a1f6c9295a4753c9954f5f2f45361d539c806fbe0f05966">, @url=#<URL::DSL:0x000000014e151ef0 @uri=#<URI::HTTPS https://kicad-downloads.s3.cern.ch/osx/stable/kicad-unified-6.0.6-1.dmg>, @verified="kicad-downloads.s3.cern.ch/", @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:verified=>"kicad-downloads.s3.cern.ch/", :user_agent=>:default}>, @name=["KiCad"], @desc="Electronics design automation suite", @homepage="https://kicad.org/", @livecheck=#<Livecheck:0x000000014e16b080 @package_or_resource=#<Cask::DSL:0x000000014e8a08a0 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/kicad-unified-(\d+(?:.\d+)*)\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://kicad-downloads.s3.cern.ch/?delimiter=/&prefix=osx/stable/">, @livecheckable=true, @depends_on={:macos=>#<MacOSRequirement: version>="10.15" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/opt/homebrew/Caskroom/kicad/6.0.6-1>, @language_eval=nil>>, @source_string="KiCad", @target_string="", @source=#<Pathname:/opt/homebrew/Caskroom/kicad/6.0.6-1/KiCad>, @target=#<Pathname:/Applications/KiCad>>, #<Cask::Artifact::Artifact:0x000000014e1e1488 @cask=#<Cask::Cask:0x000000014e980b58 @token="kicad", @sourcefile_path=#<Pathname:/opt/homebrew/Caskroom/kicad/.metadata/6.0.6-1/20220625103751.876/Casks/kicad.rb>, @source="cask \"kicad\" do\n version \"6.0.6-1\"\n sha256 \"c72280be9e5233b85a1f6c9295a4753c9954f5f2f45361d539c806fbe0f05966\"\n\n url \"https://kicad-downloads.s3.cern.ch/osx/stable/kicad-unified-\#{version}.dmg\",\n verified: \"kicad-downloads.s3.cern.ch/\"\n name \"KiCad\"\n desc \"Electronics design automation suite\"\n homepage \"https://kicad.org/\"\n\n livecheck do\n url \"https://kicad-downloads.s3.cern.ch/?delimiter=/&prefix=osx/stable/\"\n regex(/kicad-unified-(\\d+(?:.\\d+)*)\\.dmg/i)\n end\n\n depends_on macos: \">= :catalina\"\n\n suite \"KiCad\"\n artifact \"demos\", target: \"/Library/Application Support/kicad/demos\"\n\n uninstall delete: [\n \"\#{appdir}/KiCad\",\n \"/Library/Application Support/kicad/demos\",\n ]\n\n zap trash: [\n \"/Library/Application Support/kicad\",\n \"~/Library/Application Support/kicad\",\n \"~/Library/Preferences/kicad\",\n \"~/Library/Preferences/org.kicad-pcb.*\",\n ]\nend\n", @tap=nil, @allow_reassignment=false, @block=#<Proc:0x000000014e980a18@/opt/homebrew/Caskroom/kicad/.metadata/6.0.6-1/20220625103751.876/Casks/kicad.rb:1>, @default_config=#<Cask::Config:0x000000014e9809f0 @explicit={}>, @caskroom_path=#<Pathname:/opt/homebrew/Caskroom/kicad>, @metadata_main_container_path=#<Pathname:/opt/homebrew/Caskroom/kicad/.metadata>, @config=#<Cask::Config:0x000000014e989be0 @explicit={}, @default={:languages=>["en-GB"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/XXXX/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/XXXX/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/XXXX/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/XXXX/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/XXXX/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/XXXX/Library/Fonts>, :servicedir=>#<Pathname:/Users/XXXX/Library/Services>, :input_methoddir=>#<Pathname:/Users/XXXX/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/XXXX/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/XXXX/Library/Screen Savers>}, @env={}>, @dsl=#<Cask::DSL:0x000000014e8a08a0 @cask=#<Cask::Cask:0x000000014e980b58 ...>, @token="kicad", @version="6.0.6-1", @sha256=#<Checksum:0x000000014e8b3ef0 @hexdigest="c72280be9e5233b85a1f6c9295a4753c9954f5f2f45361d539c806fbe0f05966">, @url=#<URL::DSL:0x000000014e151ef0 @uri=#<URI::HTTPS https://kicad-downloads.s3.cern.ch/osx/stable/kicad-unified-6.0.6-1.dmg>, @verified="kicad-downloads.s3.cern.ch/", @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:verified=>"kicad-downloads.s3.cern.ch/", :user_agent=>:default}>, @name=["KiCad"], @desc="Electronics design automation suite", @homepage="https://kicad.org/", @livecheck=#<Livecheck:0x000000014e16b080 @package_or_resource=#<Cask::DSL:0x000000014e8a08a0 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/kicad-unified-(\d+(?:.\d+)*)\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://kicad-downloads.s3.cern.ch/?delimiter=/&prefix=osx/stable/">, @livecheckable=true, @depends_on={:macos=>#<MacOSRequirement: version>="10.15" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/opt/homebrew/Caskroom/kicad/6.0.6-1>, @language_eval=nil>>, @source_string="demos", @target_string="/Library/Application Support/kicad/demos", @source=#<Pathname:/opt/homebrew/Caskroom/kicad/6.0.6-1/demos>, @target=#<Pathname:/Library/Application Support/kicad/demos>>, #<Cask::Artifact::Zap:0x000000014e223860 @cask=#<Cask::Cask:0x000000014e980b58 @token="kicad", @sourcefile_path=#<Pathname:/opt/homebrew/Caskroom/kicad/.metadata/6.0.6-1/20220625103751.876/Casks/kicad.rb>, @source="cask \"kicad\" do\n version \"6.0.6-1\"\n sha256 \"c72280be9e5233b85a1f6c9295a4753c9954f5f2f45361d539c806fbe0f05966\"\n\n url \"https://kicad-downloads.s3.cern.ch/osx/stable/kicad-unified-\#{version}.dmg\",\n verified: \"kicad-downloads.s3.cern.ch/\"\n name \"KiCad\"\n desc \"Electronics design automation suite\"\n homepage \"https://kicad.org/\"\n\n livecheck do\n url \"https://kicad-downloads.s3.cern.ch/?delimiter=/&prefix=osx/stable/\"\n regex(/kicad-unified-(\\d+(?:.\\d+)*)\\.dmg/i)\n end\n\n depends_on macos: \">= :catalina\"\n\n suite \"KiCad\"\n artifact \"demos\", target: \"/Library/Application Support/kicad/demos\"\n\n uninstall delete: [\n \"\#{appdir}/KiCad\",\n \"/Library/Application Support/kicad/demos\",\n ]\n\n zap trash: [\n \"/Library/Application Support/kicad\",\n \"~/Library/Application Support/kicad\",\n \"~/Library/Preferences/kicad\",\n \"~/Library/Preferences/org.kicad-pcb.*\",\n ]\nend\n", @tap=nil, @allow_reassignment=false, @block=#<Proc:0x000000014e980a18@/opt/homebrew/Caskroom/kicad/.metadata/6.0.6-1/20220625103751.876/Casks/kicad.rb:1>, @default_config=#<Cask::Config:0x000000014e9809f0 @explicit={}>, @caskroom_path=#<Pathname:/opt/homebrew/Caskroom/kicad>, @metadata_main_container_path=#<Pathname:/opt/homebrew/Caskroom/kicad/.metadata>, @config=#<Cask::Config:0x000000014e989be0 @explicit={}, @default={:languages=>["en-GB"], :appdir=>#<Pathname:/Applications>, :colorpickerdir=>#<Pathname:/Users/XXXX/Library/ColorPickers>, :prefpanedir=>#<Pathname:/Users/XXXX/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/XXXX/Library/QuickLook>, :mdimporterdir=>#<Pathname:/Users/XXXX/Library/Spotlight>, :dictionarydir=>#<Pathname:/Users/XXXX/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/XXXX/Library/Fonts>, :servicedir=>#<Pathname:/Users/XXXX/Library/Services>, :input_methoddir=>#<Pathname:/Users/XXXX/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/XXXX/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/XXXX/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/XXXX/Library/Screen Savers>}, @env={}>, @dsl=#<Cask::DSL:0x000000014e8a08a0 @cask=#<Cask::Cask:0x000000014e980b58 ...>, @token="kicad", @version="6.0.6-1", @sha256=#<Checksum:0x000000014e8b3ef0 @hexdigest="c72280be9e5233b85a1f6c9295a4753c9954f5f2f45361d539c806fbe0f05966">, @url=#<URL::DSL:0x000000014e151ef0 @uri=#<URI::HTTPS https://kicad-downloads.s3.cern.ch/osx/stable/kicad-unified-6.0.6-1.dmg>, @verified="kicad-downloads.s3.cern.ch/", @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:verified=>"kicad-downloads.s3.cern.ch/", :user_agent=>:default}>, @name=["KiCad"], @desc="Electronics design automation suite", @homepage="https://kicad.org/", @livecheck=#<Livecheck:0x000000014e16b080 @package_or_resource=#<Cask::DSL:0x000000014e8a08a0 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=/kicad-unified-(\d+(?:.\d+)*)\.dmg/i, @skip=false, @skip_msg=nil, @strategy=nil, @url="https://kicad-downloads.s3.cern.ch/?delimiter=/&prefix=osx/stable/">, @livecheckable=true, @depends_on={:macos=>#<MacOSRequirement: version>="10.15" []>}, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/opt/homebrew/Caskroom/kicad/6.0.6-1>, @language_eval=nil>>, @directives={:trash=>["/Library/Application Support/kicad", "~/Library/Application Support/kicad", "~/Library/Preferences/kicad", "~/Library/Preferences/org.kicad-pcb.*"], :signal=>[]}>}>
==> Uninstalling artifact of class Cask::Artifact::Uninstall
==> Removing files:
/Applications/KiCad
/usr/bin/sudo -E -- /usr/bin/xargs -0 -- /bin/rm -r -f --
Password:
/Library/Application Support/kicad/demos
/usr/bin/sudo -E -- /usr/bin/xargs -0 -- /bin/rm -r -f --
==> Post-uninstalling artifact of class Cask::Artifact::Uninstall
==> Uninstalling artifact of class Cask::Artifact::Suite
==> Purging files for version 6.0.7-1 of Cask kicad
Error: kicad: It seems the App Suite source '/Applications/KiCad' is not there.
/opt/homebrew/Library/Homebrew/cask/cmd/upgrade.rb:168:in `upgrade_casks'
/opt/homebrew/Library/Homebrew/cmd/upgrade.rb:216:in `upgrade_outdated_casks'
/opt/homebrew/Library/Homebrew/cmd/upgrade.rb:111:in `upgrade'
/opt/homebrew/Library/Homebrew/brew.rb:93:in `<main>'
In your output there is no reference to kicad.app
though. Only this line, which only mentions the folder:
Error: kicad: It seems the App Suite source '/Applications/KiCad' is not there.
I have reinstalled see if it happens again on next update
@andrewcrook please re-open. I have the same issue on every update of KiCAD.
@cbenhagen I knew there was an issue! Opened
it something to do with the /Applications/KiCad
folder
I believe this is related: https://github.com/Homebrew/homebrew-cask/issues/126832
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
@cbenhagen I seems to be fixed for me now do you still have the issue?
I am going to close the ticket
@pwhack out of interest do you know if the issue was with the cask or brew ?
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
KiCAD CASK fails because it cannot find KiCad.app in Applications this because KiCAD installs multiple Apps/alias into a subfolder under Applications. Currently this issue stops the application from installing.
Command that failed
brew upgrade kiCad
Output of command with
--verbose --debug
Output of
brew doctor --verbose
Output of
brew tap