Open GGitR opened 6 years ago
Delete /tmp/update.pkg if exists, and I need a more information. Use --verbose
option.
cd /tmp; curl -s -o NightPatch.zip https://codeload.github.com/pookjw/NightPatch/zip/master; unzip -o -qq NightPatch.zip; cd NightPatch-master; chmod +x NightPatch.sh; ./NightPatch.sh --fix --verbose
Hi Kim,
Thanks for getting back to me so quickly!
I searched my machine for update.pkg, but did not find it, so there was nothing to delete.
I ran the command as you said, and this is what I get:
cd /tmp; curl -s -o NightPatch.zip https://codeload.github.com/pookjw/NightPatch/zip/master; unzip -o -qq NightPatch.zip; cd NightPatch-master; chmod +x NightPatch.sh; ./NightPatch.sh --fix --verbose
TOOL_VERSION=215 SYSTEM_BUILD=17A405 SYSTEM_VERSION=10.13 TOOL_MODE=fix VERBOSE=YES SKIP_CHECK_SYSTEM=NO
Password:
Downloading pbzx-master... (https://github.com/NiklasRosenstein/pbzx)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17293 0 17293 0 0 63601 0 --:--:-- --:--:-- --:--:-- 63577
Archive: /tmp/NightPatch-tmp/pbzx-master.zip
2a4d7c3300c826d918def713a24d25c237c8ed53
creating: /tmp/NightPatch-tmp/pbzx-master/
inflating: /tmp/NightPatch-tmp/pbzx-master/.gitignore
inflating: /tmp/NightPatch-tmp/pbzx-master/LICENSE
inflating: /tmp/NightPatch-tmp/pbzx-master/README.md
inflating: /tmp/NightPatch-tmp/pbzx-master/pbzx.c
Compiling pbzx...
Currently enrolled in: (null)
Program: 0
Build is seed: NO
CatalogURL: (null)
NSShowFeedbackMenu: NO
DisableSeedOptOut: NO
ASSET_CATALOG_URL=(null)
Downloading catalog...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 848 0 848 0 0 4505 0 --:--:-- --:--:-- --:--:-- 4510
Parsing catalog...
gunzip: /tmp/NightPatch-tmp/assets.sucatalog.gz: not in gzip format
cat: /tmp/NightPatch-tmp/assets.sucatalog: No such file or directory
PACKAGE_URL_1=
PACKAGE_URL_2=
Downloading update file...
curl: (3)
Program: 0
Build is seed: NO
CatalogURL: (null)
NSShowFeedbackMenu: NO
DisableSeedOptOut: NO
ASSET_CATALOG_URL=(null)
Downloading catalog...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 848 0 848 0 0 6807 0 --:--:-- --:--:-- --:--:-- 6838
Parsing catalog...
gunzip: /tmp/NightPatch-tmp/assets.sucatalog.gz: not in gzip format
cat: /tmp/NightPatch-tmp/assets.sucatalog: No such file or directory
PACKAGE_URL_1=
PACKAGE_URL_2=
Downloading update file...
curl: (3)
On Oct 14, 2017, at 9:54 PM, Kim Jinwoo notifications@github.com wrote:
cd /tmp; curl -s -o NightPatch.zip https://codeload.github.com/pookjw/NightPatch/zip/master https://codeload.github.com/pookjw/NightPatch/zip/master; unzip -o -qq NightPatch.zip; cd NightPatch-master; chmod +x NightPatch.sh; ./NightPatch.sh --fix --verbose
ok fixed that bug in https://github.com/pookjw/NightPatch/commit/5b8364402cbc090111e3ad8312c528f765cd07cc
Could you try it one more again?
I think that did it. It's sloooooowly downloading the file now. Thank you!
I ran the following command:
cd /tmp; curl -s -o NightPatch.zip https://codeload.github.com/pookjw/NightPatch/zip/master; unzip -o -qq NightPatch.zip; cd NightPatch-master; chmod +x NightPatch.sh; ./NightPatch.sh --fix
I receive the following error:
Downloading pbzx-master... (https://github.com/NiklasRosenstein/pbzx) ######################################################################## 100.0% Compiling pbzx... Downloading catalog... ######################################################################## 100.0% Parsing catalog... gunzip: /tmp/NightPatch-tmp/assets.sucatalog.gz: not in gzip format cat: /tmp/NightPatch-tmp/assets.sucatalog: No such file or directory Downloading update file... curl: (3) malformed
Extracting... (1)
Could not open package for expansion: /tmp/update.pkg
./NightPatch.sh: line 231: cd: /tmp/NightPatch-tmp/1: No such file or directory
ERROR : Failed to extract pkg file. Re-downloading...
Downloading catalog...
######################################################################## 100.0%
Parsing catalog...
gunzip: /tmp/NightPatch-tmp/assets.sucatalog.gz: not in gzip format
cat: /tmp/NightPatch-tmp/assets.sucatalog: No such file or directory
Downloading update file...
curl: (3) malformed
Extracting... (1)
Could not open package for expansion: /tmp/update.pkg
./NightPatch.sh: line 231: cd: /tmp/NightPatch-tmp/1: No such file or directory
ERROR : Failed to extract pkg file. Re-downloading...
ERROR : Failed to unpack update file.