Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Can't install sssd

Hi,

 

I've upgraded my first node from version 2.53 to 2.61.

I also need some hardening thus I tried to install sssd and faced this issue.

root@petasan04:~# cat /etc/apt/sources.list

# PetaSAN updates
deb http://archive.petasan.org/repo/  petasan-v2 updates

# main
deb http://archive.ubuntu.com/ubuntu/ bionic main
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main
deb http://archive.ubuntu.com/ubuntu/ bionic-security main

# universe
deb http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://archive.ubuntu.com/ubuntu/ bionic-security universe

# multiverse universe
#deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
#deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
#deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse

root@petasan04:~# apt install sssd
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:
sssd : Depends: python3-sss (= 1.16.1-1ubuntu1.6) but it is not going to be installed
Depends: sssd-ad (= 1.16.1-1ubuntu1.6) but it is not going to be installed
Depends: sssd-common (= 1.16.1-1ubuntu1.6) but it is not going to be installed
Depends: sssd-ipa (= 1.16.1-1ubuntu1.6) but it is not going to be installed
Depends: sssd-krb5 (= 1.16.1-1ubuntu1.6) but it is not going to be installed
Depends: sssd-ldap (= 1.16.1-1ubuntu1.6) but it is not going to be installed
Depends: sssd-proxy (= 1.16.1-1ubuntu1.6) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Any advise will be welcome.

Thank you,

Charlie

python3-sss : Depends: libldb1 (>= 0.9.21) but it is not going to be installed

Unfortunately that could happen since we do build some updated components over the base Ubuntu 18.04 image. The error is due to our updated build of Samba (for CIFS/SMB) to use ver 4.11 rather than 4.7 which is the base Ubuntu. The new version is required to keep with latest Ceph-Samba integrations but it relies on an updated libldb2 vs libldb1.  python3-sss in Ubuntu 20.04 has been updated to libldb2

If you really require these sssd packages your best bet is to build from recent sources which require libldb2

Thank you for this perfect clarification. You guys are really doing a great job.

I will try to find a workaround and keep you in touch if I succeed.

Thank you again,

Have a good week-end.

Charlie