Debian-Stretch as Freeipa-Client
Hello All,
with the arrival of Debian Stretch, I'm taking my first steps in the Debian Hemisphere. After working on other systems with Mate Desktop, I think that Stretch-with-Mate is impressive. But I'm stuck at connecting to Freeipa, using freeipa-client. I read it can be done in Jessie using Numeezi repo, and that it's in Sid-unstable. But is there no way it can be done in Stretch? Many thanks, J. |
you could try installing from source seems pretty straight forward from the build.txt file inside the tarball.
Code:
$ autoreconf -i https://wiki.debian.org/AptPreferences Make sure you thoroughly read the documentation on the preferences file and pinning before considering this as an option. |
Quote:
how are you stuck? you don't know how to install it? or you installed it, and it doesn't run? for both cases: commands issued, errors /messages received? ps: beware not to add any ubuntu stuff to a debian system! |
Hello All,
thanks for helping me out. My apologies for not replying sooner. * I will nog install any Ubuntu stuff * the pinning looks interesting, thanks for that tip. * I tried the tarball, all though I'm thinking of installing some 50+ laptops....via apt-get would be easier. I got as far as: johan@debian:/tmp/freeipa/freeipa-4.6.1$ autoreconf -i -bash: autoreconf: opdracht niet gevonden johan@debian:/tmp/freeipa/freeipa-4.6.1$ I'll try further with the tarball, I feel I should be able to do this.... greetings, Johan |
opdracht niet gevonden = assignment not found (or so says google translate)
Well that's not a very clear or helpful message... Might be an issue with your build environment, Is the package autoconf installed ? sudo apt-get install build-essential autoconf |
Quote:
|
Compiling on Debian is not hard, there are very good tutorials available. Make sure you use a Debian tutorial and not a generic tutorial. You must compile the "Debian way"
https://wiki.debian.org/BuildingTutorial Once you built the package, you have a .deb file. You can copy this to any machine and run Code:
dpkg -i yourpackage.deb Code:
apt-get install -f Alternatively, you can open /etc/apt/sources.list and add this line: Code:
deb http://httpredir.debian.org/debian/ sid main Code:
apt-get update After you are done installing, remove the line mentioning "sid" or comment it from sources.list. I know it is unsmart but I am too lazy to explain pinning. Note that all these commands above are run as root or sudo. Do not compile or build as root. jlinkels |
Quote:
http://forums.debian.net/viewtopic.php?f=16&t=38976 and https://wiki.debian.org/SimpleBackportCreation Quote:
|
Hello All,
thanks for the useful replies. Following this guide https://wiki.debian.org/BuildingTutorial I have been able to build freeipa .deb packages. I will test these asap. greetings, J. |
Hello,
I have to admit that on a newly installed Debian Stretch, I cannot get my self-compiled freeipa-client installed. After running dpkg -i freeipa-client_4.4.4-1+b1_amd64.deb and apt-get install -f a bunch of packages get installed but not freeipa-client. root@kvanheste:~# apt-get install -f Pakketlijsten worden ingelezen... Klaar Boom van vereisten wordt opgebouwd De statusinformatie wordt gelezen... Klaar Vereisten worden gecorrigeerd... Klaar De volgende extra pakketten zullen geïnstalleerd worden: curl krb5-config krb5-user libcurl3 libgssrpc4 libkadm5clnt-mit11 libkadm5srv-mit11 libkdb5-8 libsasl2-modules-gssapi-mit Voorgestelde pakketten: krb5-doc De volgende pakketten zullen VERWIJDERD worden: freeipa-client De volgende NIEUWE pakketten zullen geïnstalleerd worden: curl krb5-config krb5-user libcurl3 libgssrpc4 libkadm5clnt-mit11 libkadm5srv-mit11 libkdb5-8 libsasl2-modules-gssapi-mit 0 opgewaardeerd, 9 nieuw geïnstalleerd, 1 te verwijderen en 0 niet opgewaardeerd. 1 niet volledig geïnstalleerd of verwijderd. Er moeten 1.099 kB aan archieven opgehaald worden. Na deze bewerking zal er 2.110 kB extra schijfruimte gebruikt worden. Wilt u doorgaan? [J/n] J So I will test this with the help of Debian Sid. Greetings, J. |
It is sad. Apparently apt sees an incompatibility between freeipa and other installed packages, and it does not tell you which one.
What happened after you ran: Code:
dpkg -i freeipa-client_4.4.4-1+b1_amd64.deb If it did not fail you do not need to run Code:
apt-get install -f If you do the sid thing, be aware that a part of your installation will run Sid after that. That is usually fine, but don't do it on production machines. It can break your installation. I know it was my own recommendation, and I do such things myself, but others warn for it. jlinkels |
on a side note, please prepend 'LC_ALL=C' to every command whose output you paste here.
it doesn't affect the command itself, just the language displayed. also, from your previous post, you show us the output of 'apt install -f', but not of the previous dpkg command??? |
Hello All,
the output would be: root@debian:/tmp# LC_ALL=C dpkg -i freeipa-client_4.4.4-1+b1_amd64.deb (Reading database ... 143613 files and directories currently installed.) Preparing to unpack freeipa-client_4.4.4-1+b1_amd64.deb ... Unpacking freeipa-client (4.4.4-1+b1) over (4.4.4-1+b1) ... dpkg: dependency problems prevent configuration of freeipa-client: freeipa-client depends on bind9utils; however: Package bind9utils is not installed. freeipa-client depends on certmonger (>= 0.78.6-3); however: Package certmonger is not installed. freeipa-client depends on curl; however: Package curl is not installed. freeipa-client depends on freeipa-common (= 4.4.4-1); however: Package freeipa-common is not installed. freeipa-client depends on krb5-user; however: Package krb5-user is not installed. freeipa-client depends on libcurl3 (>= 7.22.0); however: Package libcurl3 is not installed. freeipa-client depends on libnss3-tools; however: Package libnss3-tools is not installed. freeipa-client depends on libnss-sss; however: Package libnss-sss is not installed. freeipa-client depends on libpam-sss; however: Package libpam-sss is not installed. freeipa-client depends on libsasl2-modules-gssapi-mit; however: Package libsasl2-modules-gssapi-mit is not installed. freeipa-client depends on libsss-sudo; however: Package libsss-sudo is not installed. freeipa-client depends on libxmlrpc-core-c3 (>= 1.16.33-3.1ubuntu5); however: Package libxmlrpc-core-c3 is not installed. freeipa-client depends on oddjob-mkhomedir; however: Package oddjob-mkhomedir is not installed. freeipa-client depends on python-dnspython; however: Package python-dnspython is not installed. freeipa-client depends on python-ipaclient (= 4.4.4-1); however: Package python-ipaclient is not installed. freeipa-client depends on python-gssapi; however: Package python-gssapi is not installed. freeipa-client depends on python-ldap; however: Package python-ldap is not installed. freeipa-client depends on sssd (>= 1.14.0); however: Package sssd is not installed. freeipa-client depends on libbasicobjects0 (>= 0.4.0); however: Package libbasicobjects0 is not installed. freeipa-client depends on libcollection4 (>= 0.4.0); however: Package libcollection4 is not installed. freeipa-client depends on libcurl3-nss (>= 7.23.1); however: Package libcurl3-nss is not installed. freeipa-client depends on libini-config5 (>= 0.4.0); however: Package libini-config5 is not installed. freeipa-client depends on libref-array1 (>= 0.4.0); however: Package libref-array1 is not installed. dpkg: error processing package freeipa-client (--install): dependency problems - leaving unconfigured Processing triggers for man-db (2.7.6.1-2) ... Errors were encountered while processing: freeipa-client greetings, J. |
Hello All,
if I may ask an additional question: now that I'm testing this on Sid, should I send other questions to a specific Debian group?+ When running root@kvanheste:~# LC_ALL=C apt-cache show freeipa-client I see mention of freeipa-devel list. Package: freeipa-client Source: freeipa Version: 4.4.4-3 Installed-Size: 394 Maintainer: Debian FreeIPA Team <pkg-freeipa-devel@lists.alioth.debian.org> Greetings, J. |
Just to get it straight: first you compiled freeipa on your Stretch system. You tried to run dpkg -i on freeipa.deb. But that failed. The output of dpkg is not posted here.
Then (your last post) you say that you run it on Sid. As I read it, you ran the dpkg -i on Sid and that produced all the dependency errors. It both of my statements are true, I take it you are now trying to install freeipa on Sid. In that case it should be much easier to simply run Code:
apt-get install freeipa-client If you are running apt-get install freeipa client on a Sid system there should be no reason that it cannot pull in dependencies. Apt-get does pull in dependencies, dpkg does not. If there is a bug in the package (incorrect dependencies or so) then it suffices to report a Debian bug. No special process for Sid packages. The maintainer will get and see the bug report. But you should make sure it is a bug and not a system configuration error. jlinkels |
All times are GMT -5. The time now is 03:58 PM. |