Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native PC - Home Assistant installation fails #1145

Closed
hiscorebob opened this issue Sep 12, 2017 · 9 comments
Closed

Native PC - Home Assistant installation fails #1145

hiscorebob opened this issue Sep 12, 2017 · 9 comments
Milestone

Comments

@hiscorebob
Copy link

Creating a bug report/issue:

Required Information:

Additional Information (if applicable):

  • Software title? | Home Assistant
  • Can this issue be replicated on a fresh installation of DietPi? | Yes

Expected behaviour:

Home Assistant should be installed

Actual behaviour:

Installation stops with following error message :
E: Package 'libmysqlclient-dev' has no installation candidate
All Services remain stopped

Steps to reproduce:

Select "Home Assistant" for Installation
Start Installation

Did you submit a dietpi-bugreport?

6991a32f-cdb2-48ba-bae5-cfd82a846cc5-0

Extra details:

Tested other repositories (Global/US/UK)
Refreshed package info (apt-get update)

@Fourdee
Copy link
Collaborator

Fourdee commented Sep 13, 2017

@hiscorebob

Thanks for the report 👍

Package is unavailable in Stretch:
https://packages.debian.org/jessie/libmysqlclient-dev

As MariaDB is now the default SQL install on Stretch, this would need to be installed in its place:
https://packages.debian.org/stretch/libmariadbclient-dev

@Fourdee Fourdee added this to the v156 milestone Sep 13, 2017
@Fourdee
Copy link
Collaborator

Fourdee commented Sep 13, 2017

@sytone

Are you available to make the package changes based on $DISTRO in dietpi-software? (3=jessie,4=stretch)
https://github.com/Fourdee/DietPi/issues/1145#issuecomment-329201055

@sytone
Copy link
Contributor

sytone commented Sep 17, 2017

Will libmariadbclient-dev still work for python connections to MySQL databases. This was added as this is the common one used in HA installations to make configuration easier.

@Fourdee
Copy link
Collaborator

Fourdee commented Sep 18, 2017

@sytone
I cant see it being an issue, MariaDB==MySQL but we'd need to test it.

@Fourdee Fourdee modified the milestones: v156, v157 Sep 22, 2017
@sytone
Copy link
Contributor

sytone commented Sep 23, 2017

ok, ill try and get to it in the next few days. Is there a VM image for stretch around? If not what process are you using to make them. I'm taking the virtualbox images and converting them to hyper-v to make life simple for me.

@Fourdee
Copy link
Collaborator

Fourdee commented Sep 23, 2017

@sytone

Is there a VM image for stretch around?

Jessie currently.

You can upgrade:

  • Fresh install of VM image and DietPi setup completed with no changes
    Copy and paste all
DISTRO='stretch'
cat << _EOF_ > /etc/apt/sources.list
deb http://ftp.debian.org/debian/ $DISTRO main contrib non-free
deb http://ftp.debian.org/debian/ $DISTRO-updates main contrib non-free
deb http://security.debian.org $DISTRO/updates main contrib non-free
deb http://ftp.debian.org/debian/ $DISTRO-backports main contrib non-free
_EOF_

Then

apt-get update
apt-get dist-upgrade

Should be fine to use default options if any whiptail menus appear.

@Fourdee Fourdee modified the milestones: v157, v158 Oct 19, 2017
@sytone
Copy link
Contributor

sytone commented Oct 20, 2017

I have a update for ha in progress to deal with python. I’ll be adding this next.

@Fourdee
Copy link
Collaborator

Fourdee commented Oct 26, 2017

@hiscorebob
Copy link
Author

I have tested the "testing" branch, and can confirm that the Problem is solved. Home assistant installs and runs as expected.

Fourdee referenced this issue Nov 10, 2017
+ DietPi-Software | Resolved an issue with Home Assistant on Native PC
failing. Many thanks to @sytone :
https://github.com/Fourdee/DietPi/issues/1145

+ moOde beta 8 testing: https://github.com/Fourdee/DietPi/issues/1223
@Fourdee Fourdee mentioned this issue Nov 12, 2017
Fourdee referenced this issue Nov 12, 2017
v158
(12/11/17)

**Changes / Improvements / Optimizations:**

DietPi-Services | status: Improved this command to highlight working and detail failed services. Failed services will also be listed. 'dietpi-services status': https://github.com/Fourdee/DietPi/issues/1230

DietPi-Software | Google AIY: Now available for installation: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=9486#p9486

DietPi-Software | moOde: Initial pass adding into DietPi: https://github.com/Fourdee/DietPi/issues/1223

DietPi-Software | Gitea: Now available for installation. Many thanks to @TechDabbler for contributing this addition: https://github.com/Fourdee/DietPi/issues/686

DietPi-Software | Squeezelite recompiled with -DDSD, now supports DSD and DoP audio playback: https://github.com/Fourdee/DietPi/issues/1210

DietPi-Sotware | AudioPhonics Pi-SPC: Now available for installation. Power control module which lets you physically power off system using a button: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=9359#p9359

DietPi-Software | Raspotify: Now available for installation. Spotify Connect client for the Raspberry Pi (and other ARMv6/v7 devices) that Just Works™: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=9368#p9368

DietPi-Software | Sabnzbd: Updated to 2.3.1 for new installations only. Thanks @Invictaz : https://github.com/Fourdee/DietPi/issues/865#issuecomment-340282019

DietPi-Set_Software | Improved useradd/userdel functions. Please see sourcecode for details.

**Bug Fixes:**

General | Sparky SBC: Applied latest kernel (USB + ETH) stability patches, which will resolve loss of connection, audio device and URB errors. Thanks @sudeep.
General | Fixed kill-ssh-user-sessions-before-network.service, to prevent it always generating an error.

DietPi-Config | Corrected descriptions for Auto swapfile size, and, Ondemand as recommended CPU gov. Thanks @k-plan : https://github.com/Fourdee/DietPi/issues/1205

DietPi-Config | NAS: Resolved an issue where samba client share names, which contained spaces, would cause the mount the fail: https://github.com/Fourdee/DietPi/issues/1201

DietPi-Config | Rock64: Resolved an issue with incorrect card/device indexs for HDMI/3.5mm, thanks @BryanSmithDev : https://github.com/Fourdee/DietPi/issues/1102

DietPi-Set_Hardware | Soundcard: When setting USB-DAC, and it fails detection, the soundcard will be reset to 'none'.

DietPi-Set_Software | DietPi User: Resolved an issue where /etc/sudoers was being incorrectly written with additional \.

DietPi-Software | Uninstalling DietPi-Cam, will no longer remove the motion package, shared with Motioneye, thanks @vilhelmp: https://github.com/Fourdee/DietPi/issues/1194

DietPi-Software | Resolved an issue with Emby server (ARMv7/ARMv8) failing to install, due to missing packages not available in Debian repo: https://github.com/Fourdee/DietPi/issues/1150

DietPi-Software | Resolved an issue with 404 and Owncloud: https://github.com/Fourdee/DietPi/issues/1225

DietPi-Software | Resolved an issue with Home Assistant on Native PC failing. Many thanks to @sytone : https://github.com/Fourdee/DietPi/issues/1145

**Allo Web Interface v3:**

Roon | Resolved an issue where Roon was not generating unique IDs, resulting in multiple devices on the same network, having issues with Roon Core detection.

Squeezelite | Now supports DSD and DoP audio playback: https://github.com/Fourdee/DietPi/issues/1210

General | Added ability to set S24_3 bit depth modes for Shairport-sync and Squeezelite. Required by some DACs
This was referenced Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants