Homebrew / homebrew-cask

🍻 A CLI workflow for the administration of macOS applications distributed as binaries
https://brew.sh
BSD 2-Clause "Simplified" License
20.93k stars 10.71k forks source link

install openvpn-connect make Mac cannot shutdown. #85671

Closed yiheng233 closed 4 years ago

yiheng233 commented 4 years ago

General troubleshooting steps

Description of issue

install openvpn-connect has finished but the Mac can't shutdown.

Command that failed

brew cask upgrade

Output of command with --force --verbose --debug

Updating Homebrew...
==> Casks with `auto_updates` or `version :latest` will not be upgraded
==> Upgrading 1 outdated package:
openvpn-connect 3.2.0,1426 -> 3.2.1,1484
==> Upgrading openvpn-connect
==> Downloading https://swupdate.openvpn.net/downloads/connect/openvpn-connect-3.2.1.1484_signed.dmg
Already downloaded: /Users/yihengzhaotext/Library/Caches/Homebrew/downloads/40a9d8e8a4950b3ff58c4eb9b4a7e3d7d0b160ac78d20916e7e21637727e832f--openvpn-connect-3.2.1.1484_signed.dmg
==> Verifying SHA-256 checksum for Cask 'openvpn-connect'.
==> Removing launchctl service org.openvpn.client
Password:

Output of brew cask doctor

==> Homebrew Version
2.4.5
==> macOS
10.15.6
==> SIP
Enabled
==> Java
14.0.1
==> xattr issues
<NONE>
==> Gatekeeper support
Error: Unknown support status
==> Homebrew Cask Install Location
<NONE>
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3607 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-1.41.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.7.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rexml-3.2.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-6.0.3.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/zeitwerk-2.3.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.7/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.8.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby
/Library/Ruby/Site/2.6.0
/Library/Ruby/Site/2.6.0/universal-darwin19
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/universal-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19
/usr/local/Homebrew/Library/Homebrew
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin"
SHELL="/bin/zsh"

Output of brew tap

homebrew/cask
homebrew/core
homebrew/services
miccal commented 4 years ago
Password:

Did you enter your password as requested here?

yiheng233 commented 4 years ago

yes

yiheng233 commented 4 years ago

I meet this problem when I install any package request password .(such as google-earth-pro and virualbox)

yiheng233 commented 4 years ago

I didn't enter password here, this is a show because when it finished the installation the macOS became damaged.

yiheng233 commented 4 years ago

this is a backup

miccal commented 4 years ago

So, if I understand correctly you enter your password and then nothing happens?

yiheng233 commented 4 years ago

no, the brew say the app has been installed successfully, but when I reboot the system can't shutdown.

miccal commented 4 years ago

Why do you think that your shutdown issue has anything to do with brew or brew cask? Shutdown problems are a common issue with Catalina, I think because of the presence of kext's that will be deprecated in the next version of macOS.

yiheng233 commented 4 years ago

Because I run brew cask then it can't shutdown ,I made a time machine before I run brew cask then I restored the backup then I can shutdown again.(In other words, before I run brew cask the macOS can shutdown but when I run brew cask(which requests password) it can't .)

vitorgalvao commented 4 years ago

Please don’t treat issues like a chat program. Four replies in a row isn’t acceptable; you’re making the problem hard to follow. You’re asking us for help, it should be in your interest to make it easy for us.

Tip: use x in checklists (no spaces inside the brackets) and Github will make them clickable.

No one else is having this issue, and we don’t do anything to prevent shutdowns. If this is happening on every app installation that requires a password, the issue is on your side. If you can somehow connect it to Homebrew Cask, we’ll need exact reproduction steps (or a fix), without each we’re unable to investigate.