[Bug 1798437] Re: package python-requests 2.18.4-2 failed to install/upgrade: new python-requests package pre-removal script subprocess returned error exit status 1

Launchpad Bug Tracker 1798437 at bugs.launchpad.net
Tue Dec 18 04:17:33 UTC 2018


[Expired for requests (Ubuntu) because there has been no activity for 60
days.]

** Changed in: requests (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  package python-requests 2.18.4-2 failed to install/upgrade: new
  python-requests package pre-removal script subprocess returned error
  exit status 1

Status in requests package in Ubuntu:
  Expired

Bug description:
  Preconfiguring packages ...
  (Reading database ... 209169 files and directories currently installed.)
  Preparing to unpack .../python-requests_2.18.4-2ubuntu0.1_all.deb ...
  Traceback (most recent call last):
    File "/usr/bin/pyclean", line 32, in <module>
      from debpython.namespace import add_namespace_files
    File "/usr/share/python/debpython/namespace.py", line 28, in <module>
      from debpython.pydist import PUBLIC_DIR_RE
    File "/usr/share/python/debpython/pydist.py", line 29, in <module>
      from debpython.version import vrepr, getver, get_requested_versions
    File "/usr/share/python/debpython/version.py", line 46, in <module>
      _default = _config.get('DEFAULT', 'default-version')[6:]
    File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
      raise NoOptionError(option, section)
  ConfigParser.NoOptionError: No option 'default-version' in section: 'DEFAULT'
  dpkg: warning: old python-requests package pre-removal script subprocess returned error exit status 1
  dpkg: trying script from the new package instead ...
  Traceback (most recent call last):
    File "/usr/bin/pyclean", line 32, in <module>
      from debpython.namespace import add_namespace_files
    File "/usr/share/python/debpython/namespace.py", line 28, in <module>
      from debpython.pydist import PUBLIC_DIR_RE
    File "/usr/share/python/debpython/pydist.py", line 29, in <module>
      from debpython.version import vrepr, getver, get_requested_versions
    File "/usr/share/python/debpython/version.py", line 46, in <module>
      _default = _config.get('DEFAULT', 'default-version')[6:]
    File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
      raise NoOptionError(option, section)
  ConfigParser.NoOptionError: No option 'default-version' in section: 'DEFAULT'
  dpkg: error processing archive /var/cache/apt/archives/python-requests_2.18.4-2ubuntu0.1_all.deb (--unpack):
   new python-requests package pre-removal script subprocess 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 46, in <module>
      _default = _config.get('DEFAULT', 'default-version')[6:]
    File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
      raise NoOptionError(option, section)
  ConfigParser.NoOptionError: No option 'default-version' in section: 'DEFAULT'
  dpkg: error while cleaning up:
   installed python-requests package post-installation script subprocess returned error exit status 1
  Preparing to unpack .../bsdutils_1%3a2.31.1-0.4ubuntu3.2_amd64.deb ...
  Unpacking bsdutils (1:2.31.1-0.4ubuntu3.2) over (1:2.31.1-0.4ubuntu3.1) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/python-requests_2.18.4-2ubuntu0.1_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: python-requests 2.18.4-2
  ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18
  Uname: Linux 4.15.0-36-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu7.4
  AptOrdering:
   libsnmp-base:amd64: Install
   libsnmp30:amd64: Install
   python-requests:amd64: Install
   python3-requests:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  Date: Mon Oct 15 23:01:11 2018
  ErrorMessage: new python-requests package pre-removal script subprocess returned error exit status 1
  InstallationDate: Installed on 2018-10-07 (10 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2
   apt  1.6.3ubuntu0.1
  SourcePackage: requests
  Title: package python-requests 2.18.4-2 failed to install/upgrade: new python-requests package pre-removal script subprocess returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1798437/+subscriptions



More information about the foundations-bugs mailing list