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

Update vedirect-interface to use new libevent #2

Closed
dpackham opened this issue Aug 4, 2020 · 9 comments
Closed

Update vedirect-interface to use new libevent #2

dpackham opened this issue Aug 4, 2020 · 9 comments

Comments

@dpackham
Copy link

dpackham commented Aug 4, 2020

Trying to install venus code on a new raspberry pi install on a pi3b+

I get the following errors. I cant run jesse on the pi3b+ as it will not boot due to missing firmware

root@raspberrypi:~# apt install vedirect-interface
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
vedirect-interface : Depends: glibc-deb but it is not installable
Depends: libevent-2.0-5 (>= 2.0.21-stable-2+deb8u1) but it is not installable
Depends: libevent-pthreads-2.0-5 (>= 2.0.21-stable-2+deb8u1) but it is not installable
E: Unable to correct problems, you have held broken packages.

@jhofstee
Copy link
Owner

jhofstee commented Sep 8, 2020

ok, part 1 is done, the venus-bot now also generates the meta data for buster, see https://github.com/venus-bot/meta-bin-deb-generated/tree/master/meta-generated.

@ersingencturk
Copy link

so how is this meta data useful to solve this ?

@Juweii
Copy link

Juweii commented Jan 10, 2021

I have the same problem when trying to upgrade vedirect-interface from the installed 3.45-r0 to the current 3.50-1.0 on raspbian buster:

# apt upgrade vedirect-interface
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 vedirect-interface : Hängt ab von: glibc-deb ist aber nicht installierbar
E: Beschädigte Pakete

The depends got changed and glibc-deb is not part of the distro:

# apt-cache show vedirect-interface
Package: vedirect-interface
Version: 3.50-1.0
Priority: optional
Section: base
Filename: pool/main/v/vedirect-interface/vedirect-interface_3.50-1.0_armhf.deb
Size: 48382
SHA256: 8491e60879558bb3eb9e001614d991705f0652c022bcc912426bdcca51ad1148
SHA1: ed79bc7bea789987d6d4bc09ce49a9fdd7264aa5
MD5sum: 6e203e66fa8b0563c8cdb151cf2adce1
Description: vedirect-interface version 3.50-1
 ve.direct daemon
Description-md5: 99eb59774e043211fa553630fb5373c1
Maintainer: OE-Core Developers <openembedded-core@lists.openembedded.org>
Architecture: armhf
OE: vedirect-interface
PackageArch: arm1176jzfshf-vfp
Depends: bash, daemontools-run, glibc-deb, libc6 (>= 2.19-18+deb8u10), libdbus-1-3 (>= 1.8.22-0+deb8u3), libevent-2.0-5 (>= 2.0.21-stable-2+deb8u1), libevent-pthreads-2.0-5 (>= 2.0.21-stable-2+deb8u1)

Package: vedirect-interface
Status: install ok installed
Priority: optional
Section: base
Maintainer: OE-Core Developers <openembedded-core@lists.openembedded.org>
Architecture: armhf
Version: 3.45-r0.0
Depends: bash, daemontools-run, libc6 (>= 2.19-18+deb8u10), libdbus-1-3 (>= 1.8.22-0+deb8u2), libevent-2.0-5 (>= 2.0.21-stable-2+deb8u1), libevent-pthreads-2.0-5 (>= 2.0.21-stable-2+deb8u1)
Description: vedirect-interface version 3.45-r0
 ve.direct daemon
Description-md5: f78064ae106160a271468bff49db4eda
OE: vedirect-interface
PackageArch: arm1176jzfshf-vfp

3.45 worked pretty well... So i will keep it until a fixed version is available in the apt repo (https://updates.victronenergy.com/feeds/venus/release/packages/raspbian-jessie)

@jhofstee
Copy link
Owner

I included it in the 2.70 build, victronenergy/venus@bc300d3.
Attached as binary for the rpi, v2.62 will be released before, so it might not yet be in the regular feeds. Untested btw.

vedirect-interface_3.57-1.0_armhf.deb.gz

@jhofstee
Copy link
Owner

so how is this meta data useful to solve this ?

Because the meta data contains the version of libevent to build against, and specify the dependencies in the deb file.

@jhofstee
Copy link
Owner

The depends got changed and glibc-deb is not part of the distro:

Right, I thought this issue was about needing a newer libevent. While that is an issue for some Debian versions, the glibc-deb dependency is the actual problem for this issue. I will have a look where that is coming from if I have time. That shouldn't be there..

jhofstee pushed a commit that referenced this issue Feb 3, 2021
For proper string conversion some gconf packages need to be available.
While they are packaged seperatly in OE they don't seem to be in Debian.
So RDEPEND on libc6. Since it is a RDEPEND an not a DEPEND there is no
script figuring out what the exact RDEPEND should be.

#2
@Dukat-Gul
Copy link

It seems the general Debian/Raspbian repos have been removed.
https://updates.victronenergy.com/feeds/venus/release/packages/raspbian-jessie is 404 Not Found
https://updates.victronenergy.com/feeds/venus/release/packages/debian-jessie is also 404
in the past buster was available for both - seems to have all gone.
The guide
https://github.com/victronenergy/venus/wiki/install-venus-packages-on-Debian
is obviously no longer up to date.

I had a look why the package index is not created correctly, victronenergy/openembedded-core@482f234 should fix that. It should be fixed in Venus v2.70~13.

@Dukat-Gul
Copy link

Seems buster for raspbian and debian have been put back in June 2022

https://updates.victronenergy.com/feeds/venus/candidate/packages/

@jhofstee
Copy link
Owner

jhofstee commented Jul 15, 2022

Yes they were lost by accident, but they are back again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants