Univention Bugzilla – Bug 53148
Package based App Upgrade sets new App version after pre-invoke scripts checking the repository fails
Last modified: 2022-05-12 11:04:41 CEST
Updating to the ucs@school version 4.4.v9 the customer experienced just this following little error message in a debugging session, because the new diagnostic script was missing, otherwise it would not have been noticed at all. In the appcenter.log 14.04.21 21:13:30.072 MODULE ( PROCESS ) : Paketlisten werden gelesen... 14.04.21 21:13:30.075 MODULE ( PROCESS ) : E: Problem executing scripts APT::Update::Pre-Invoke 'grep -Fqs '# An error occurred during the repository check.' /etc/apt/sources.list.d/15_ucs-online-version.list && ucr commit /etc/apt/sources.list.d/15_ucs-online-version.list ; ! grep -F '# An error occurred during the repository check.' /etc/apt/sources.list.d/15_ucs-online-version.list' 14.04.21 21:13:30.075 MODULE ( PROCESS ) : E: Sub-process returned an error code In the /var/log/apt/history.log were no package upgrade scheduled. In the session, it was possible to upgrade the newer packages version. The expected behaviour would be, to get noticed, that something went wrong and the upgrade was not successful. The new version was set, before the package upgrade took place.