NextPVR Forums

Full Version: Deb installer error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've been using NextPVR on Arch and everything works great. However, I decided to try out Mint Cinnamon today. Clean fresh install followed by update and upgrade prior to the following commands.


Code:
curl https://nextpvr.com/nextpvr-helper.deb -O
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5836  100  5836    0     0  22796      0 --:--:-- --:--:-- --:--:-- 22796

Followed by

Code:
sudo apt install ./nextpvr-helper.deb --install-recommends
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'nextpvr-helper' instead of './nextpvr-helper.deb'
The following additional packages will be installed:
  dtv-scan-tables dvb-tools ffmpeg hdhomerun-config libc-dev-bin libc6-dev
  libcurl4-gnutls-dev libdvbv5-0 libgdiplus libmediainfo-dev libmediainfo0v5
  libmms0 libtinyxml-dev libtinyxml2-6 libtinyxml2.6.2v5 libzen-dev libzen0v5
  mediainfo zlib1g-dev
Suggested packages:
  ffmpeg-doc glibc-doc libcurl4-doc libgnutls28-dev libidn11-dev libkrb5-dev
  libldap2-dev librtmp-dev libssh2-1-dev libtinyxml-doc mediainfo-gui
The following NEW packages will be installed:
  dtv-scan-tables dvb-tools ffmpeg hdhomerun-config libc-dev-bin libc6-dev
  libcurl4-gnutls-dev libdvbv5-0 libgdiplus libmediainfo-dev libmediainfo0v5
  libmms0 libtinyxml-dev libtinyxml2-6 libtinyxml2.6.2v5 libzen-dev libzen0v5
  mediainfo nextpvr-helper zlib1g-dev
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,492 kB/7,497 kB of archives.
After this operation, 42.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 /home/craig/nextpvr-helper.deb nextpvr-helper all 1.3 [5,836 B]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libdvbv5-0 amd64 1.14.2-1 [101 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 dvb-tools amd64 1.14.2-1 [48.3 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 ffmpeg amd64 7:3.4.6-0ubuntu0.18.04.1 [1,587 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 hdhomerun-config amd64 20180327-1 [31.6 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 libc-dev-bin amd64 2.27-3ubuntu1 [71.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libc6-dev amd64 2.27-3ubuntu1 [2,587 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl4-gnutls-dev amd64 7.58.0-2ubuntu3.8 [294 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libgdiplus amd64 4.2-2 [140 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libzen0v5 amd64 0.4.37-1 [94.0 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libtinyxml2.6.2v5 amd64 2.6.2-4 [29.7 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libtinyxml-dev amd64 2.6.2-4 [44.2 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libzen-dev amd64 0.4.37-1 [29.5 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-0ubuntu2 [176 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmms0 amd64 0.6.4-2 [27.4 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libtinyxml2-6 amd64 6.0.0+dfsg-1 [27.9 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libmediainfo0v5 amd64 17.12-1ubuntu0.1 [1,865 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libmediainfo-dev amd64 17.12-1ubuntu0.1 [16.7 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic/universe amd64 mediainfo amd64 17.12-1 [29.5 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic/universe amd64 dtv-scan-tables all 0+git20171226.07b18ec-1 [292 kB]
Fetched 7,492 kB in 2s (3,477 kB/s)      
Selecting previously unselected package libdvbv5-0:amd64.
(Reading database ... 248253 files and directories currently installed.)
Preparing to unpack .../00-libdvbv5-0_1.14.2-1_amd64.deb ...
Unpacking libdvbv5-0:amd64 (1.14.2-1) ...
Selecting previously unselected package dvb-tools.
Preparing to unpack .../01-dvb-tools_1.14.2-1_amd64.deb ...
Unpacking dvb-tools (1.14.2-1) ...
Selecting previously unselected package ffmpeg.
Preparing to unpack .../02-ffmpeg_7%3a3.4.6-0ubuntu0.18.04.1_amd64.deb ...
Unpacking ffmpeg (7:3.4.6-0ubuntu0.18.04.1) ...
Selecting previously unselected package hdhomerun-config.
Preparing to unpack .../03-hdhomerun-config_20180327-1_amd64.deb ...
Unpacking hdhomerun-config (20180327-1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../04-libc-dev-bin_2.27-3ubuntu1_amd64.deb ...
Unpacking libc-dev-bin (2.27-3ubuntu1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../05-libc6-dev_2.27-3ubuntu1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.27-3ubuntu1) ...
Selecting previously unselected package libcurl4-gnutls-dev:amd64.
Preparing to unpack .../06-libcurl4-gnutls-dev_7.58.0-2ubuntu3.8_amd64.deb ...
Unpacking libcurl4-gnutls-dev:amd64 (7.58.0-2ubuntu3.8) ...
Selecting previously unselected package libgdiplus.
Preparing to unpack .../07-libgdiplus_4.2-2_amd64.deb ...
Unpacking libgdiplus (4.2-2) ...
Selecting previously unselected package libzen0v5:amd64.
Preparing to unpack .../08-libzen0v5_0.4.37-1_amd64.deb ...
Unpacking libzen0v5:amd64 (0.4.37-1) ...
Selecting previously unselected package libtinyxml2.6.2v5:amd64.
Preparing to unpack .../09-libtinyxml2.6.2v5_2.6.2-4_amd64.deb ...
Unpacking libtinyxml2.6.2v5:amd64 (2.6.2-4) ...
Selecting previously unselected package libtinyxml-dev:amd64.
Preparing to unpack .../10-libtinyxml-dev_2.6.2-4_amd64.deb ...
Unpacking libtinyxml-dev:amd64 (2.6.2-4) ...
Selecting previously unselected package libzen-dev.
Preparing to unpack .../11-libzen-dev_0.4.37-1_amd64.deb ...
Unpacking libzen-dev (0.4.37-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../12-zlib1g-dev_1%3a1.2.11.dfsg-0ubuntu2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-0ubuntu2) ...
Selecting previously unselected package libmms0:amd64.
Preparing to unpack .../13-libmms0_0.6.4-2_amd64.deb ...
Unpacking libmms0:amd64 (0.6.4-2) ...
Selecting previously unselected package libtinyxml2-6:amd64.
Preparing to unpack .../14-libtinyxml2-6_6.0.0+dfsg-1_amd64.deb ...
Unpacking libtinyxml2-6:amd64 (6.0.0+dfsg-1) ...
Selecting previously unselected package libmediainfo0v5:amd64.
Preparing to unpack .../15-libmediainfo0v5_17.12-1ubuntu0.1_amd64.deb ...
Unpacking libmediainfo0v5:amd64 (17.12-1ubuntu0.1) ...
Selecting previously unselected package libmediainfo-dev.
Preparing to unpack .../16-libmediainfo-dev_17.12-1ubuntu0.1_amd64.deb ...
Unpacking libmediainfo-dev (17.12-1ubuntu0.1) ...
Selecting previously unselected package mediainfo.
Preparing to unpack .../17-mediainfo_17.12-1_amd64.deb ...
Unpacking mediainfo (17.12-1) ...
Selecting previously unselected package nextpvr-helper.
Preparing to unpack .../18-nextpvr-helper.deb ...
preinst
Failed to stop nextpvr-server.service: Unit nextpvr-server.service not loaded.
1.3
New version of nextpvr-helper.deb required
dpkg: error processing archive /tmp/apt-dpkg-install-rZAPYe/18-nextpvr-helper.deb (--unpack):
new nextpvr-helper package pre-installation script subprocess returned error exit status 1
postrm called with args=  abort-install
Selecting previously unselected package dtv-scan-tables.
Preparing to unpack .../19-dtv-scan-tables_0+git20171226.07b18ec-1_all.deb ...
Unpacking dtv-scan-tables (0+git20171226.07b18ec-1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-rZAPYe/18-nextpvr-helper.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I am unable to connect to 127.0.0.1:8866

Craig
It seems you are using the 1.2 version of the installer

New version of nextpvr-helper.deb required

Did you download the new one announced today?

Martin
I literally finished installing mint 15 minutes ago then ran the commands. I had not downloaded any other version so I assumed it was version 1.3.
(2020-02-09, 02:30 AM)mvallevand Wrote: [ -> ]It seems you are using the 1.2 version of the installer
Is this saying he's using 1.3?

Quote:Get:1 /home/craig/nextpvr-helper.deb nextpvr-helper all 1.3 [5,836 B]
...
1.3
Oops I forgot to update one of my tests that makes sure I don't corrupt an install. When I was testing it earlier sub hadn't updated the server side.

I'll pass a new file to sub now. All updated.

Martin
Thank Martin and Sub,

That seems to have fixed it I am scanning for channels at the moment.

Craig
I am having the same problem with installer v1.4. using Mohdi 32 bit Linux OS ( variat of ubuntu 18.04). Any ideas?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'nextpvr-helper' instead of './nextpvr-helper.deb'
nextpvr-helper is already the newest version (1.4).
0 upgraded, 0 newly installed, 0 to remove and 215 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up nextpvr-helper (1.4) ...
Job for nextpvr-server.service failed because the control process exited with error code.
See "systemctl status nextpvr-server.service" and "journalctl -xe" for details.
dpkg: error processing package nextpvr-helper (--configure):
installed nextpvr-helper package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
nextpvr-helper
E: Sub-process /usr/bin/dpkg returned an error code (1)
vserver@TVServer:~$ journalctl -xe
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
-- Support: http://www.ubuntu.com/support
--
-- Unit nextpvr-server.service has begun starting up.
Nov 12 02:31:42 TVServer systemd[10129]: nextpvr-server.service: Failed to determine user credentials: No such process
Nov 12 02:31:42 TVServer systemd[10129]: nextpvr-server.service: Failed at step USER spawning /opt/nextpvr/shell/server.sh: No such process
-- Subject: Process /opt/nextpvr/shell/server.sh could not be executed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The process /opt/nextpvr/shell/server.sh could not be executed and failed.
--
-- The error number returned by this process is 3.
Nov 12 02:31:42 TVServer systemd[1]: nextpvr-server.service: Control process exited, code=exited status=217
Nov 12 02:31:42 TVServer systemd[1]: nextpvr-server.service: Failed with result 'exit-code'.
Nov 12 02:31:42 TVServer systemd[1]: Failed to start NextPVRServer.
-- Subject: Unit nextpvr-server.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit nextpvr-server.service has failed.
--
-- The result is RESULT.
Nov 12 02:31:42 TVServer sudo[10041]: pam_unix(sudoConfusedession): session closed for user root
lines 2553-2575/2575 (END)
Are you running an update if so you need to run

sudo dpkg -i nextpvr-helper.deb

Try that and give me the console messages.

Martin
Pages: 1 2