Cant upgrade to 4.2 : Component 'cool-solutions' is not yet available for newer release versions



Hi All,

I can’t upgrade to 4.2 :
root@dmlabucsmail001:/var/lib# univention-upgrade

Starting univention-upgrade. Current UCS version is 4.1-4 errata408

Checking for local repository: none
Checking for package updates: none
Checking for app updates: none
Checking for release updates: The update to UCS 4.2 is blocked because the component ‘cool-solutions’ is marked as required.


if I lauch this command :
dpkg -l | grep ^ii | awk ‘{ print $2 }’ | xargs apt-cache policy | grep -E ':$| (500|100) ’ | grep -b2 cool

331214- Table de version :
331235: 500 https: // cool-solutions/all/ Packages
331343- 100 /var/lib/dpkg/status
331376: 500 https: // cool-solutions/all/ Packages
331511- Table de version :

355539- 500 https: // 4.1-1/all/ Packages
355626- 500 https: // 4.1-0/all/ Packages
355713: 500 https: // cool-solutions/all/ Packages
355821- 500 https: // 4.0-4/all/ Packages
355908- 500 https: // 4.0-2/all/ Packages

366272- Table de version :
366293: 500 https: // cool-solutions/all/ Packages
366401- 100 /var/lib/dpkg/status
366434: 500 https: // cool-solutions/all/ Packages
366585- Table de version :

367011- Table de version :
367032: 500 https: // cool-solutions/all/ Packages
367140- 100 /var/lib/dpkg/status
367173: 500 https: // cool-solutions/all/ Packages
367300- Table de version :

Upgrade to 4.3 "Weitere Releaseupdates sind verfügbar.. 'cool-solutions' ist noch nicht für neuere Release-Aktualisierungen bereitgestellt worden"

You have some packages, that come from cool solutions (usercert and windowscert). However currently these cool solutions seem to be not released for newer versions, so if you need the packages, you would have to wait. If you do not need them, you can uninstall them and upgrade.

Edit: just to be clear, if you would workaround the restriction and a package is not properly working in 4.2 you could possibly destroy your system, so I would recommend to wait.


Thanks for your answer

Do you know when those package will be available for UCS 4.2 ?

Do you know which UCS module use those package ?



Those are additional functions (the packages) that enhance or alter the way UCS works. The “UCS module” for the cert packages could therefore be something with an enhacement to certification. Unfortunatly there is no timeframe for the development of cool solution packages. That will be done as the time and workload permits.


Thanks for the answer.

Do you know which component use this package, may be I can unistall them



You already posted the packages I think:

  • univention-ldap-usercert
  • univention-usercert
  • univention-windowscert

But check first if you really do not need them.



The Upgrade will fail if the following extension where installed before!


I ran into this problem yesterday

Do you want to continue [Y/n]? 
Custom preupdate script /var/lib/ not found
Checking for space on /var/cache/apt/archives: OK
Checking for space on /boot: OK
Checking for space on /: OK
Checking for package status: OK
Checking LDAP schema: 58f8d775 OVER: Loading Translog Overlay
58f8d775 OVER: db_init
58f8d775 OVER: Configuring Translog Overlay
58f8d775 OVER: Configured Translog Overlay to use file "/var/lib/univention-ldap/listener/listener"
58f8d775 UNKNOWN attributeDescription "UNIVENTIONCREATEREVOKECERTIFICATE" inserted.
58f8d775 UNKNOWN attributeDescription "UNIVENTIONCERTIFICATEDAYS" inserted.
58f8d775 OVER: db_close
# (65) Object class violation: unrecognized objectClass 'univentionManageCertificates'
dn: uid=mfrie,cn=users,dc=huf,dc=intranet

# (65) Object class violation: unrecognized objectClass 'univentionManageCertificates'
dn: cn=PC-08,cn=computers,dc=huf,dc=intranet

58f8d776 OVER: db_destroy

Calling joinscript 18python-univention-directory-manager.inst ...
2017-04-20 18:31:32.648822323+02:00 (in joinscript_init)
Traceback (most recent call last):
  File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 222, in doit
    output = univention.admincli.admin.doit(arglist)
  File "/usr/lib/pymodules/python2.7/univention/admincli/", line 406, in doit
    out = _doit(arglist)
  File "/usr/lib/pymodules/python2.7/univention/admincli/", line 534, in _doit
    co = univention.admin.config.config(configRegistry['ldap/master'])
  File "/usr/lib/pymodules/python2.7/univention/admin/", line 40, in __init__
    base = univention.admin.uldap.getBaseDN(host)
  File "/usr/lib/pymodules/python2.7/univention/admin/", line 136, in getBaseDN
    result = lo.search_s('', ldap.SCOPE_BASE, 'objectClass=*', ['NamingContexts'])
  File "/usr/lib/python2.7/dist-packages/ldap/", line 559, in search_s
    return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  File "/usr/lib/python2.7/dist-packages/ldap/", line 918, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "/usr/lib/python2.7/dist-packages/ldap/", line 865, in _apply_method_s
  File "/usr/lib/python2.7/dist-packages/ldap/", line 839, in reconnect
    raise e
SERVER_DOWN: {'desc': "Can't contact LDAP server"}
Joinscript 18python-univention-directory-manager.inst finished with exitcode 3
psmisc (22.21-2) wird eingerichtet ...
slapd (2.4.42+dfsg-2.A~ wird eingerichtet ...
File: /etc/init.d/slapd
Multifile: /etc/ldap/slapd.conf
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.42+dfsg-2.219.201612021613... done.
  Moving old database directories to /var/backups:
  - directory dc=huf,dc=intranet... done.
  Loading from /var/backups/slapd-2.4.42+dfsg-2.219.201612021613: 
  - directory dc=huf,dc=intranet... failed.

Loading the database from the LDIF dump failed with the following
error while running slapadd:
    58f8e2a6 OVER: Loading Translog Overlay
    58f8e2a7 OVER: db_init
    58f8e2a7 OVER: Configuring Translog Overlay
    58f8e2a7 OVER: Configured Translog Overlay to use file "/var/lib/univention-ldap/listener/listener"
    58f8e2a7 <= str2entry: str2ad(UNIVENTIONCERTIFICATEDAYS): attribute type undefined
    slapadd: could not parse entry (line=28107)
    58f8e2a7 OVER: db_close
    58f8e2a7 OVER: db_destroy
dpkg: Fehler beim Bearbeiten des Paketes slapd (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
univention-ldap-client (13.0.7-5A~ wird eingerichtet ...
Failed to process Subfile /etc/univention/templates/files/etc/apache2/sites-available/default.d/10univention-appcenter
Failed to process Subfile /etc/univention/templates/files/etc/apache2/sites-available/default.d/00start
Failed to process Subfile /etc/univention/templates/files/etc/apache2/sites-available/default.d/99end
File: /etc/ldap/ldap.conf
Not updating ldap/master/port
Not updating ldap/server/port
Trigger für libc-bin (2.19-18+deb8u7) werden verarbeitet ...
Trigger für python-support ( werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: Failed to execute "apt-get -o DPkg::Options::=--force-confold -o DPkg::Options::=--force-overwrite -o DPkg::Options::=--force-overwrite-dir --trivial-only=no --assume-yes --quiet=1 -u dist-upgrade"
exitcode of univention-updater: 1


Upgrade 4.1->4.2 fail if usercert/windowscert extension was installed


Only deactivate the repo, leave packages installed

If u remove the packages before upgrade it will fail