Univention Bugzilla – Bug 36874
Appliance mode shows error message "no such package"
Last modified: 2014-12-04 12:22:11 CET
When trying to install a basesystem in appliancemode, the setup fails with the following error: univention-pam: No such package univention-management-console: No such package
I can click on 'Finish' to end the installation progress and have a seemingly working basesystem.
Created attachment 6429 [details] Screenshot of error page with "no such package" message A similar problem occurs when installing a DC Backup system. I selected a few components: DHCP server, mail server, print server, nagios server.
Here is the corresponding part from setup.log: === 50_software/10software (2014-11-19 06:29:29) === __NAME__:50_software/10software Configuring software components __STEPS__:600 __MSG__:Fetched 0 B in 0s (0 B/s) __STEP__:0 __STEP__:0 __ERR__:univention-dhcp: No such package __MSG__:Fetched 0 B in 0s (0 B/s) __STEP__:0 __ERR__:univention-mail-server: No such package __MSG__:Fetched 0 B in 0s (0 B/s) __STEP__:0 __ERR__:univention-printserver: No such package __MSG__:Fetched 0 B in 0s (0 B/s) __STEP__:0 __ERR__:univention-nagios-server: No such package __MSG__:Fetched 0 B in 0s (0 B/s) __STEP__:0 The problem seems that UCS4 has not been released yet, as apt tries to get the software components from updates.software-univention.de.
Created attachment 6430 [details] /var/log/univention/setup.log (as excerpt) (In reply to Alexander Kläser from comment #3) > ... > The problem seems that UCS4 has not been released yet, as apt tries to get > the software components from updates.software-univention.de. univention-system-setup-boot is deinstalled during execution of 05_role/10role.
(In reply to Alexander Kläser from comment #3) > ... > The problem seems that UCS4 has not been released yet, as apt tries to get > the software components from updates.software-univention.de. Correction, the sources should be available offline.
Package: univention-system-setup-boot Conflicts: univention-system-setup-appliance, univention-server-backup, univention-server-slave, univention-server-member, univention-basesystem So u-s-s-boot get uninstalled too early and deletes the package cache in its postinst
> postinst postrm
Created attachment 6434 [details] move package removal Fixed in the vmware images, patch attached
Created attachment 6454 [details] fix package removal improved patch: - fix package removal - move appliance-hooks.d to univention-system-setup; otherwise all hooks from the package will not be executed on non-master systems - remove forced install-time ucrV update/available
r56057 Patch applied and package rebuild in errata scope univention-system-setup 8.1.63-5.784.201411211621 2014-11-21-univention-system-setup.yaml
The package remove doesn't work: root@ucs-6682:~# dpkg --audit The following packages are only half configured, probably due to problems configuring them the first time. The configuration should be retried using dpkg --configure <package> or the configure menu option in dselect: apache2-mpm-prefork Apache HTTP Server - traditional non-threaded model The following packages have been triggered, but the trigger processing has not yet been done. Trigger processing can be requested using dselect or dpkg --configure --pending (or dpkg --triggers-only): python-support automated rebuilding support for Python modules univention-config UCS - configuration manager root@ucs-6682:~# Several UMC packages are still installed: root@ucs-6682:~# dpkg -l | grep -i management-console ii python-univention-management-console 7.1.63-2.837.201411201850 all UCS Management Console - Python Modules rc univention-management-console-frontend 4.1.105-1.964.201411271447 all UCS Management Console - Web based computer administration tool ii univention-management-console-frontend-theme 0.0.88-1.64.201411271443 all Univention Management Console - theme data ii univention-management-console-module-appcenter 4.1.19-3.304.201411261055 all UMC module for software management ii univention-management-console-module-lib 4.0.2-1.29.201411101642 all Module lib containing low-lewel commands to control the UMC server ii univention-management-console-server 7.1.63-2.837.201411201850 all UCS Management Console - server rc univention-management-console-web-server 4.1.105-1.964.201411271447 all UCS Management Console - Web server root@ucs-6682:~# From the log file: = Running 97_remove_univention_system_setup_boot_basesystem Paketlisten werden gelesen... Abh<C3><A4>ngigkeitsbaum wird aufgebaut.... Statusinformationen werden eingelesen.... Lesen der erweiterten Statusinformationen... Initialisieren des Paketstatus'... Schreiben der erweiterten Statusinformationen... Lesen der Task-Beschreibungen... Die folgenden Pakete werden ENTFERNT: apache2-mpm-prefork{u} apache2-utils{u} apache2.2-bin{u} apache2.2-common{u} javascript-common{u} libapache2-mod-auth-pam{u} libapache2-mod-php5{u} libapr1{u} libaprutil1{u} libaprutil1-dbd-sqlite3{u} libaprutil1-ldap{u} libdb3{u} libjs-jquery{u} libonig2{u} libqdbm14{u} libxslt1.1{u} php5{u} php5-cli{u} php5-common{u} python-cherrypy3{u} python-dnspython{u} python-lxml{u} python-psutil{u} python-simplejson{u} runit{u} univention-apache{u} univention-directory-listener{u} univention-ipcalc{u} univention-management-console-frontend{u} univention-management-console-frontend-theme{u} univention-management-console-module-appcenter{u} univention-management-console-module-lib{u} univention-management-console-module-setup{u} univention-management-console-web-server{u} univention-runit{u} univention-ssl{u} univention-system-setup{u} wwwconfig-common{u} 0 Pakete aktualisiert, 0 zus<C3><A4>tzlich installiert, 38 werden entfernt und 0 nicht aktualisiert. 0 B an Archiven m<C3><BC>ssen heruntergeladen werden. Nach dem Entpacken werden 143 MB frei werden. Schreiben der erweiterten Statusinformationen... (Lese Datenbank ... 58889 Dateien und Verzeichnisse sind derzeit installiert.) Entfernen von univention-management-console-module-setup ... invoke-rc.d: policy-rc.d denied execution of reload. Entfernen von univention-management-console-web-server ... invoke-rc.d: policy-rc.d denied execution of stop. Entfernen von univention-management-console-frontend ... Entfernen von univention-apache ... Entfernen von php5 ... Entfernen von libapache2-mod-php5 ... Module php5 disabled. To activate the new configuration, you need to run: service apache2 restart Entfernen von apache2-mpm-prefork ... Stopping web server: apache2 The apache2 configtest failed, so we are trying to kill it manually. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now! ... (warning). ... waiting .
In which scenario did you encounter the error? Do you still have the machine? I could not reproduce the error on a - basesystem with and without internet access - master
(In reply to Erik Damrose from comment #12) > In which scenario did you encounter the error? Do you still have the machine? No, but I was able to install a new basesystem with the same error: 10.201.61.1 > I could not reproduce the error on a > - basesystem with and without internet access > - master Install a base system via DVD.
r56411 Fixed package removal for basesystems r56412 yaml
OK, tests were successful.
http://errata.univention.de/ucs/4.0/2.html