Yikes, that didn't go as well as I'd hoped.
First attempt...
Code: Select all
admin@Ossus Public]# ./sherpa.sh --upgrade sick --debug
dbug: (vv) $_show_debugging_flag [true]
note: An upgraded package is available for SickChill
dbug: (vv) $_log_to_file_flag [true]
dbug: (II) ============================================================================
dbug: (**) SCRIPT: started: Wed Sep 16 21:57:23 EST 2020
dbug: (**) SCRIPT: version: manager: 200916, loader 200905
dbug: (**) SCRIPT: PID: 30425
dbug: (II) ----------------------------------------------------------------------------
dbug: (II) Markers: (**) detected, (II) information, (WW) warning, (LL) log file,
dbug: (II) (EE) error, (==) processing, (--) done, (>>) f entry, (<<) f exit,
dbug: (II) (vv) variable name & value, ($1) positional argument value.
dbug: (II) ----------------------------------------------------------------------------
dbug: (**) HARDWARE: model: TS-869L
dbug: (**) HARDWARE: RAM: 3072244 kB
dbug: (**) FIRMWARE: firmware version: 4.3.4
dbug: (**) FIRMWARE: firmware build: 20200821
dbug: (**) FIRMWARE: kernel: 3.4.6 x86_64
dbug: (**) USERSPACE: OS uptime: 5 days
dbug: (**) USERSPACE: system load: 1 min=0.11, 5 min=0.14, 15 min=0.19
dbug: (**) USERSPACE: $USER: admin
dbug: (**) USERSPACE: $EUID: 0
dbug: (**) USERSPACE: default volume: /share/CACHEDEV2_DATA
dbug: (**) USERSPACE: $PATH: /opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr
dbug: (**) USERSPACE: /opt: /share/CACHEDEV2_DATA/.qpkg/Entware
dbug: (**) USERSPACE: Python 3 path: /opt/bin/python3
dbug: (**) USERSPACE: Python 3 version: Python 3.8.3
dbug: (**) USERSPACE: /share/Download: CACHEDEV2_DATA/Download
dbug: (**) SCRIPT: unparsed arguments: --upgrade sick --debug
dbug: (**) QPKG: Entware installer: std
dbug: (II) requested QPKGs: SickChill
dbug: (==) finding QPKG dependencies ...
dbug: (--) complete
dbug: (II) found all QPKG dependencies in 2 iterations
dbug: (II) QPKGs requested + dependencies: Entware SickChill
dbug: (==) excluding QPKGs already installed ...
dbug: (--) complete
dbug: (II) QPKGs required: SickChill
dbug: (II) ----------------------------------------------------------------------------
dbug: (**) SCRIPT: install:
dbug: (**) SCRIPT: uninstall:
dbug: (**) SCRIPT: reinstall:
dbug: (**) SCRIPT: restart:
dbug: (**) SCRIPT: upgrade: SickChill
dbug: (**) SCRIPT: backup:
dbug: (**) SCRIPT: restore:
dbug: (**) SCRIPT: status:
dbug: (II) ----------------------------------------------------------------------------
dbug: (**) SCRIPT: download: SickChill
dbug: (**) QPKG: download path: /share/Public/sherpa.tmp/qpkg.downloads
dbug: (**) IPKG: download path: /share/Public/sherpa.tmp/ipkg.downloads
dbug: (**) QPKG: arch: x64
dbug: (II) ----------------------------------------------------------------------------
dbug: (>>) QPKGs.Download()
proc: downloading QPKG (SickChill_200916.qpkg) ...
tee: /dev/fd/5: No such file or directory
dbug: (vv) $_script_abort_flag [true]
dbug: (vv) $_script_error_flag [true]
fail: Download failed (/share/Public/sherpa.tmp/qpkg.downloads/SickChill_200916.qpkg) [1]
dbug: (LL) ----------------------------------------------------------------------------
dbug: (LL) /share/Public/sherpa.tmp/qpkg.downloads/SickChill_200916.qpkg.download.log
dbug: (LL) ----------------------------------------------------------------------------
dbug: (LL) = command: '/sbin/curl --output /share/Public/sherpa.tmp/qpkg.downloads/SickChill_200916.qpkg https://raw.githubusercontent.com/OneCDOnly/sherpa/master/QPKGs/SickChill/build/SickChill_200916.qpkg'
dbug: (LL) ! result: [1] / / / / / stdout begins below \ \ \ \ \
dbug: (LL) % Total % Received % Xferd Average Speed Time Time Time Current
dbug: (LL) Dload Upload Total Spent Left Speed
100 61830 100 61830 0 0 121k 0 --:--:-- --:--:-- --:--:-- 128k
dbug: (LL) = \ \ \ \ \ stdout is complete / / / / /
dbug: (LL) ----------------------------------------------------------------------------
dbug: (<<) QPKGs.Download() [0]
dbug: (II) ----------------------------------------------------------------------------
dbug: (**) SCRIPT: finished: Wed Sep 16 21:57:26 EST 2020
dbug: (**) SCRIPT: elapsed time: 00h:00m:04s
dbug: (II) ============================================================================
Whoops! SickChill was still running and I stupidly assumed that Sherpa would check for that and shut it down before attempting an upgrade.
Let's try again...
Code: Select all
[admin@Ossus Public]# /etc/init.d/sickchill.sh status
daemon: NOT active
disabling QPKG icon: OK
[admin@Ossus Public]# ./sherpa.sh --upgrade sick --debug
dbug: (vv) $_show_debugging_flag [true]
note: An upgraded package is available for SickChill
dbug: (vv) $_log_to_file_flag [true]
dbug: (II) ============================================================================
dbug: (**) SCRIPT: started: Wed Sep 16 22:02:40 EST 2020
dbug: (**) SCRIPT: version: manager: 200916, loader 200905
dbug: (**) SCRIPT: PID: 3305
dbug: (II) ----------------------------------------------------------------------------
dbug: (II) Markers: (**) detected, (II) information, (WW) warning, (LL) log file,
dbug: (II) (EE) error, (==) processing, (--) done, (>>) f entry, (<<) f exit,
dbug: (II) (vv) variable name & value, ($1) positional argument value.
dbug: (II) ----------------------------------------------------------------------------
dbug: (**) HARDWARE: model: TS-869L
dbug: (**) HARDWARE: RAM: 3072244 kB
dbug: (**) FIRMWARE: firmware version: 4.3.4
dbug: (**) FIRMWARE: firmware build: 20200821
dbug: (**) FIRMWARE: kernel: 3.4.6 x86_64
dbug: (**) USERSPACE: OS uptime: 5 days
dbug: (**) USERSPACE: system load: 1 min=0.09, 5 min=0.18, 15 min=0.20
dbug: (**) USERSPACE: $USER: admin
dbug: (**) USERSPACE: $EUID: 0
dbug: (**) USERSPACE: default volume: /share/CACHEDEV2_DATA
dbug: (**) USERSPACE: $PATH: /opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr
dbug: (**) USERSPACE: /opt: /share/CACHEDEV2_DATA/.qpkg/Entware
dbug: (**) USERSPACE: Python 3 path: /opt/bin/python3
dbug: (**) USERSPACE: Python 3 version: Python 3.8.3
dbug: (**) USERSPACE: /share/Download: CACHEDEV2_DATA/Download
dbug: (**) SCRIPT: unparsed arguments: --upgrade sick --debug
dbug: (**) QPKG: Entware installer: std
dbug: (II) requested QPKGs: SickChill
dbug: (==) finding QPKG dependencies ...
dbug: (--) complete
dbug: (II) found all QPKG dependencies in 2 iterations
dbug: (II) QPKGs requested + dependencies: Entware SickChill
dbug: (==) excluding QPKGs already installed ...
dbug: (--) complete
dbug: (II) QPKGs required: SickChill
dbug: (II) ----------------------------------------------------------------------------
dbug: (**) SCRIPT: install:
dbug: (**) SCRIPT: uninstall:
dbug: (**) SCRIPT: reinstall:
dbug: (**) SCRIPT: restart:
dbug: (**) SCRIPT: upgrade: SickChill
dbug: (**) SCRIPT: backup:
dbug: (**) SCRIPT: restore:
dbug: (**) SCRIPT: status:
dbug: (II) ----------------------------------------------------------------------------
dbug: (**) SCRIPT: download: SickChill
dbug: (**) QPKG: download path: /share/Public/sherpa.tmp/qpkg.downloads
dbug: (**) IPKG: download path: /share/Public/sherpa.tmp/ipkg.downloads
dbug: (**) QPKG: arch: x64
dbug: (II) ----------------------------------------------------------------------------
dbug: (>>) QPKGs.Download()
dbug: (II) existing QPKG checksum correct (SickChill_200916.qpkg)
dbug: (<<) QPKGs.Download() [0]
dbug: (>>) QPKGs.Independents.Install()
dbug: (II) patch: do the "opt shuffle" - already done
proc: updating 'Entware' package list ...
done: updated 'Entware' package list
dbug: (>>) InstallIPKGBatch()
proc: determining IPKGs required ...
dbug: (II) IPKGs requested: ca-certificates findutils gcc git git-http less nano python3-dev python3-pip python3-setuptools sed
dbug: (==) finding IPKG dependencies ...
dbug: (--) complete
dbug: (II) found all IPKG dependencies in 13 iterations
dbug: (II) IPKGs requested + dependencies: ar binutils ca-bundle ca-certificates ca-certs file findutils gcc git git-http less libbfd libbz2 libc libctf libcurl libdb47 libexpat libffi libgcc libgdbm libiconv-full libintl-full liblzma libmagic libncurses libncursesw libopcodes libopenssl libpcre libpthread librt libsqlite3 libssp libstdcpp libtirpc libuuid libxml2 nano objdump python-pip-conf python3 python3-asyncio python3-base python3-cgi python3-cgitb python3-codecs python3-ctypes python3-dbm python3-decimal python3-dev python3-distutils python3-email python3-gdbm python3-lib2to3 python3-light python3-logging python3-lzma python3-multiprocessing python3-ncurses python3-openssl python3-pip python3-pkg-resources python3-pydoc python3-setuptools python3-sqlite3 python3-unittest python3-urllib python3-xml sed terminfo zlib
dbug: (**) STAGE: elapsed time: 00h:00m:03s
dbug: (II) ----------------------------------------------------------------------------
dbug: (==) excluding IPKGs already installed ...
dbug: (--) complete
dbug: (II) IPKGs to download: libctf
dbug: (==) determining size of IPKG to download ...
dbug: (--) complete
dbug: (vv) $IPKG_download_size [101133]
done: 1 IPKG (101kB) to be downloaded
proc: downloading & installing 1 IPKG ...
done: downloaded & installed 1 IPKG
dbug: (**) STAGE: elapsed time: 00h:00m:04s
dbug: (II) ----------------------------------------------------------------------------
dbug: (<<) InstallIPKGBatch() [0]
dbug: (>>) InstallPy3Modules()
proc: downloading & installing 'Python 3' modules - this may take a while ...
dbug: (vv) $_script_abort_flag [true]
dbug: (vv) $_script_error_flag [true]
fail: Download & install 'Python 3' modules failed ! result: [1]
dbug: (LL) ----------------------------------------------------------------------------
dbug: (LL) /share/Public/sherpa.tmp/py3-modules.install.log
dbug: (LL) ----------------------------------------------------------------------------
dbug: (LL) = command: '/opt/bin/pip3 install apscheduler beautifulsoup4 cfscrape cheetah3 "cheroot!=8.4.4" cherrypy configobj "feedparser==5.2.1" portend pygithub python-magic random_user_agent sabyenc3 simplejson slugify --disable-pip-version-check --cache-dir /share/Public/sherpa.tmp/pip.cache && /opt/bin/pip3 install --force-reinstall --ignore-installed --no-binary :all: sabyenc3 --disable-pip-version-check --cache-dir /share/Public/sherpa.tmp/pip.cache'
dbug: (LL) ! result: [1] / / / / / stdout begins below \ \ \ \ \
dbug: (LL) Requirement already satisfied: apscheduler in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (3.6.3)
dbug: (LL) Requirement already satisfied: beautifulsoup4 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (4.9.1)
dbug: (LL) Requirement already satisfied: cfscrape in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (2.1.1)
dbug: (LL) Requirement already satisfied: cheetah3 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (3.2.5)
dbug: (LL) Requirement already satisfied: cheroot!=8.4.4 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (8.4.5)
dbug: (LL) Requirement already satisfied: cherrypy in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (18.6.0)
dbug: (LL) Requirement already satisfied: configobj in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (5.0.6)
dbug: (LL) Requirement already satisfied: feedparser==5.2.1 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (5.2.1)
dbug: (LL) Requirement already satisfied: portend in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (2.6)
dbug: (LL) Requirement already satisfied: pygithub in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (1.53)
dbug: (LL) Requirement already satisfied: python-magic in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (0.4.18)
dbug: (LL) Requirement already satisfied: random_user_agent in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (1.0.1)
dbug: (LL) Requirement already satisfied: sabyenc3 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (4.0.2)
dbug: (LL) Requirement already satisfied: simplejson in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (3.17.2)
dbug: (LL) Requirement already satisfied: slugify in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (0.0.1)
dbug: (LL) Requirement already satisfied: setuptools>=0.7 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from apscheduler) (41.2.0)
dbug: (LL) Requirement already satisfied: six>=1.4.0 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from apscheduler) (1.15.0)
dbug: (LL) Requirement already satisfied: pytz in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from apscheduler) (2020.1)
dbug: (LL) Requirement already satisfied: tzlocal>=1.2 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from apscheduler) (2.1)
dbug: (LL) Requirement already satisfied: soupsieve>1.2 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from beautifulsoup4) (2.0.1)
dbug: (LL) Requirement already satisfied: requests>=2.6.1 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from cfscrape) (2.24.0)
dbug: (LL) Requirement already satisfied: jaraco.functools in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from cheroot!=8.4.4) (3.0.1)
dbug: (LL) Requirement already satisfied: more-itertools>=2.6 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from cheroot!=8.4.4) (8.5.0)
dbug: (LL) Requirement already satisfied: zc.lockfile in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from cherrypy) (2.0)
dbug: (LL) Requirement already satisfied: jaraco.collections in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from cherrypy) (3.0.0)
dbug: (LL) Requirement already satisfied: tempora>=1.8 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from portend) (4.0.0)
dbug: (LL) Requirement already satisfied: deprecated in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from pygithub) (1.2.10)
dbug: (LL) Requirement already satisfied: pyjwt in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from pygithub) (1.7.1)
dbug: (LL) Requirement already satisfied: idna<3,>=2.5 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from requests>=2.6.1->cfscrape) (2.10)
dbug: (LL) Requirement already satisfied: chardet<4,>=3.0.2 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from requests>=2.6.1->cfscrape) (3.0.4)
dbug: (LL) Requirement already satisfied: certifi>=2017.4.17 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from requests>=2.6.1->cfscrape) (2020.6.20)
dbug: (LL) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from requests>=2.6.1->cfscrape) (1.25.10)
dbug: (LL) Requirement already satisfied: jaraco.text in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from jaraco.collections->cherrypy) (3.2.0)
dbug: (LL) Requirement already satisfied: jaraco.classes in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from jaraco.collections->cherrypy) (3.1.0)
dbug: (LL) Requirement already satisfied: wrapt<2,>=1.10 in /share/CACHEDEV2_DATA/.qpkg/Entware/lib/python3.8/site-packages (from deprecated->pygithub) (1.12.1)
dbug: (LL) Collecting sabyenc3
dbug: (LL) Downloading https://files.pythonhosted.org/packages/66/4c/a8bc62273142b31de0e86b6312c81f30531785b5d72e9b6be595c9f632d4/sabyenc3-4.0.2.tar.gz
dbug: (LL) Installing collected packages: sabyenc3
dbug: (LL) Running setup.py install for sabyenc3: started
dbug: (LL) Running setup.py install for sabyenc3: finished with status 'error'
dbug: (LL) ERROR: Command errored out with exit status 1:
dbug: (LL) command: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/share/CACHEDEV2_DATA/.qpkg/Entware/tmp/pip-install-86c0b3ni/sabyenc3/setup.py'"'"'; __file__='"'"'/share/CACHEDEV2_DATA/.qpkg/Entware/tmp/pip-install-86c0b3ni/sabyenc3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /share/CACHEDEV2_DATA/.qpkg/Entware/tmp/pip-record-v5tzzlws/install-record.txt --single-version-externally-managed --compile
dbug: (LL) cwd: /share/CACHEDEV2_DATA/.qpkg/Entware/tmp/pip-install-86c0b3ni/sabyenc3/
dbug: (LL) Complete output (14 lines):
dbug: (LL) running install
dbug: (LL) running build
dbug: (LL) running build_ext
dbug: (LL) building 'sabyenc3' extension
dbug: (LL) creating build
dbug: (LL) creating build/temp.linux-x86_64-3.8
dbug: (LL) creating build/temp.linux-x86_64-3.8/src
dbug: (LL) gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -fomit-frame-pointer -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -O2 -pipe -fomit-frame-pointer -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -DNDEBUG -fno-inline -pthread -O2 -pipe -fomit-frame-pointer -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -DNDEBUG -fno-inline -pthread -I/media/ware3/Entware.2020.05/staging_dir/target-x86_64_glibc-2.27/opt/include -I/media/ware3/Entware.2020.05/staging_dir/toolchain-x86_64_gcc-8.4.0_glibc-2.27/include -fPIC -I/opt/include/python3.8 -c src/sabyenc3.c -o build/temp.linux-x86_64-3.8/src/sabyenc3.o
dbug: (LL) as: error while loading shared libraries: libbfd-2.27.so: cannot open shared object file: No such file or directory
dbug: (LL) src/sabyenc3.c:742:1: fatal error: error writing to -: Broken pipe
dbug: (LL) }
dbug: (LL) ^
dbug: (LL) compilation terminated.
dbug: (LL) error: command 'gcc' failed with exit status 1
dbug: (LL) ----------------------------------------
dbug: (LL) ERROR: Command errored out with exit status 1: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/share/CACHEDEV2_DATA/.qpkg/Entware/tmp/pip-install-86c0b3ni/sabyenc3/setup.py'"'"'; __file__='"'"'/share/CACHEDEV2_DATA/.qpkg/Entware/tmp/pip-install-86c0b3ni/sabyenc3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /share/CACHEDEV2_DATA/.qpkg/Entware/tmp/pip-record-v5tzzlws/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
dbug: (LL) = \ \ \ \ \ stdout is complete / / / / /
dbug: (LL) ----------------------------------------------------------------------------
dbug: (<<) InstallPy3Modules() [0]
dbug: (<<) QPKGs.Independents.Install() [0]
dbug: (II) ----------------------------------------------------------------------------
dbug: (**) SCRIPT: finished: Wed Sep 16 22:03:16 EST 2020
dbug: (**) SCRIPT: elapsed time: 00h:00m:36s
dbug: (II) ============================================================================
I got up and running again by deleting /share/CACHEDEV2_DATA/.qpkg/SickChill/SickChill and editing SOURCE_GIT_BRANCH in sickchill.sh to point at the master branch instead, works for me but I do not encourage anyone to do the same.
Edit:- Jesus Christ, where are my manners! Thank you OneCD for offering this elegant alternative approach to installing the various media managers.