sakaki- / gentoo-on-rpi-64bit

Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
GNU General Public License v3.0
925 stars 127 forks source link

TeamViewer on Gentoo #112

Closed kamil-homer closed 4 years ago

kamil-homer commented 4 years ago

Hello I'm trying to install TeamViewer via Emerge. However I'm getting some packages error.

`demouser@pi64 ~ $ emerge --ask net-misc/teamviewer

Local copy of remote index is up-to-date and will be used. This action requires superuser access... Would you like to add --pretend to options? [Yes/No] yes

These are the packages that would be merged, in order:

Calculating dependencies... done! [binary N ] dev-qt/qtdeclarative-5.12.4 USE="widgets -debug (-gles2) (-jit) -localstorage -test" [binary N ] dev-qt/qtquickcontrols-5.12.4 USE="widgets -debug -test" [binary N ] dev-qt/qtwebkit-5.212.0_pre20180120 USE="X gstreamer hyphen opengl printsupport -geolocation (-gles2) (-jit) -multimedia -nsplugin -orientation -qml -webp" [ebuild N *] net-misc/teamviewer-14.4.2669 [blocks B ] sys-auth/consolekit ("sys-auth/consolekit" is blocking net-misc/teamviewer-14.4.2669)

For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages

demouser@pi64 ~ $`

I'm not Linux pro user and I can't figure out how to solve it. Any tips?

Links: https://packages.gentoo.org/packages/net-misc/teamviewer https://community.teamviewer.com/t5/Knowledge-Base/How-to-install-TeamViewer-on-other-Linux-distributions/ta-p/30660 https://pastebin.com/SFkeawri

sakaki- commented 4 years ago

The above output is telling you that the teamviewer ebuild refuses to be installed on a system (like yours) which has consolekit present (and which, therefore, 'blocks' it). The relevant line is this one.

The underlying reason the block was put there by the ebuild author, is because the package (presumably) wants either full systemd, or elogind (systemd's logind extracted to a standalone package) to manage login sessions etc., rather than consolekit. See later in the ebuild for some further colour on this.

This is really an upstream issue: if you post a question to the Gentoo forums about installing teamviewer on a system with OpenRC init and consolekit installed, someone may be able to assist.

Note that in general, switching over to elogind is somewhat easier than a wholesale switch to systemd. Any of these alternatives is possible within Gentoo, but will require some recompilation work (as they aren't the native setup for this image).

hth, sakaki

ykla commented 4 years ago

net-misc/teamviewer seems not support arm

sakaki- commented 4 years ago

As mentioned, the best course here would be to post in the Gentoo forums, since this is really an upstream issue. Closing this now.