View | Details | Raw Unified | Return to bug 34444
Collapse All | Expand All

(-)a/base/univention-updater/modules/univention/updater/tools.py (-2 / +3 lines)
 Lines 42-47   from commands import ( Link Here 
42
    cmd_update,
42
    cmd_update,
43
)
43
)
44
from errors import (
44
from errors import (
45
    UpdaterException,
45
    CannotResolveComponentServerError,
46
    CannotResolveComponentServerError,
46
    ConfigurationError,
47
    ConfigurationError,
47
    DownloadError,
48
    DownloadError,
 Lines 1167-1176   class UniventionUpdater: Link Here 
1167
            stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
1168
            stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
1168
        (stdout, stderr) = p1.communicate()
1169
        (stdout, stderr) = p1.communicate()
1169
        ud.debug(ud.NETWORK, ud.PROCESS, 'check for updates with "dist-upgrade -s", the returncode is %d' % p1.returncode)
1170
        ud.debug(ud.NETWORK, ud.PROCESS, 'check for updates with "dist-upgrade -s", the returncode is %d' % p1.returncode)
1170
        if p1.returncode == 100:
1171
            print stderr
1172
        ud.debug(ud.NETWORK, ud.PROCESS, 'stderr=%s' % stderr)
1171
        ud.debug(ud.NETWORK, ud.PROCESS, 'stderr=%s' % stderr)
1173
        ud.debug(ud.NETWORK, ud.INFO, 'stdout=%s' % stdout)
1172
        ud.debug(ud.NETWORK, ud.INFO, 'stdout=%s' % stdout)
1173
        if p1.returncode == 100:
1174
            raise UpdaterException(stderr)
1174
1175
1175
        new_packages = []
1176
        new_packages = []
1176
        upgraded_packages = []
1177
        upgraded_packages = []
(-)a/doc/errata/staging/univention-updater.yaml (-2 / +3 lines)
 Lines 3-10   release: "4.3" Link Here 
3
version: [2]
3
version: [2]
4
scope: ucs_4.3-0-errata4.3-2
4
scope: ucs_4.3-0-errata4.3-2
5
src: univention-updater
5
src: univention-updater
6
fix: 13.0.1-61A~4.3.0.201810120915 
6
fix: 13.0.1-61A~4.3.0.201810120915
7
desc: |
7
desc: |
8
 This update addresses the following issue(s):
8
 This update addresses the following issue(s):
9
 * Fixes non existing error message in univention-updater
9
 * In case univention-updater detects a problem while checking for updatable
10
   packages, it now prints the error message provided by apt-get.
10
bug: [34444]
11
bug: [34444]

Return to bug 34444