Bug 45594 - update from 4.1-4 to 4.2-99 without reboot may fail
update from 4.1-4 to 4.2-99 without reboot may fail
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Update - Release updates
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-25 12:32 CEST by Felix Botner
Modified: 2020-07-03 20:55 CEST (History)
0 users

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

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2017-10-25 12:32:15 CEST
UCS master 4.1-4 with univention-bind

update to 4.2-99

 * intermediate update 4.2-1 fails with

Processing triggers for systemd (215-17+deb8u5A~4.2.0.201701111554) ...
Errors were encountered while processing:
 bind9
Cannot find service-record of _pkgdb._tcp.
No DB-Server-Name found.
E: Sub-process /usr/bin/dpkg returned an error code (1)
 exitcode of apt-get dist-upgrade: 100
ERROR: update failed. Please check /var/log/univention/updater.log

 * after that the next update attempt fails with 

Custom preupdate script /var/lib/local-preup.sh 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: iF  bind9                                                            1:9.9.5.dfsg-9+deb8u13A~4.2.1.201708081700                i386         Internet Domain Name Server
failed
ERROR: The package state on this system is inconsistent.
       Please run 'dpkg --configure -a' manually
Error: Update aborted by pre-update script of release 4.2-2

 * and this "dpkg --configure -a" fails until i reboot the system

 * so better reboot after 4.2-0 to let systems do its job

 * and even better, always force a reboot after minor/major releases
Comment 1 Ingo Steuwer univentionstaff 2020-07-03 20:55:01 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.