Bug 43186 - Broken python2.7 during upgrade to UCS-4.2-0?
Broken python2.7 during upgrade to UCS-4.2-0?
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: General
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-12-15 13:54 CET by Philipp Hahn
Modified: 2020-07-03 20:51 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
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 Philipp Hahn univentionstaff 2016-12-15 13:54:53 CET
insserv: warning: script 'univention-directory-policy' missing LSB tags and overrides
[....] Starting Common Unix Printing System: cupsdTraceback (most recent call last):
  File "/usr/sbin/univention-config-registry", line 45, in <module>
    import univention.config_registry as ub
  File "/usr/lib/pymodules/python2.7/univention/config_registry/__init__.py", line 39, in <module>
    from univention.config_registry.filters import \
  File "/usr/lib/pymodules/python2.7/univention/config_registry/filters.py", line 33, in <module>
    from pipes import quote as escape_value
ImportError: No module named pipes



# sed -ne '/Log started: 2016-12-15/,${/python2.7/p}' /var/log/apt/term.log 
Neue Version der Konfigurationsdatei /etc/univention/templates/files/etc/python2.7/sitecustomize.py.d/00header.py wird installiert ...
Neue Version der Konfigurationsdatei /etc/univention/templates/files/etc/python2.7/sitecustomize.py.d/20utf8.py wird installiert ...
Multifile: /etc/python2.7/sitecustomize.py
Vorbereitung zum Ersetzen von libpython2.7 2.7.3-6.7.201608291252 (durch .../libpython2.7_2.7.9-2+deb8u1_amd64.deb) ...
Ersatz für libpython2.7:amd64 wird entpackt ...
Vorbereitung zum Ersetzen von python2.7 2.7.3-6.7.201608291252 (durch .../python2.7_2.7.9-2+deb8u1_amd64.deb) ...
Ersatz für python2.7 wird entpackt ...
Vorbereitung zum Ersetzen von python2.7-minimal 2.7.3-6.7.201608291252 (durch .../python2.7-minimal_2.7.9-2+deb8u1_amd64.deb) ...
Ersatz für python2.7-minimal wird entpackt ...
dpkg: Warnung: Altes Verzeichnis »/etc/python2.7« kann nicht gelöscht werden: Das Verzeichnis ist nicht leer
Vormals nicht ausgewähltes Paket libpython2.7-minimal:amd64 wird gewählt.
Entpacken von libpython2.7-minimal:amd64 (aus .../libpython2.7-minimal_2.7.9-2+deb8u1_amd64.deb) ...
  File "/usr/lib/pymodules/python2.7/univention/config_registry/__init__.py", line 39, in <module>
  File "/usr/lib/pymodules/python2.7/univention/config_registry/filters.py", line 33, in <module>
  File "/usr/lib/pymodules/python2.7/univention/config_registry/__init__.py", line 39, in <module>
  File "/usr/lib/pymodules/python2.7/univention/config_registry/filters.py", line 33, in <module>
  File "/usr/lib/pymodules/python2.7/univention/config_registry/__init__.py", line 39, in <module>
  File "/usr/lib/pymodules/python2.7/univention/config_registry/filters.py", line 33, in <module>
Vormals nicht ausgewähltes Paket libpython2.7-stdlib:amd64 wird gewählt.
Entpacken von libpython2.7-stdlib:amd64 (aus .../libpython2.7-stdlib_2.7.9-2+deb8u1_amd64.deb) ...
libpython2.7-minimal:amd64 (2.7.9-2+deb8u1) wird eingerichtet ...
python2.7-minimal (2.7.9-2+deb8u1) wird eingerichtet ...
libpython2.7-stdlib:amd64 (2.7.9-2+deb8u1) wird eingerichtet ...
python2.7 (2.7.9-2+deb8u1) wird eingerichtet ...
libpython2.7:amd64 (2.7.9-2+deb8u1) wird eingerichtet ...


A lot of things use python during the upgrade, in this case the CUPS init script using UCR.
Force the python upgrade first?
Comment 1 Ingo Steuwer univentionstaff 2020-07-03 20:51:26 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.