Public bug reported:

Setting up python3-botocore (1.5.75-1) ...
  File "/usr/lib/python3/dist-packages/botocore/utils.py", line 2
    --- botocore/utils.py       2016-11-10 11:30:23.478805141 +0900
                                   ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/botocore/utils.py", line 2
    --- botocore/utils.py       2016-11-10 11:30:23.478805141 +0900
                                   ^
SyntaxError: invalid syntax

dpkg: error processing package python3-botocore (--configure):
 subprocess installed post-installation script returned error exit status 1


$ head -n5 /usr/lib/python3/dist-packages/botocore/utils.py
# Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
--- botocore/utils.py   2016-11-10 11:30:23.478805141 +0900
+++ botocore/utils.py   2016-11-10 11:30:23.466805008 +0900
@@ -28,7 +28,7 @@
 from botocore.exceptions import InvalidDNSNameError, ClientError

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: python3-botocore 1.5.75-1
ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
Uname: Linux 4.10.0-22-generic x86_64
ApportVersion: 2.20.5-0ubuntu5
Architecture: amd64
Date: Wed Jun 28 10:24:59 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-09-04 (1028 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
SourcePackage: python-botocore
UpgradeStatus: Upgraded to artful on 2016-12-05 (204 days ago)

** Affects: python-botocore (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python-botocore (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: amd64 apport-bug artful

** Bug watch added: Debian Bug tracker #866163
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866163

** Also affects: python-botocore (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866163
   Importance: Unknown
       Status: Unknown

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

Title:
  python3-botocore installs an invalid Python file (containing diff
  headers)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-botocore/+bug/1700992/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to