Problem: univention-app Shows Wrong Information

Problem: univention-app Shows Wrong Information About Apps

You notice univention-app info output does not show an app (ie ucsschool) but you are sure this app is installed:

root@lenaedu:/# univention-app info
UCS: 4.4-0 errata109
Installed: cups=2.2.1 samba4=4.10 squid=3.5
Upgradable:

By verifying the package database states the app packages seem to be installed:

root@lenaedu:/# dpkg -l| grep ii| grep ucs-school
ii  python-ucs-school                                   12.1.1-6A~4.4.0.201905061453                     all          UCS@school - common Python modules
ii  shell-ucs-school                                    12.1.1-6A~4.4.0.201905061453                     all          UCS@school - common shell functions
ii  ucs-school-branding                                 8.0.0-0A~4.4.0.201902111516                      all          UCS@school - branding for UMC frontend
ii  ucs-school-info                                     9.0.0-0A~4.4.0.201902111517                      all          UCS@school: provides info script
ii  ucs-school-l10n-fr                                  4.0.0-1A~4.4.0.201902121520                      all          UCS Management Console translation files
ii  ucs-school-netlogon                                 9.0.0-0A~4.4.0.201902111522                      all          UCS@school: netlogon template
ii  ucs-school-netlogon-user-logonscripts               15.0.0-1A~4.4.0.201902190837                     all          UCS@school userspecific netlogon scripts
ii  ucs-school-old-homedirs                             14.0.0-0A~4.4.0.201902111524                     all          UCS@school listener module to move away obsolete home directories
ii  ucs-school-old-sharedirs                            14.0.0-0A~4.4.0.201902111525                     all          UCS@School listener module to move away obsolete share directories
ii  ucs-school-s4-branch-site                           7.0.0-0A~4.4.0.201902111528                      all          UCS@school Samba4 branch site configuration
ii  ucs-school-slave                                    12.0.1-1A~4.4.0.201904011404                     all          UCS@school meta package for UCS DC Slave System
[...]

Solution

If the packages do not appear as installed try installing by univention-app install ucsschool. If this does not succeed, proceed with the next step.

Step 1: Run univention-app update

univention-app update does not give any output:

root@lenaedu:/# univention-app update
root@lenaedu:/#

Step 2: Remove App-Cache

Remove the existing app- cache from your filesystem:
root@lenaedu:/# rm -rf /var/cache/univention-appcenter/appcenter.software-univention.de/

Step 3: Re-Create The Cache

Re-create the cache from local and downloaded files:

root@lenaedu:/# univention-app update
Filling the App Center file cache from our local archive /usr/share/univention-appcenter/archives/appcenter.software-univention.de/4.4/all.tar.gz!
Downloading "https://appcenter.software-univention.de/meta-inf/app-categories.ini"...
Downloading "https://appcenter.software-univention.de/meta-inf/rating.ini"...
Downloading "https://appcenter.software-univention.de/meta-inf/license_types.ini"...
Downloading "https://appcenter.software-univention.de/meta-inf/ucs.ini"...
Downloading "https://appcenter.software-univention.de/meta-inf/4.4/index.json.gz"...
Downloading "https://appcenter.software-univention.de/meta-inf/4.4/index.json.gz.gpg"...
Downloading "https://appcenter.software-univention.de/meta-inf/4.4/all.tar.gpg"...
Downloading "http://appcenter.software-univention.de/meta-inf/4.4/all.tar.zsync"...
Filling the App Center file cache from our local archive /usr/share/univention-appcenter/archives/appcenter.software-univention.de/4.3/all.tar.gz!
Downloading "https://appcenter.software-univention.de/meta-inf/4.3/index.json.gz"...
Downloading "https://appcenter.software-univention.de/meta-inf/4.3/index.json.gz.gpg"...
Downloading "https://appcenter.software-univention.de/meta-inf/4.3/all.tar.gpg"...
Downloading "http://appcenter.software-univention.de/meta-inf/4.3/all.tar.zsync"...
Filling the App Center file cache from our local archive /usr/share/univention-appcenter/archives/appcenter.software-univention.de/4.2/all.tar.gz!
Downloading "https://appcenter.software-univention.de/meta-inf/4.2/index.json.gz"...
Downloading "https://appcenter.software-univention.de/meta-inf/4.2/index.json.gz.gpg"...
Downloading "https://appcenter.software-univention.de/meta-inf/4.2/all.tar.gpg"...
Downloading "http://appcenter.software-univention.de/meta-inf/4.2/all.tar.zsync"...
Filling the App Center file cache from our local archive /usr/share/univention-appcenter/archives/appcenter.software-univention.de/4.1/all.tar.gz!
Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz"...
Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz.gpg"...
Downloading "https://appcenter.software-univention.de/meta-inf/4.1/all.tar.gpg"...
Downloading "http://appcenter.software-univention.de/meta-inf/4.1/all.tar.zsync"...
File: /usr/share/univention-management-console/modules/apps.xml

Multifile: /etc/apache2/sites-available/default-ssl.conf

File: /usr/share/univention-management-console/i18n/de/apps.mo

File: /usr/share/univention-portal/apps.json

Multifile: /etc/apache2/sites-available/000-default.conf

You should see the installed app now.

1 Like
Mastodon