Convert Ubuntu PlexPass version to Debian Wheezy for OMV 2.x

  • 1) Make a diretory to work in...
    cd /
    mkdir scratch
    cd /scratch
    2)

    Code
    wget https://github.com/tekkbebe/OMV.Resources/raw/master/plexconvert/amd64.tar.bz2


    3)
    Then you need to get Unbuntu PlexPass version. Login to Plex's site.:

    Code
    https://plex.tv/


    In upper right click on login and sign in.
    Then just a little to the left of the middle at the top click on "Downloads"
    Then almost in the middle of the page you will see in a box "Plex Pass Downloads". Click on it.
    Then just below click on "Computer".
    Then with the TABS at the top left click on "Linux".
    Then below right click on "Ubuntu 64 bit". On the submenu click on "copy link address"
    Now back in Putty type wget and a space and then right click, the right click should paste the link for the Ubuntu package. Hit Enter and this will download the package into the scratch folder ( you should still be in there).


    4) Now we need to uncompress the bz2 file and unpack the deb package:
    tar xjf amd (Then press TAB and hit Enter)
    dpkg -x plex (Then press TAB) /scratch/plex(Then press TAB and take the ".deb" off the end. Then hit ENTER) Note: there is a space before the /scratch/.....
    rm *.deb
    rm *.bz2


    5) Now we need to move the /usr folder from the unpacked Unbuntu package to the /amd64 folder.
    mv /scratch/plex(press TAB to finish folder name)usr /scratch/amd64/debian


    6) Now we need to adjust the control file.
    cd /scratch/amd64/debian/DEBIAN
    nano control


    Then you need to edit this line:
    Version: 0.9.15.0.1621-344f193-debian


    If you looked at the unpacked folder of the package it gives you the information you need to change "plexmediaserver_0.9.16.0.1754-23623fb_amd64". You only need to edit the version number "0.9.16.0.1754-23623fb". Your edit to this line in the control file should look like this:
    Version: 0.9.16.0.1754-23623fb-debian


    After the line is edited do this to save the file:
    Hold CTRL and press o
    Then press ENTER


    7) Now erase contents of the Ubuntu unpacked folder and move contents from the amd64 folder in the Ubuntu folder.
    rm -rf /scratch/plex (then press TAB and hit ENTER)* Note the asterisk at the end here. We are not deleting the folder but all the contrents.
    mv /scratch/amd64/* /scratch/plex (Then press TAB and hit ENTER)
    rm -rf /scratch/amd64


    8 ) Now we build new package for OMV 2.x/Debian Wheezy
    mv /scratch/plex(press TAB)debian/* /scratch/plex(press TAB and hit ENTER)
    rmdir /scratch/plex(press TAB)debian
    cd /scratch
    dpkg-deb --build plex(press TAB and hit ENTER)


    Package should build and and then you can install with:
    dpkg -i

  • You can actually install an Ubuntu version and do this simple fix post install to get it working again:


    cd /etc/init.d
    mv plexmediaserver.dpkg-bak plexmediaserver
    service plexmediaserver start

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!