[Bug 2049533] [NEW] package python3-requests 2.25.1+dfsg-2ubuntu0.1 failed to install/upgrade: installed python3-requests package post-installation script subprocess returned error exit status 1

d s 2049533 at bugs.launchpad.net
Tue Jan 16 18:36:42 UTC 2024


Public bug reported:

when performing a latest os full upgrade.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: python3-requests 2.25.1+dfsg-2ubuntu0.1
ProcVersionSignature: Ubuntu 5.15.0-1053.61~20.04.1-azure 5.15.131
Uname: Linux 5.15.0-1053-azure x86_64
NonfreeKernelModules: aufs
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
AzureImageoffer: UbuntuServer
AzureImagepublisher: Canonical
AzureImagesku: 18_04-lts-gen2
AzureImageversion: 18.04.202207120
AzureVmsize: Standard_B2ms
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudID: azure
CloudName: azure
CloudPlatform: azure
CloudRegion: westeurope
CloudSubPlatform: seed-dir (/var/lib/waagent)
Date: Tue Jan 16 18:31:43 2024
DuplicateSignature:
 package:python3-requests:2.25.1+dfsg-2ubuntu0.1
 Setting up python3-jwt (2.3.0-1ubuntu0.2) ...
 E: py3compile:212: cannot create directory /usr/lib/python3/dist-packages/jwt/__pycache__: FileNotFoundError(2, 'No such file or directory')
 [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/jwt/algorithms.py'dpkg: error processing package python3-jwt (--configure):
  installed python3-jwt package post-installation script subprocess returned error exit status 1
ErrorMessage: installed python3-requests package post-installation script subprocess returned error exit status 1
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt  2.4.11
SourcePackage: requests
Title: package python3-requests 2.25.1+dfsg-2ubuntu0.1 failed to install/upgrade: installed python3-requests package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to jammy on 2024-01-16 (0 days ago)

** Affects: requests (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package jammy need-duplicate-check uec-images

-- 
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/2049533

Title:
  package python3-requests 2.25.1+dfsg-2ubuntu0.1 failed to
  install/upgrade: installed python3-requests package post-installation
  script subprocess returned error exit status 1

Status in requests package in Ubuntu:
  New

Bug description:
  when performing a latest os full upgrade.

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: python3-requests 2.25.1+dfsg-2ubuntu0.1
  ProcVersionSignature: Ubuntu 5.15.0-1053.61~20.04.1-azure 5.15.131
  Uname: Linux 5.15.0-1053-azure x86_64
  NonfreeKernelModules: aufs
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  AzureImageoffer: UbuntuServer
  AzureImagepublisher: Canonical
  AzureImagesku: 18_04-lts-gen2
  AzureImageversion: 18.04.202207120
  AzureVmsize: Standard_B2ms
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudID: azure
  CloudName: azure
  CloudPlatform: azure
  CloudRegion: westeurope
  CloudSubPlatform: seed-dir (/var/lib/waagent)
  Date: Tue Jan 16 18:31:43 2024
  DuplicateSignature:
   package:python3-requests:2.25.1+dfsg-2ubuntu0.1
   Setting up python3-jwt (2.3.0-1ubuntu0.2) ...
   E: py3compile:212: cannot create directory /usr/lib/python3/dist-packages/jwt/__pycache__: FileNotFoundError(2, 'No such file or directory')
   [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/jwt/algorithms.py'dpkg: error processing package python3-jwt (--configure):
    installed python3-jwt package post-installation script subprocess returned error exit status 1
  ErrorMessage: installed python3-requests package post-installation script subprocess returned error exit status 1
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.2
   apt  2.4.11
  SourcePackage: requests
  Title: package python3-requests 2.25.1+dfsg-2ubuntu0.1 failed to install/upgrade: installed python3-requests package post-installation script subprocess returned error exit status 1
  UpgradeStatus: Upgraded to jammy on 2024-01-16 (0 days ago)

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




More information about the foundations-bugs mailing list