[Bug 1718042] Re: Fail to upgrade due to error

Launchpad Bug Tracker 1718042 at bugs.launchpad.net
Mon Sep 18 22:27:28 UTC 2017


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: python3-defaults (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1718042

Title:
  Fail to upgrade due to error

Status in python3-defaults package in Ubuntu:
  Confirmed

Bug description:
  Unpacking python3-minimal (3.6.2-1ubuntu1) over (3.6.1-0ubuntu3) ...
  Setting up python3-minimal (3.6.2-1ubuntu1) ...
  Traceback (most recent call last):
    File "/usr/bin/py3compile", line 34, in <module>
      from debpython.version import SUPPORTED, debsorted, vrepr, \
    File "/usr/share/python3/debpython/version.py", line 46, in <module>
      _config.read('/usr/share/python3/debian_defaults')
    File "/usr/lib/python3.6/configparser.py", line 697, in read
      self._read(fp, filename)
    File "/usr/lib/python3.6/configparser.py", line 1092, in _read
      fpname, lineno)
  configparser.DuplicateOptionError: While reading from '/usr/share/python3/debian_defaults' [line 10]: option 'old-versions' in section 'DEFAULT' already exists
  dpkg: error processing package python3-minimal (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   python3-minimal
  W: Download is performed unsandboxed as root as file '/root/.synaptic/tmp//tmp_cl' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:
  Setting up python3-minimal (3.6.2-1ubuntu1) ...
  Traceback (most recent call last):
    File "/usr/bin/py3compile", line 34, in <module>
      from debpython.version import SUPPORTED, debsorted, vrepr, \
    File "/usr/share/python3/debpython/version.py", line 46, in <module>
      _config.read('/usr/share/python3/debian_defaults')
    File "/usr/lib/python3.6/configparser.py", line 697, in read
      self._read(fp, filename)
    File "/usr/lib/python3.6/configparser.py", line 1092, in _read
      fpname, lineno)
  configparser.DuplicateOptionError: While reading from '/usr/share/python3/debian_defaults' [line 10]: option 'old-versions' in section 'DEFAULT' already exists
  dpkg: error processing package python3-minimal (--configure):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for man-db (2.7.6.1-2) ...
  Errors were encountered while processing:
   python3-minimal

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: python3-minimal 3.6.2-1ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-11.12-generic 4.13.1
  Uname: Linux 4.13.0-11-generic x86_64
  ApportVersion: 2.20.7-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Mon Sep 18 22:52:36 2017
  EcryptfsInUse: Yes
  SourcePackage: python3-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1718042/+subscriptions



More information about the foundations-bugs mailing list