Hi.
Problems while updating a master and his slave here:
UCS Master:
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 'oxseforucs_20160421' is marked as required.
none
UCS Slave: (with OX)
Checking for release updates: found: UCS 4.2-0
Starting update to UCS version 4.2-0 at Wed Aug 9 17:02:05 2017...
Starting update to UCS version 4.2-0
09.08.17 17:02:06.679 DEBUG_INIT
**** Starting univention-updater with parameter=['/usr/share/univention-updater/univention-updater', 'net', '--updateto', '4.2-0', '--silent', '--ignoressh', '--ignoreterm']
Version=4.1
Patchlevel=4
starting net mode
--->DBG:update_available(mode=net, cdrom_mount_point=/cdrom, iso=None)
Checking network repository
Update to = 4.2-0
**** Downloading scripts at Wed Aug 9 17:02:30 2017
**** Starting actual update at Wed Aug 9 17:02:53 2017
Running preup.sh script
Mi 9. Aug 17:02:53 CEST 2017
HINT:
Please check the release notes carefully BEFORE updating to UCS 4.2-0:
English version: https://docs.software-univention.de/release-notes-4.2-0-en.html
German version: https://docs.software-univention.de/release-notes-4.2-0-de.html
Please also consider documents of following release updates and
3rd party components.
Do you want to continue [Y/n]?
Trying to detect if migration to dependency based boot will fail:
WARNING: Removed, but configured, package console-tools left /etc/init.d/console-screen.sh behind
WARNING: Removed, but configured, package hdparm left /etc/init.d/hdparm behind
WARNING: Removed, but configured, package plucs left /etc/init.d/plucs behind
WARNING: Removed, but configured, package portmap left /etc/init.d/portmap behind
insserv: warning: script 'K20univention-management-console-web-server' missing LSB tags and overrides
insserv: warning: script 'K21rdate' missing LSB tags and overrides
[...]
insserv: enable service ../init.d/bootmisc.sh -> /etc/init.d/../rcS.d/S21bootmisc.sh
insserv: remove service /etc/init.d/../rcS.d/S36udev-mtab
insserv: enable service ../init.d/udev-mtab -> /etc/init.d/../rcS.d/S12udev-mtab
insserv: remove service /etc/init.d/../rcS.d/S07hdparm
insserv: enable service ../init.d/hdparm -> /etc/init.d/../rcS.d/S06hdparm
insserv: remove service /etc/init.d/../rcS.d/S05bootlogd
insserv: enable service ../init.d/bootlogd -> /etc/init.d/../rcS.d/S04bootlogd
insserv: remove service /etc/init.d/../rcS.d/S30procps
insserv: enable service ../init.d/procps -> /etc/init.d/../rcS.d/S12procps
insserv: remove service /etc/init.d/../rcS.d/S70x11-common
insserv: enable service ../init.d/x11-common -> /etc/init.d/../rcS.d/S21x11-common
insserv: remove service /etc/init.d/../rcS.d/S12mtab.sh
insserv: enable service ../init.d/mtab.sh -> /etc/init.d/../rcS.d/S08mtab.sh
insserv: remove service /etc/init.d/../rcS.d/S70screen-cleanup
insserv: enable service ../init.d/screen-cleanup -> /etc/init.d/../rcS.d/S21screen-cleanup
insserv: remove service /etc/init.d/../rcS.d/S37plymouth-log
insserv: enable service ../init.d/plymouth-log -> /etc/init.d/../rcS.d/S21plymouth-log
insserv: remove service /etc/init.d/../rcS.d/S48kbd
insserv: enable service ../init.d/kbd -> /etc/init.d/../rcS.d/S20kbd
insserv: remove service /etc/init.d/../rcS.d/S20kmod
insserv: enable service ../init.d/kmod -> /etc/init.d/../rcS.d/S08kmod
insserv: dryrun, not creating .depend.boot, .depend.start, and .depend.stop
insserv --dryrun: OK
Aborting, because the update would likely fail.
Please check and fix the aforementioned issues.
(To ignore, set the UCRV variable update42/ignore_insserv to yes)
Error: Update aborted by pre-update script of release 4.2-0
exitcode of univention-updater: 1
ERROR: update failed. Please check /var/log/univention/updater.log
Not really sure how to proceed now…
The versions right now:
Master:
Server
ucs-master.foo.bar
UCS-Version
4.1-4 errata445 (Vahr)
UMC-Version
8.0.28-21.926.201611091130
Slave:
Server ucs-slave.holz-joki.de
UCS-Version
4.1-4 errata445 (Vahr)
UMC-Version
8.0.28-21.926.201611091130
yes, i know that. But OX should be only installed on the slave, not on the master, i think there should be no ox-packages at all on the master then, am i right?
So how to update the ucs-master?
Hi,
yes you’re right. the update wasn’t shown in the UI, therefore, we didn’t know about it. Only if you got to the appcenter and explicitly hit the OX icon, it was telling you about an existing update.
Will do the update now, and then see what it does with the system.
This means, that you have installed oxseforucs_20160421 (7.8.1-7-ucs1) which is not available for UCS 4.2. But you said that OX was updated, so you should have a newer version. That is strange
Could you please post the output of these commands
ucr search --brief component/ox univention-app info
Have you tried in the past to setup OX (install and uninstall) at the master?
But since it is not installed at the moment (“univention-app info” does not show any OX component at the master), you could deactivate the repository by
ucr set repository/online/component/oxseforucs_20160421='false'
Do you want to continue [Y/n]?
WARNING: Please install netcat-openbsd and run
update-alternatives --auto nc
for the update to proceed.
Error: Update aborted by pre-update script of release 4.2-0
exitcode of univention-updater: 1
and after doing so (install netcat-openbsd and run update-alternatives --auto nc)
Do you want to continue [Y/n]?
Trying to detect if migration to dependency based boot will fail:
WARNING: Removed, but configured, package console-tools left /etc/init.d/console-screen.sh behind
WARNING: Removed, but configured, package plucs left /etc/init.d/plucs behind
WARNING: Removed, but configured, package portmap left /etc/init.d/portmap behind
WARNING: Removed, but configured, package univention-ad-connector left /etc/init.d/univention-ad-connector behind
insserv: warning: script 'K97univention-s4-connector' missing LSB tags and overrides
insserv: warning: script 'K99univention-firewall' missing LSB tags and overrides
insserv: warning: script 'K20univention-management-console-web-server' missing LSB tags and overrides
insserv: warning: script 'K20univention-directory-policy' missing LSB tags and overrides
insserv: warning: script 'K20univention-management-console-server' missing LSB tags and overrides
insserv: warning: script 'K21rdate' missing LSB tags and overrides
insserv: warning: script 'K50univention-directory-listener' missing LSB tags and overrides
[...]
insserv: enable service ../init.d/kbd -> /etc/init.d/../rcS.d/S20kbd
insserv: remove service /etc/init.d/../rcS.d/S70screen-cleanup
insserv: enable service ../init.d/screen-cleanup -> /etc/init.d/../rcS.d/S21screen-cleanup
insserv: remove service /etc/init.d/../rcS.d/S13checkroot-bootclean.sh
insserv: enable service ../init.d/checkroot-bootclean.sh -> /etc/init.d/../rcS.d/S08checkroot-bootclean.sh
insserv: remove service /etc/init.d/../rcS.d/S37plymouth-log
insserv: enable service ../init.d/plymouth-log -> /etc/init.d/../rcS.d/S21plymouth-log
insserv: remove service /etc/init.d/../rcS.d/S20kmod
insserv: enable service ../init.d/kmod -> /etc/init.d/../rcS.d/S08kmod
insserv: remove service /etc/init.d/../rcS.d/S99stop-bootlogd-single
insserv: enable service ../init.d/stop-bootlogd-single -> /etc/init.d/../rcS.d/S22stop-bootlogd-single
insserv: remove service /etc/init.d/../rcS.d/S70x11-common
insserv: enable service ../init.d/x11-common -> /etc/init.d/../rcS.d/S21x11-common
insserv: dryrun, not creating .depend.boot, .depend.start, and .depend.stop
insserv --dryrun: OK
Aborting, because the update would likely fail.
Please check and fix the aforementioned issues.
(To ignore, set the UCRV variable update42/ignore_insserv to yes)
Error: Update aborted by pre-update script of release 4.2-0
exitcode of univention-updater: 1
ERROR: update failed. Please check /var/log/univention/updater.log
If you update from 4.1 to 4.2 you also switch from System V init to systemd-sysv.
The Debian and Univention packages are adjusted for that.
So, moving the old init scripts should be fine.