blindpet / MediaServerInstaller

Automated Home Media Server Installer
http://www.htpcguides.com
The Unlicense
59 stars 13 forks source link

OSMC and Debian Stretch #4

Open lowpeter opened 6 years ago

lowpeter commented 6 years ago

Hi,

Not an issue, more of a question, but unsure how to add a question!

Is this good for Debian Stretch (which OSMC is based on)?

Are all the applications using Systemctl to manage Systemd?

Thanks.

lowpeter commented 6 years ago

OK, tried it and got this:

`Reading package lists... Done Building dependency tree Reading state information... Done Package alsa-base is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'alsa-base' has no installation candidate install.sh: line 55: whiptail: command not found `

will need to do some research...

blindpet commented 6 years ago

Hi @lowpeter this will not work on OSMC as last I checked they have made some modifications that prevent the installer from working correctly. This installer should otherwise work on Debian Stretch, I used it on Ubuntu 16.04 last month without any issues.

lowpeter commented 6 years ago

Thanks for getting back to me. That is a shame. Will have to install each individually :(

blindpet commented 6 years ago

You can try doing this to get past the initial hurdle, open up the install.sh and remove the alsa-utils and alsa-base references


function updatecheck ()
{ 
apt-get clean   
if dpkg-query -W curl net-tools alsa-base alsa-utils debconf-utils git whiptail build-essential stunnel4 html2text apt-transport-https; then
return
else
debconf-apt-progress -- apt-get update
apt-get -y install sudo net-tools curl debconf-utils dnsutils unzip whiptail git build-essential alsa-base alsa-utils stunnel4 html2text apt-transport-https --force-yes
#debconf-apt-progress -- apt-get upgrade -y
fi
}
lowpeter commented 6 years ago

That is fantastic. The script ran with those removed. Installed a few of the apps - nzbget, couch potato, sickrage, headphones, HTPCManager etc.

Got quite a few crypto errors, but it got to the end. Seems to be having a problem installing PSUtil Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9TjFss/psutil/

At one point it was suggesting apt --fix-broken install but this did not resolve the issues.

Collecting psutil
  Using cached psutil-5.4.3.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: No module named setuptools

And a few other tings need looking into. Got a lot of configuring to and and then I'll see what really works or not.