NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
bridges86406
Jun 29, 2017Tutor
Issues installing/Uninstalling Plex - Post Script Issue -RN3138
I have a RN3138 which is currently on OS 6.7.5.
I am currently having an issue in which I can not get PLEX to update.
I got a link in my Plex server that an update was ready. I clicked on the link and downloaded the file (plexmediaserver-ros6-binaries_1.5.7.4016-25d94bad9_amd64.deb). I went into apps, as I have done before, and tried to upload the file. It gave me an error. I then went to www.plex.tv/downloads and downloaded the latest update they had on their website (plexmediaserver-ros6-binaries_1.7.4.4017-3886b5c85_amd64.deb) and same issue.
I then tried uninstalling the app from the admin page thinking I might have a conflict issue. This led to another failure, this time the system said it could not uninstall the app.
Can anyone help me to resolve this issue. I have looked at the logs and appear that I have some "half-configured" installs, although I don't know if that is the issue or not.
Thank you in advance.
5 Replies
Replies have been turned off for this discussion
Here is what I am finding in install_debpkg.log if this helps:
DONE(1): Wed Jun 28 20:42:07 MST 2017 Reading package lists... Building dependency tree... Reading state information... Package 'plexmediaserver-ros6-binaries' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up cacti (0.8.8b+dfsg-8+deb8u6) ... dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf granting access to database cacti for cacti@localhost: already exists. creating database cacti: already exists. populating database via sql... done. dpkg: error processing package cacti (--configure): subprocess installed post-installation script returned error exit status 10 Errors were encountered while processing: cacti E: Sub-process /usr/bin/dpkg returned an error code (1) DONE(1): Wed Jun 28 20:43:04 MST 2017 Reading package lists... Building dependency tree... Reading state information... Package 'plexmediaserver-ros6-binaries' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up cacti (0.8.8b+dfsg-8+deb8u6) ... dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf granting access to database cacti for cacti@localhost: already exists. creating database cacti: already exists. populating database via sql... done. dpkg: error processing package cacti (--configure): subprocess installed post-installation script returned error exit status 10 Errors were encountered while processing: cacti E: Sub-process /usr/bin/dpkg returned an error code (1) DONE(1): Wed Jun 28 20:46:16 MST 2017
- btaroliProdigy
It may have just been a typo... but you're installing 1.5.7 over 1.7.4? I recall 1.7.5 is the latest bulid, as I upgraded to it on my 528X running 6.7.5 just recently. I'm also not sure why cacti would be installing when you request to install PLEX.
In the newer OS releases, the old instalation file in /var/log/readynas is no longer used. Perhaps try looking for the log entries using
journalctl --identifier=fv-app-install
Using your command I found the following logs:
Jun 29 22:36:03 BridgesNAS fv-app-install[1446]: [/tmp/plexmediaserver-ros6-binaries_1.7.5.4035-313f93718_amd64.deb](0%) prepare Jun 29 22:36:11 BridgesNAS fv-app-install[1446]: Downloading [plexmediaserver-ros6-binaries](0%) Retrieving file 1 of 1 Jun 29 22:36:11 BridgesNAS fv-app-install[1446]: Downloading [plexmediaserver-ros6-binaries](0%) Retrieving file 1 of 1 Jun 29 22:36:12 BridgesNAS fv-app-install[1446]: Downloading [plexmediaserver-ros6-binaries](0%) Retrieving file 1 of 1 Jun 29 22:36:12 BridgesNAS fv-app-install[1446]: Downloading [plexmediaserver-ros6-binaries](0%) Retrieving file 1 of 1 Jun 29 22:36:13 BridgesNAS fv-app-install[1446]: Downloading [plexmediaserver-ros6-binaries](0%) Retrieving file 1 of 1 Jun 29 22:36:13 BridgesNAS fv-app-install[1446]: Downloading [plexmediaserver-ros6-binaries](0%) Retrieving file 1 of 1 Jun 29 22:36:14 BridgesNAS fv-app-install[1446]: Downloading [plexmediaserver-ros6-binaries](0%) Retrieving file 1 of 1 Jun 29 22:36:14 BridgesNAS fv-app-install[1446]: Downloading [plexmediaserver-ros6-binaries](0%) Retrieving file 1 of 1 Jun 29 22:36:15 BridgesNAS fv-app-install[1446]: Downloading [plexmediaserver-ros6-binaries](0%) Retrieving file 1 of 1 Jun 29 22:36:15 BridgesNAS fv-app-install[1446]: Downloading [plexmediaserver-ros6-binaries](50%) Retrieving file 1 of 1 Jun 29 22:36:15 BridgesNAS fv-app-install[1446]: Installing [plexmediaserver-ros6-binaries](50%) Running dpkg Jun 29 22:36:16 BridgesNAS fv-app-install[1446]: Installing [plexmediaserver-ros6-binaries](50%) Installing plexmediaserver-ros6-binaries Jun 29 22:36:16 BridgesNAS fv-app-install[1446]: Installing [plexmediaserver-ros6-binaries](56%) Preparing plexmediaserver-ros6-binaries Jun 29 22:36:31 BridgesNAS fv-app-install[1446]: Installing [plexmediaserver-ros6-binaries](61%) Unpacking plexmediaserver-ros6-binaries Jun 29 22:36:31 BridgesNAS fv-app-install[1446]: Installing [plexmediaserver-ros6-binaries](67%) Preparing to configure plexmediaserver-ros6-binaries Jun 29 22:36:31 BridgesNAS fv-app-install[1446]: Installing [plexmediaserver-ros6-binaries](67%) Running dpkg Jun 29 22:36:31 BridgesNAS fv-app-install[1446]: Installing [plexmediaserver-ros6-binaries](67%) Configuring cacti Jun 29 22:36:36 BridgesNAS fv-app-install[1446]: Error: file[cacti] message: subprocess installed post-installation script returned error exit status 10 Jun 29 22:36:36 BridgesNAS fv-app-install[1446]: Installing [plexmediaserver-ros6-binaries](67%) Configuring plexmediaserver-ros6-binaries Jun 29 22:36:36 BridgesNAS fv-app-install[1446]: Installing [plexmediaserver-ros6-binaries](72%) Configuring plexmediaserver-ros6-binaries Jun 29 22:37:20 BridgesNAS fv-app-install[1446]: Installing [plexmediaserver-ros6-binaries](78%) Installed plexmediaserver-ros6-binaries Jun 29 22:37:20 BridgesNAS fv-app-install[1446]: Installing [plexmediaserver-ros6-binaries](78%) Running post-installation trigger libc-bin Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: fv-app-install (/tmp/plexmediaserver-ros6-binaries_1.7.5.4035-313f93718_amd64.deb): error code [100]: Reading package lists... Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Building dependency tree... Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Reading state information... Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: The following NEW packages will be installed: Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: plexmediaserver-ros6-binaries Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: 0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded. Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: 1 not fully installed or removed. Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Need to get 0 B/106 MB of archives. Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: After this operation, 232 MB of additional disk space will be used. Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Get:1 /tmp/plexmediaserver-ros6-binaries_1.7.5.4035-313f93718_amd64.deb plexmediaserver-ros6-binaries amd64 1.7.5.4035-313f93718 [106 MB] Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: debconf: delaying package configuration, since apt-utils is not installed Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Selecting previously unselected package plexmediaserver-ros6-binaries. Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 5% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 10% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 15% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 20% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 25% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 30% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 35% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 40% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 45% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 50% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 55% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 60% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 65% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 70% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 75% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 80% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 85% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 90% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 95% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 100% Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: (Reading database ... 21890 files and directories currently installed.) Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Preparing to unpack .../plexmediaserver-ros6-binaries_1.7.5.4035-313f93718_amd64.deb ... Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Unpacking plexmediaserver-ros6-binaries (1.7.5.4035-313f93718) ... Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Setting up cacti (0.8.8b+dfsg-8+deb8u6) ... Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: granting access to database cacti for cacti@localhost: already exists. Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: creating database cacti: already exists. Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: populating database via sql... done. Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: dpkg: error processing package cacti (--configure): Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: subprocess installed post-installation script returned error exit status 10 Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Setting up plexmediaserver-ros6-binaries (1.7.5.4035-313f93718) ... Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Adding 'diversion of /apps/plexmediaserver/plexmediaserver_environment to /apps/plexmediaserver/plexmediaserver_environment.orig by plexmediaserver-ro s6-binaries' Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Ignoring request to rename file '/apps/plexmediaserver/plexmediaserver_environment' owned by diverting package 'plexmediaserver-ros6-binaries' Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Adding 'diversion of /apps/plexmediaserver/fvapp-plexmediaserver.service to /apps/plexmediaserver/fvapp-plexmediaserver.service.orig by plexmediaserve r-ros6-binaries' Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Ignoring request to rename file '/apps/plexmediaserver/fvapp-plexmediaserver.service' owned by diverting package 'plexmediaserver-ros6-binaries' Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Adding 'diversion of /apps/plexmediaserver/logo.png to /apps/plexmediaserver/logo.png.orig by plexmediaserver-ros6-binaries' Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Ignoring request to rename file '/apps/plexmediaserver/logo.png' owned by diverting package 'plexmediaserver-ros6-binaries' Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Created symlink /etc/systemd/system/multi-user.target.wants/fvapp-plexmediaserver.service → /lib/systemd/system/fvapp-plexmediaserver.service. Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Removing 'diversion of /apps/plexmediaserver/plexmediaserver_environment to /apps/plexmediaserver/plexmediaserver_environment.orig by plexmediaserver- ros6-binaries' Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Removing 'diversion of /apps/plexmediaserver/fvapp-plexmediaserver.service to /apps/plexmediaserver/fvapp-plexmediaserver.service.orig by plexmediaser ver-ros6-binaries' Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Removing 'diversion of /apps/plexmediaserver/logo.png to /apps/plexmediaserver/logo.png.orig by plexmediaserver-ros6-binaries' Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: No diversion 'diversion of /apps/plexmediaserver/config.xml by plexmediaserver-ros6-binaries', none removed. Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Processing triggers for libc-bin (2.19-18+deb8u9.netgear1) ... Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: Errors were encountered while processing: Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: cacti Jun 29 22:37:21 BridgesNAS fv-app-install[1446]: E: Sub-process /usr/bin/dpkg returned an error code (1) Jun 29 22:37:38 BridgesNAS fv-app-install[1446]: [plexmediaserver-ros6-binaries](0%) abort
Unfortunately I don't know what any of this means. Looks like it errors out with /usr/bin/dpkg returned an error code (1).
Cacti I tried installing a couple months back. It gave me an error, and I gave up on it. So I find it weird also that that is happening. Any way for me to clean that out?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!