Closed Jukari2003 closed 7 months ago
Hello @Jukari2003 ,
I just updated my odroid xu4 with
sudo apt-get update
sudo apt-get upgrade
and now I got the newest version.
Note: If it does not work anymore, please look at my fix over here: https://github.com/tproenca/pmsarm7/issues/4
As you'll probably need to uncomment the annoying line in /etc/init.d/plexmediaserver
Thank you for the help, it does detect the new update now. But I'm getting some errors. Any idea how to fix them? I might of broke it in the process of trying to upgrade (Not sure).
root@Plex-Droid:~# sudo apt-get update && sudo apt-get upgrade -f
Ign http://dl.bintray.com jessie InRelease
Ign http://ports.ubuntu.com trusty InRelease
Ign http://dl.bintray.com jessie Release.gpg
Get:1 http://dl.bintray.com jessie Release [3538 B]
Hit http://ports.ubuntu.com trusty-updates InRelease
Ign http://dl.bintray.com jessie/main armhf Packages/DiffIndex
Hit http://ports.ubuntu.com trusty-backports InRelease
Hit http://ports.ubuntu.com trusty-security InRelease
Get:2 http://dl.bintray.com jessie/main armhf Packages [1814 B]
Hit http://ports.ubuntu.com trusty Release.gpg
Hit http://ports.ubuntu.com trusty-updates/main Sources
Hit http://ports.ubuntu.com trusty-updates/restricted Sources
Ign http://dl.bintray.com jessie/main Translation-en
Hit http://ports.ubuntu.com trusty-updates/universe Sources
Hit http://ports.ubuntu.com trusty-updates/main armhf Packages
Hit http://ports.ubuntu.com trusty-updates/restricted armhf Packages
Hit http://ports.ubuntu.com trusty-updates/universe armhf Packages
Hit http://ports.ubuntu.com trusty-updates/main Translation-en
Hit http://ports.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ports.ubuntu.com trusty-updates/universe Translation-en
Hit http://ports.ubuntu.com trusty-backports/main Sources
Hit http://ports.ubuntu.com trusty-backports/restricted Sources
Hit http://ports.ubuntu.com trusty-backports/main armhf Packages
Hit http://ports.ubuntu.com trusty-backports/restricted armhf Packages
Hit http://ports.ubuntu.com trusty-backports/main Translation-en
Hit http://ports.ubuntu.com trusty-backports/restricted Translation-en
Hit http://ports.ubuntu.com trusty-security/main Sources
Hit http://ports.ubuntu.com trusty-security/restricted Sources
Hit http://ports.ubuntu.com trusty-security/universe Sources
Hit http://ports.ubuntu.com trusty-security/multiverse Sources
Hit http://ports.ubuntu.com trusty-security/main armhf Packages
Hit http://ports.ubuntu.com trusty-security/restricted armhf Packages
Hit http://ports.ubuntu.com trusty-security/universe armhf Packages
Hit http://ports.ubuntu.com trusty-security/multiverse armhf Packages
Hit http://ports.ubuntu.com trusty-security/main Translation-en
Hit http://ports.ubuntu.com trusty-security/multiverse Translation-en
Hit http://ports.ubuntu.com trusty-security/restricted Translation-en
Hit http://ports.ubuntu.com trusty-security/universe Translation-en
Hit http://ports.ubuntu.com trusty Release
Hit http://ports.ubuntu.com trusty/main Sources
Hit http://ports.ubuntu.com trusty/restricted Sources
Hit http://ports.ubuntu.com trusty/universe Sources
Hit http://ports.ubuntu.com trusty/main armhf Packages
Hit http://ports.ubuntu.com trusty/restricted armhf Packages
Hit http://ports.ubuntu.com trusty/universe armhf Packages
Hit http://ports.ubuntu.com trusty/main Translation-en
Hit http://ports.ubuntu.com trusty/restricted Translation-en
Hit http://ports.ubuntu.com trusty/universe Translation-en
Fetched 5352 B in 15s (342 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
update-notifier-common
The following packages will be upgraded:
plexmediaserver
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/68.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
plexmediaserver
Install these packages without verification? [y/N] y
(Reading database ... 30646 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.8.1.4139-c789b3fbb_armhf.deb ...
update-rc.d: /etc/init.d/plexmediaserver exists during rc.d purge (use -f to force)
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
update-rc.d: /etc/init.d/plexmediaserver exists during rc.d purge (use -f to force)
dpkg: error processing archive /var/cache/apt/archives/plexmediaserver_1.8.1.4139-c789b3fbb_armhf.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/plexmediaserver_1.8.1.4139-c789b3fbb_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Plex-Droid:~#
I did comment out that line, (even though I was under the impression that was for starting the server)... still not able to get the package to even install. It did move a bit further along then the above code but not much.
root@Plex-Droid:/etc/init.d# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
update-notifier-common
The following packages will be upgraded:
plexmediaserver
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/68.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
plexmediaserver
Install these packages without verification? [y/N] y
(Reading database ... 30646 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.8.1.4139-c789b3fbb_armhf.deb ...
(Commented Line)
Plex Media Server is not running (no process found)...
update-rc.d: /etc/init.d/plexmediaserver exists during rc.d purge (use -f to force)
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
frog
Plex Media Server is not running (no process found)...
update-rc.d: /etc/init.d/plexmediaserver exists during rc.d purge (use -f to force)
dpkg: error processing archive /var/cache/apt/archives/plexmediaserver_1.8.1.4139-c789b3fbb_armhf.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/plexmediaserver_1.8.1.4139-c789b3fbb_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Plex-Droid:/etc/init.d#
The droid is running Ubuntu 14.04.5 LTS (GNU/Linux 3.10.82 armv7l) (Headless)
Thank you for your help.
Ok got it working. Had to: 1) Move Package mv /etc/init.d/plexmediaserver /etc/init.d/plexmediaserver.old
2) Re-Run Update
3) Comment out the line you mentioned in #4
Everything started up and everything works. Thank you for your help!!!
Awesome! I am happy I could help.
On Sun, Aug 27, 2017, 04:35 Jukari2003 notifications@github.com wrote:
Ok got it working. Had to:
1.
Move Package mv /etc/init.d/plexmediaserver /etc/init.d/plexmediaserver.old 2.
Re-Run Update 3.
Comment out the line you mentioned in #4 https://github.com/tproenca/pmsarm7/issues/4
Everything started up and everything works. Thank you for your help!!!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tproenca/pmsarm7/issues/7#issuecomment-325173409, or mute the thread https://github.com/notifications/unsubscribe-auth/ATUacK1cPoO94qi_5ZIa20aSvqyxoqWyks5scNXhgaJpZM4PBZNu .
--
Kind regards, Met vriendelijke groet,
Jorrick Sleijster
So out of all the repositories and information I found out there, this is the only one that works!
However, there's a new update out there 1.8.1.4139. The repository doesn't seem to have it yet...
Was wondering if you have the steps to convert an .spk to update the Odroid Plex? I'm far from a Arm-Linux Guru, but I'm fairly savy. If you can lead me in the right direction I would appreciate it. -Thank you!