Bug 33418 - Server package for DC Backup cannot be installed in appliance mode under specific circumstances
Server package for DC Backup cannot be installed in appliance mode under spec...
Status: RESOLVED DUPLICATE of bug 42333
Product: UCS
Classification: Unclassified
Component: UMC - Basic settings
UCS 3.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-15 12:45 CET by Alexander Kläser
Modified: 2016-10-10 14:49 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
screenshot of console output (23.01 KB, image/png)
2013-11-15 12:45 CET, Alexander Kläser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2013-11-15 12:45:28 CET
Created attachment 5644 [details]
screenshot of console output

I set up an appliance system:
* Installation with random address (192.168.100.100)
* Installation with software components: mail sever, software monitor, nagios
* Boot into console
* Configure network via UCR + "ucr commit /etc/apt/sources.d/*"
* Installation of univention-system-setup-boot
* Deconfigure network (back to 192.168.100.100)
* Reboot

Consequently, the setup fails as the removal of univention-server-master and the installation of univention-server-backup fails. Before, 05_role/10role forces a de-installation of univention-nagios-client (although there are dependency problems, it says).

I tried to circumvent this problem as follows
* Configure network via UCR
* Add univention-nagios-client to be cached locally in the univention-system-setup-boot.postinst
* dpkg-reconfigure univention-system-setup-boot → univention-nagios-client is being cached
* Remove univention-mail-server + univention-pkgdb (mail sever is tricky, the removal fails as the system is not joined → I removed from its postrm script the join script calls)
* Deconfigure network (back to 192.168.100.100)
* "ucr commit /etc/apt/sources.d/*"
* echo "server/role=domaincontroller_backup" > /var/cache/univention-system-setup/profile

The result is the attached output when calling only 05_role/10role on the command line.
Comment 1 Alexander Kläser univentionstaff 2013-11-15 12:47:33 CET
To be checked, in a different scenario, the installation of a DC backup went fine.
Comment 2 Alexander Kläser univentionstaff 2013-11-15 13:45:14 CET
A call to "apt-get install univention-server-master- univention-server-backup" works.
Comment 3 Stefan Gohmann univentionstaff 2013-11-16 22:26:22 CET
Set to TM 3.2-x because a system with the default software selection is not affected.
Comment 4 Stefan Gohmann univentionstaff 2013-11-29 08:29:32 CET
(In reply to Stefan Gohmann from comment #3)
> Set to TM 3.2-x because a system with the default software selection is not
> affected.

Remove TM. Let's wait for feedback.
Comment 5 Florian Best univentionstaff 2014-07-24 09:15:25 CEST
I experienced this bug, not also for backup systems but also for slave systems.
Comment 6 Florian Best univentionstaff 2016-10-10 14:49:12 CEST
For the bugzilla search:

univention-server-master: Failed to uninstall
univention-server-backup: Failed to install
Comment 7 Florian Best univentionstaff 2016-10-10 14:49:27 CEST

*** This bug has been marked as a duplicate of bug 42333 ***