[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [mailman] debian 9 error upgrade mailman



no es posible actualizar*

El jue, 11 nov 2021 a las 1:14, jbc (<javibc@gmail.com>) escribió:
Hola, hace pocos días se actualizó mailman por un bug.
Al intentar actualizar en un servidor con apt update && apt upgrade , saltan errores y es posible actualizar.
¿Se os ocurre algo? Gracias

Salida apt:

Fetched 6,748 kB in 0s (12.4 MB/s)      
Reading changelogs... Done
Preconfiguring packages ...
  File "/var/lib/mailman/bin/list_lists", line 75
    except getopt.error, msg:
                       ^
SyntaxError: invalid syntax
(Reading database ... 99804 files and directories currently installed.)
Preparing to unpack .../00-mailman_1%3a2.1.23-1+deb9u7_amd64.deb ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: error processing archive /tmp/apt-dpkg-install-vEhtzR/00-mailman_1%3a2.1.23-1+deb9u7_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
  File "/var/lib/mailman/bin/list_lists", line 75
    except getopt.error, msg:
                       ^
SyntaxError: invalid syntax
  File "/usr/lib/mailman/bin/update", line 107
    print C_('Fixing language templates: %(listname)s')
          ^
SyntaxError: invalid syntax
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Preparing to unpack .../01-python-pil_4.0.0-4+deb9u3_amd64.deb ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: error processing archive /tmp/apt-dpkg-install-vEhtzR/01-python-pil_4.0.0-4+deb9u3_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Preparing to unpack .../02-python-imaging_4.0.0-4+deb9u3_all.deb ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: error processing archive /tmp/apt-dpkg-install-vEhtzR/02-python-imaging_4.0.0-4+deb9u3_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Preparing to unpack .../03-python-lxml_3.7.1-1+deb9u4_amd64.deb ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: error processing archive /tmp/apt-dpkg-install-vEhtzR/03-python-lxml_3.7.1-1+deb9u4_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Preparing to unpack .../04-python-xdg_0.25-4+deb9u1_all.deb ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: error processing archive /tmp/apt-dpkg-install-vEhtzR/04-python-xdg_0.25-4+deb9u1_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1


Errors were encountered while processing:
 /tmp/apt-dpkg-install-vEhtzR/00-mailman_1%3a2.1.23-1+deb9u7_amd64.deb
 /tmp/apt-dpkg-install-vEhtzR/01-python-pil_4.0.0-4+deb9u3_amd64.deb
 /tmp/apt-dpkg-install-vEhtzR/02-python-imaging_4.0.0-4+deb9u3_all.deb
 /tmp/apt-dpkg-install-vEhtzR/03-python-lxml_3.7.1-1+deb9u4_amd64.deb
 /tmp/apt-dpkg-install-vEhtzR/04-python-xdg_0.25-4+deb9u1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Reply to: