[myHD] Kodi19 stable version ... update easily

myHD is an isolated (namespace (mnt, IPC, PID)) Ubuntu environment to run Ubuntu application displayed as ASUSTOR Asportal / Xorg applications.
Post Reply
User avatar
father.mande
Posts: 1818
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

[myHD] Kodi19 stable version ... update easily

Post by father.mande »

Hi,

myHD using Ubuntu 18.04 or Ubuntu 20.04 (newt in few time myHD update) can now used the Kodi 19 stable version

open a ssh terminal using root (not admin) / your_admin_password
PREREQUISITE : verify that uname -r don't return a x 4.14.x
... if x is present patch uname

Code: Select all

myHD_root (to enter in Ubuntu as root)
mv /bin/uname /bin/uname.asustor
create a file with modified uname
echo "#!/bin/sh" > /bin/uname
echo '/bin/uname.asustor "$@"|sed 's/\\.x/\\.0/g''  >> /bin/uname
chmod +x /bin/uname
# TEST :
/bin/uname -r ... response is 4.14.0 and NOT 4.14.x
T.B.C. ... (perhaps just a test error) Take attention uname -s don't return Linux but Lin00 ... but no mater ...

do : (and read line with LP-PPA in (second line))
example :

Code: Select all

apt-cache policy | grep team-xbmc
 500 http://ppa.launchpad.net/team-xbmc/unstable/ubuntu bionic/main amd64 Packages
     release v=18.04,o=LP-PPA-team-xbmc-unstable,a=bionic,n=bionic,l=Kodi Unstable,c=main,b=amd64
case 1 : you use stable Kodi for bionic or focal (LP-PPA-team-xbmc-stable) after ... good idea is to restart myHD
... just run apt-get update ; apt-get dist-upgrade ; apt-get upgrade (last is optional but used in some case under focal)
... myHD restart is only if you don't do regularly update / upgrade ( myHD apt_upgrade_package )

Code: Select all

myHD_root
apt-get update ; apt-get dist-upgrade
apt-get upgrade
exit
myHD restart
case 2 you use unstable or nightly build (apt-cache policy help you) EVEN NIGHTLY have already Kodi 19 ...

Code: Select all

add-apt-repository -r ppa:team-xbmc/unstable 
# OR
add-apt-repository -r ppa:team-xbmc/xbmc-nightly
# THEN
add-apt-repository ppa:team-xbmc/ppa
apt-get update
apt-get remove kodi kodi-x11
apt-get install kodi
ALL original information here : https://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
ronaldo864
Posts: 7
Joined: Thu May 07, 2020 11:46 pm

Re: [myHD] Kodi19 stable version ... update easily

Post by ronaldo864 »

I need a fresh installation, can I ask for the apk file for MH kodi 19 as in this post ?? viewtopic.php?f=227&t=10359 thank you for your hard work and best regards
User avatar
father.mande
Posts: 1818
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD] Kodi19 stable version ... update easily

Post by father.mande »

Hi,
ronaldo864 wrote:I need a fresh installation, can I ask for the apk file for MH kodi 19 as in this post ?? viewtopic.php?f=227&t=10359 thank you for your hard work and best regards
First you need to install myHD (the engine)
... then update / upgrade the Ubuntu delivered (18.04 LTS) using myHD command "myHD apt_upgrade_package"
... restart : "myHD restart"
... then follow the procedure here after (kodi default 18.3 is based on Unstable)

... when Kodi19 is installed ... install MH-kodi19 ... it's only a launcher for Asportal and an icon ... (the product itself is already in Ubuntu provide.
... ... for your information MH-kodi18 and MH-kodi19 are identical ... only the icon differ ... in next version I will only provide a MH-kodi ... with an unique icon ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
ElKrokodilo
Posts: 1
Joined: Thu Jul 15, 2021 3:20 am

Re: [myHD] Kodi19 stable version ... update easily

Post by ElKrokodilo »

Can You help me?

root@Video-NAS:/volume1/.@root # uname -r
4.14.x
root@Video-NAS:/volume1/.@root # uname -r
4.14.x
root@Video-NAS:/volume1/.@root # myHD_root
root@Video-NAS:~# mv /bin/uname /bin/uname.asustor
root@Video-NAS:~# echo "#!/bin/sh" > /bin/uname
-su: !/bin/sh: event not found
root@Video-NAS:~#


What´s wrong?

*edit: i uninstalled myHD and reinstalled it.
Then i tried it with this manual.

Quick one time work around to fix the issue created by Asustor (you can recompile the kernel if you wish), do this in chroot:
CODE: SELECT ALL
(Chroot)root@Nimbustor4:~# mv /bin/uname /bin/uname.asustor
(Chroot)root@Nimbustor4:~# echo -e '#!/bin/sh\n\n/bin/uname.asustor "$@"'"|sed 's/\\.x/\\.0/g'">/bin/uname
(Chroot)root@Nimbustor4:~# chmod +x /bin/uname
Then run your stuffs like "apt update && apt -y upgrade".

now i got This:

root@Video-NAS:/volume1/.@root # uname -r
4.14.x
root@Video-NAS:/volume1/.@root # myHD_root
root@Video-NAS:~# mv /bin/uname /bin/uname.asustor
root@Video-NAS:~# echo -e '#!/bin/sh\n\n/bin/uname.asustor "$@"'"|sed 's/\\.x/\\.0/g'">/bin/uname
root@Video-NAS:~# chmod +x /bin/uname
root@Video-NAS:~# exit
logout
root@Video-NAS:/volume1/.@root # uname -r
4.14.x
root@Video-NAS:/volume1/.@root # myHD_root
root@Video-NAS:~# cat /bin/uname
#!/bin/sh

/bin/uname.asustor "$@"|sed 's/\.x/\.0/g'
root@Video-NAS:~# /bin/uname -r
4.14.0
root@Video-NAS:~#
Last edited by ElKrokodilo on Fri Jul 16, 2021 5:32 am, edited 1 time in total.
User avatar
father.mande
Posts: 1818
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD] Kodi19 stable version ... update easily

Post by father.mande »

Hi,

Kernel 4.14.x or now 5.4.x are not supported when libc is updated in Ubuntu (kernel version malformed)

To permit this update / upgrade ... changing response to : uname -r is require
... it's the purpose of the change in uname

error you have is't linked (I think) to a typo ( " in place of ' ) in first echo ....

after any value returned like 4.14.0 is valid for updating ... in next myHD this is done automatically ... so without user intervention.

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “myHD”