-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
Installing Home Assistant on ODROID C1 leads to ruin #1556
Comments
Additional notes: Installing libglib2.0-dev yields the following:
|
Additional notes: Installing libsqlite3-dev yields the following:
|
@WineSoaked Hmm packages from different repos seem to be mixed, Debian stable and backports at least. Usually this should be no problem, as backports contain all necessary dependencies, but if other packages then depend on the stable version packages... should no occur on just Debian repo as far as I know, but in your case Odroid repos join as well. I will try to replicate on Jessie VM. If no issue there, it is due to Odroid specific repo and we have to find a way to avoid those mixtures. |
Odroid C1 sources.list : https://github.com/Fourdee/DietPi/issues/1385#issuecomment-357755338 Fourdee answer: https://github.com/Fourdee/DietPi/issues/1385#issuecomment-357931542 If I'm back to home, I can have a look into If nothing helps, I can build a new one from |
@k-plan I will check our installation scripts about that. €: On Jessie VM installation works fine. As ffmpeg package is not available on Jessie repo, it gets pulled from jessie-backports automatically with some dependencies. But the libraries @WineSoaked shows above, are all pulled from non-backports:
The question is, if on Odroid one of build-essentials, git or ffmpeg is fulled from Meveric repo with different dependencies (backports)? @WineSoaked or anybody with Odroid:
|
I wanted to note that some of the cross-dependency problems look like they
require a very specific version of a dependency, such that when a more
recent version of the package is already loaded, it starts raining frogs.
I am well-versed in building ffmpeg for SBC's from scratch because the
package managers don't include it.
Thanks for all the knot-tying. There's no raging hurry on this, as this is
me experimenting with DietPi, and I have several other SBC's that can be
put into service in the meantime.
…On Mon, Feb 26, 2018 at 11:55 AM, MichaIng ***@***.***> wrote:
@k-plan <https://github.com/k-plan>
The additional repos should be generally no problem. But if some package
is pulled from backports with it's dependencies (libsqlite3-0
v3.16.2-3~bpo8+1) and then another software is installed without -t
jessie-backports (libsqlite3-dev), then it want's to pull it's version
similar dependency from non-backports and fails, as they were already
needed by installed packages... Now I wrote a knot into my brain 🤣.
I will check our installation scripts about that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/Fourdee/DietPi/issues/1556#issuecomment-368629068>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAoO1e_VVQF7-ME5rUTRvf8ail8zizHiks5tYww1gaJpZM4SSZ_C>
.
|
@WineSoaked Do you have a change to share the output of |
I can do that tonight, I'm away from the Odroid right now.
…On Mon, Feb 26, 2018 at 1:39 PM, MichaIng ***@***.***> wrote:
@WineSoaked <https://github.com/winesoaked>
Jep, exactly the cross-dependencies seem to be the issue in your case. As
said I am just wondering, why this does not happen on my VM. ffmpeg is
available on default Debian repo since Stretch and for Jessie as said we
pull it from backports. But the as well pulled dependency libraries are not
related to sqlite or libglib where you face the issues.
Do you have a change to share the output of apt-cache showpkg ffmpeg, so
I can see if there is something different on Odroids (with their additional
repos).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/Fourdee/DietPi/issues/1556#issuecomment-368659952>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAoO1VOCtnKrCoho5f66MmALcS_pYKWaks5tYySPgaJpZM4SSZ_C>
.
|
For your viewing pleasure:
|
Looks good, dependencies are identical, just version number of Meverics is higher, but actually we lowered it's backports pin priority in the past due to (obviously temporary) dependency errors (others than here): https://github.com/Fourdee/DietPi/issues/1273 I am not sure how it is handled now with different version numbers, but all of this should have no effect on
But someone with Odroid has to investigate. |
I'd be happy to investigate, but as I know nothing of the backport repo you
all have, I'm lacking a good bit of context. Oh, and free time, but as this
is my ticket, I'm somewhat invested.
Any rtfm available for your backport dependency strategy?
…On Feb 27, 2018 3:03 AM, "MichaIng" ***@***.***> wrote:
Looks good, dependencies are identical, just version number of Meverics is
higher, but actually we lowered it's backports pin priority in the past due
to (obviously temporary) dependency errors (others than here): #1273
<https://github.com/Fourdee/DietPi/issues/1273>
I am not sure how it is handled now with different version numbers, but
all of this should have no effect on libsqlite3-0 being installed from
backports: Separate APT call without any -t option, SQLite + deps should
be pulled just from default Jessie repo.
Someone with Odroid has to investigate.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/Fourdee/DietPi/issues/1556#issuecomment-368834930>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAoO1XxgL616es7I2bNvEhGjo8KwG2Zfks5tY-ERgaJpZM4SSZ_C>
.
|
@WineSoaked But just to test/exclude, if you find time, try:
Maybe you need to clean possible installed packages from those first, so no backports packages are left (check via |
Will do, probably won't have a report until tomorrow (about 24 hours from
now).
…On Tue, Feb 27, 2018 at 3:32 PM, MichaIng ***@***.***> wrote:
@WineSoaked <https://github.com/winesoaked>
I just checked, an we lower apt pin priority for the Odroid specific
backports only for XU4 somehow. So on your device, it should be used
instead of debian default backports. But I would wonder, if this generally
causes errors, as Meverics image+repos is generally well tested/much used
and shouldn't cause such problems on default apt installations, without
much coding magic, which ffmpeg, sqlite, git and build-essentials all
basically are.
But just to test/exclude, if you find time, try:
cat << _EOF_ > /etc/apt/preferences.d/backports
Package: *
Pin: release a=jessie-backports
Pin: origin "fuzon.co.uk"
Pin-Priority: 99
_EOF_
Maybe you need to clean possible installed packages from those first, so
no backports packages are left (check via dpkg -l | grep bpo8).
Then apt clean+update+retry installation via dietpi-software.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/Fourdee/DietPi/issues/1556#issuecomment-369065685>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAoO1eyM4gOpYZc1WxcnLpxpw5TYWE97ks5tZJCWgaJpZM4SSZ_C>
.
|
In fact, I will reflash the emmc on the C1 with the image from the site, make the change to backports after the initial installation (i.e. I won't install any optional packages with |
I am pleased to report that the updating the pin priority for apt was the trick. I did the following:
And so it seems that we have a solution of sorts. There was an existing file in |
@WineSoaked I am still wondering why Meverics backports produce errors here. Would be interesting, what is actually different on his untouched image, as there for sure ffmpeg installation will work... Would be nice, if we could also manage this, as his repo simply provides the more current version and possibly optimized for Odroid devices. @Fourdee €: PR is up: https://github.com/Fourdee/DietPi/pull/1571 |
Closing this now that the merge has happened. Glad it worked out smoothly. |
**v6.3** (07/03/18) **Image Changes:** Native PC BIOS | Image now available: http://dietpi.com/download NanoPi Neo | Image now available (based on FriendlyARM official image): https://github.com/Fourdee/DietPi/issues/1588 **Changes / Improvements / Optimizations:** General | DietPi now uses its own "dietpi-postboot.service" to initiate dietpi-services, instead of /etc/rc.local. The latter will be reset on update, but in case of manual adjustments, a backup is safed to dietpi_userdata. The initiating "rc-local.service" will stay in place as well, so /etc/rc.local can be used as before: https://github.com/Fourdee/DietPi/issues/1376 General | Additional getty's (2-6) are now disabled via mask. This reduces resource usage for unneeded screens: https://github.com/Fourdee/DietPi/issues/1541 General | APT: 'Disabled install recommends' is now standard and default across all DietPi images: https://github.com/Fourdee/DietPi/issues/1482#issuecomment-368031044 General | Sparky SBC kernel patches: Pro-Ject-S2 dac DSD native support on sparky, also other few dac ids. Thanks @sudeep. General | /tmp tmpfs size is now automatically set to 50% of RAM+SWAP, (previously 50% RAM only). To prevent out of memory errors during certain software installations (eg: Mono), where the swapfile can be used only when needed: https://github.com/Fourdee/DietPi/issues/1027#issuecomment-369435049 DietPi-Automation | dietpi.txt entries and support added for WPA2 Enterprise (WPA-EAP). Many thanks to @Symo for implementing this feature!: https://github.com/Fourdee/DietPi/pull/1547 DietPi-Backup | Once backup is completed, you will be asked if you wish to view the log file, for the full rsync log. DietPi-Banner | Improved notification when no network is detected: https://github.com/Fourdee/DietPi/issues/1576 DietPi-Globals | G_WHIP*: Further additions and improvements, including automatic scaling: https://github.com/Fourdee/DietPi/issues/1546 https://github.com/Fourdee/DietPi/issues/1546#issuecomment-370173876 DietPi-LetsEncrypt | Lighttpd: Added support for HSTS (HTTP Strict Transport Security): https://github.com/Fourdee/DietPi/pull/1553 DietPi-LetsEncrypt | Minor rework and cleaning, using now /etc/systemd/system/certbot.service.d/dietpi-script.conf for web server specific renewal hooks: https://github.com/Fourdee/DietPi/pull/1553 DietPi-Software | Shairport-sync: Updated to 3.1.7 for all devices. Also enabled for x86_64: https://github.com/Fourdee/DietPi/issues/1548 DietPi-Software | Proftp: Now defaults to dietpi user with root login off: https://github.com/Fourdee/DietPi/issues/1529#issuecomment-367644593 DietPi-Software | RPi Cam Web Interface (Previously DietPiCam): Updated to 6.4.17 and resolves previously failed installation. URL has also changed to http://ip/rpicam : https://github.com/Fourdee/DietPi/issues/1512 DietPi-Software | Sonarr: Now uses the develop repo branch, inline with our Radarr install: https://github.com/Fourdee/DietPi/issues/1566#issuecomment-369334473 DietPi-Software | Mono: Raspbian dist is now used for RPi devices: https://github.com/Fourdee/DietPi/issues/1566 DietPi-Software | FFmpeg: Fix backports dependency issues for all Odroids: https://github.com/Fourdee/DietPi/issues/1556 DietPi-Software | Improved UI options during NTPD failure. You will now be given multiple options that will assist in resolving NTPD time sync issues on your network: https://github.com/Fourdee/DietPi/issues/1580#issuecomment-370153882 DietPi-Software | NTPD check will now run after the internet connection test, to prevent unnecessary delay when network is not yet configured: DietPi-Software | SubSonic 5: Replaced with Airsonic: https://github.com/Fourdee/DietPi/issues/1585 DietPi-Software | Aria2: Optimized installation and connection settings based on hardware. Now uses a configuration file '/var/lib/dietpi/dietpi-software/installed/aria2.conf', which will allow users to change aria2 settings permanently. Please note, the aria2-webui does not support saving settings after session shutdown, this is a known limitation with the software, please use the aria2.conf to make changes: https://github.com/Fourdee/DietPi/issues/1575 DietPi-Sync | Once sync is completed, you will be asked if you wish to view the log file, for the full rsync log. DietPi-Update | G_AGUP/G_AGUG: Now runs prior to our patch system. Ensuring APT is upto date during our updates: http://dietpi.com/phpbb/viewtopic.php?f=11&t=2894&p=11150#p11149 **Bug Fixes:** General | G_AGUG: --allow-unauthenticated added for Stretch+ by default (inline with other G_AG commands) General | Resolved POSIX issues with dropbear (limitation) and SSH sessions. We now detect for presence of POSIX and set user selected locale during session load: https://github.com/Fourdee/DietPi/issues/1540 General | Resolved multiple issues with failed GNU key management during APT installs from non-standard repos. Dirmngr is now installed on all DietPi systems by default: https://github.com/Fourdee/DietPi/issues/1388 General | Resolved basic APT issues with Meveric's repo and failing dependencies. Debian repo is now used in the first instance: https://github.com/Fourdee/DietPi/pull/1571#issuecomment-369973745 General | DietPi-Globals are now loaded prior to login script. Ensures aliases are functional during exit of 1st run setup: https://github.com/Fourdee/DietPi/issues/1580#issuecomment-370149636 DietPi-Config | Resolved an issue with NTPD mode #4 (systemd) reporting dbus errors, dbus is now installed on demand: https://github.com/Fourdee/DietPi/issues/1580#issuecomment-370173703 DietPi-LetsEncrypt | Lighttpd/Minio: Fixed auto renewal: https://github.com/Fourdee/DietPi/pull/1553 DietPi-LetsEncrypt | Minio: Fixed an issue, where port 443 listening would fail due to missing libcap2-bin/setcap package: https://github.com/Fourdee/DietPi/pull/1553#issuecomment-368261474 DietPi-Software | Radarr/Sonarr: Reinstall patch, to bring binaries upto date, which resolves issues with the latest mono lib version: https://github.com/Fourdee/DietPi/issues/1566 DietPi-Software | Desktops: USB drive removed from .gtk-bookmarks as no longer used in DietPi. DietPi-Software | Shairport-Sync: Resolved ARMv6 binary Illegal instruction: https://github.com/Fourdee/DietPi/issues/1548 DietPi-Software | Lighttpd: Resolved an issue with failed enable of php module, due to perl being a undocumented pre-req for 'lighttpd-enable-mod'. DietPi-Software | MotionEye: Resolved failed installation due to missing build-essential pre-req: https://github.com/Fourdee/DietPi/issues/1564 DietPi-Software | SubSonic6: Resolved broken URL link. Binary now hosted on dietpi.com: https://github.com/Fourdee/DietPi/issues/1582 DietPi-Services | Service stop order is now reversed: https://github.com/Fourdee/DietPi/issues/1462#issue-294140894 DietPi-Set_Hardware | Resolved issues with serial consoles not be disabled without dbus installed. Serial consoles are now masked/unmasked (previously disabled): https://github.com/Fourdee/DietPi/issues/1482 DietPi-Update | Resolved an issue where .update_available would exist during reboot, causing banner to display update available incorrectly: https://github.com/Fourdee/DietPi/issues/1535
FWIW I experienced the error:
followed by running |
Required Information:
Additional Information (if applicable):
Expected behaviour:
Ran the dietpi-software on first install. Picked the "Home Assistant" option on the Optimized Software package menu as part of the software load. Expected an error-free installation.
Actual behaviour:
On dietpi-software (first install) and then on a retry with dietpi-launcher, got several "error handler" messages (that were resumable) for ffmpeg and a raft of dev tools:
Steps to reproduce:
I did this set of steps many (many, many) times, and the outcome is identical. I have not tried to install the packages myself using apt-get.
Additional logs:
The text was updated successfully, but these errors were encountered: