jwise / HoRNDIS

Android USB tethering driver for Mac OS X
Other
3k stars 330 forks source link

Failed to install on 10.15.6 #129

Open leon0707 opened 4 years ago

leon0707 commented 4 years ago
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env LOGNAME=XXX USER=XXX USERNAME=XXX /usr/sbin/installer -pkg /usr/local/Caskroom/horndis/9.2/HoRNDIS-9.2.pkg -target /` exited with 1. Here's the output:
installer: Package name is HoRNDIS
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “HoRNDIS-9.2.pkg”.)

Tried to install via brew cask and the pkg file.

Karatla commented 4 years ago

same error

johndwells commented 4 years ago

FWIW I'm encountering the same error on 10.15.7.

fgardavaud commented 4 years ago

Works on 10.15.6 with SIP disable when installing HoRNDIS. Here we go for the process

Aleph-Design commented 4 years ago

@fgardavaud, Your third step no longer works in my 10.15.7 version. There's simply no Utilities menu available. So there's no terminal and as a consequence no way to issue the command. Does someone know a workaround?

hibobmaster commented 4 years ago

@fgardavaud, Your third step no longer works in my 10.15.7 version. There's simply no Utilities menu available. So there's no terminal and as a consequence no way to issue the command. Does someone know a workaround?

I am using 10.15.7, but i can disable SIP in recovery mode as what @fgardavaud mensions(I have Utilities on menu~). Maybe you have to check your system or ask someone for help

Aleph-Design commented 4 years ago

Thanks for the reply. Which option do you choose when starting in recovery mode? When I choose “disk utility” I have the trouble stated.

Op 24 okt. 2020, om 04:04 heeft hibobmaster notifications@github.com het volgende geschreven:

@fgardavaud https://github.com/fgardavaud, Your third step no longer works in my 10.15.7 version. There's simply no Utilities menu available. So there's no terminal and as a consequence no way to issue the command. Does someone know a workaround?

I am using 10.15.7, but i can disable SIP in recovery mode as what @fgardavaud https://github.com/fgardavaud mensions(I have Utilities on menu~). Maybe you have to check your system or ask someone for help

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jwise/HoRNDIS/issues/129#issuecomment-715656313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGQFEIDCROEMPFX2PO4XSM3SMIY2HANCNFSM4SD5DYNA.

hibobmaster commented 4 years ago

Thanks for the reply. Which option do you choose when starting in recovery mode? When I choose “disk utility” I have the trouble stated. Op 24 okt. 2020, om 04:04 heeft hibobmaster @.***> het volgende geschreven: @fgardavaud https://github.com/fgardavaud, Your third step no longer works in my 10.15.7 version. There's simply no Utilities menu available. So there's no terminal and as a consequence no way to issue the command. Does someone know a workaround? I am using 10.15.7, but i can disable SIP in recovery mode as what @fgardavaud https://github.com/fgardavaud mensions(I have Utilities on menu~). Maybe you have to check your system or ask someone for help — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#129 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGQFEIDCROEMPFX2PO4XSM3SMIY2HANCNFSM4SD5DYNA.

No special options, just normal recovery mode. When you are in recovery mode, the terminal will live in utilities->terminal which is the third option. Okay, if you still not see the terminal option, you can disable SIP in this way. Edit your config.plist in NVRAM->7C436110-AB2A-4BBB-A880-FE41995C9F82->csr-active-config change the value of csr-active-config into E7030000 which can be used to disable SIP in boot process.

baskarangappan commented 4 years ago

Mac Catalina 10.15.7: The same issue was reported long back and it was supposedly fixed in release 9.0. But it is coming again...

==> Downloading https://github.com/jwise/HoRNDIS/releases/download/rel9.2/HoRNDIS-9.2.pkg Already downloaded: /Users/XYZ/Library/Caches/Homebrew/downloads/eabca1a09c01d4ed6d3818d32f50051a3f3071ceba98f6c8fa9704de0284dfcf--HoRNDIS-9.2.pkg ==> Verifying SHA-256 checksum for Cask 'horndis'. ==> Installing Cask horndis ==> Running installer for horndis; your password may be necessary. ==> Package installers may write to any location; options such as --appdir are ignored. installer: Package name is HoRNDIS installer: Upgrading at base path / installer: The upgrade failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “HoRNDIS-9.2.pkg”.) ==> Purging files for version 9.2 of Cask horndis Error: Failure while executing; /usr/bin/sudo -E -- /usr/bin/env LOGNAME=XYZ USER=bangappa USERNAME=XYZ /usr/sbin/installer -pkg /usr/local/Caskroom/horndis/9.2/HoRNDIS-9.2.pkg -target / exited with 1. Here's the output: installer: Package name is HoRNDIS installer: Upgrading at base path / installer: The upgrade failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “HoRNDIS-9.2.pkg”.)

But still, luckily the fixed intermediate version is given by d235j in https://github.com/jwise/HoRNDIS/issues/102#issuecomment-541237232 is still working. Hopefully, that intermediate fix will come into the mainstream with PR. Thanks in advance.