GM-Script-Writer-62850 / Ubuntu-Mainline-Kernel-Updater

Makes it easy to install and check for new mainline kernels
117 stars 18 forks source link

Unable to install in Ubuntu 16.04 #16

Closed Schattenjager-RC closed 8 years ago

Schattenjager-RC commented 8 years ago

New Ubuntu version migrated to PHP 7, but there is no PHP 5 in repositories. Therefore Ubuntu-Mainline-Kernel-Updater can not be installed or even started. I tried to install PHP 7 but it did not help.

GM-Script-Writer-62850 commented 8 years ago

Did try replacing all php5 references to php7 in the install file? i would be surprised if the script broke with php7, the installer i sure, will look into it more after work

Schattenjager-RC commented 8 years ago

Yes, i tried, but unfortunately with no result... All dependencies were installed, but not the script itself.

GM-Script-Writer-62850 commented 8 years ago

this is just a guess but on line 9 try removing the number on php edit do that with the apt-get line also, there is a symbolic package that points to php7.0

Schattenjager-RC commented 8 years ago

Unfortunately again no result, script output says: "You did not install the dependencies". But I installed all dependencies - curl php7.0-cli libnotify-bin (I have replaced php5-cli with php7.0-cli)

GM-Script-Writer-62850 commented 8 years ago

on line 9 change php5 to php and on line 5 change php5-cli to php7.0-cli then will install then, but i can't seem to get the script to actually find a newer kernel, i don't have time to mess with it any more this morning, i have to debug the php script next then make it work on php5 and php7

GM-Script-Writer-62850 commented 8 years ago

never mind missing dependency: php7.0-xml

Schattenjager-RC commented 8 years ago

Ok, I just changed on line 9 php5 to php and on line 8 changed php5-cli to php7.0-cli and also added there php7.0-xml And now everything works fine. Thanks a lot)

GM-Script-Writer-62850 commented 8 years ago

Official fix: a34558e + 43da879