Public bug reported:

# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.

Setting up google-cloud-sdk (140.0.0-0ubuntu1~14.04) ...
  File 
"/usr/lib/google-cloud-sdk/platform/gsutil/third_party/httplib2/python3/httplib2/__init__.py",
 line 347
    print('%s:' % h, end=' ', file=self._fp)
                        ^
SyntaxError: invalid syntax

dpkg: error processing package google-cloud-sdk (--configure):
 subprocess installed post-installation script returned error exit status 101
Errors were encountered while processing:
 google-cloud-sdk
E: Sub-process /usr/bin/dpkg returned an error code (1)

# lsb_release -rd
Description:    Ubuntu 14.04.5 LTS
Release:        14.04

# apt-cache policy google-cloud-sdk
google-cloud-sdk:
  Installed: 140.0.0-0ubuntu1~14.04
  Candidate: 140.0.0-0ubuntu1~14.04
  Version table:
 *** 140.0.0-0ubuntu1~14.04 0
        500 http://archive.canonical.com/ubuntu/ trusty/partner amd64 Packages
        100 /var/lib/dpkg/status

Could it be that a python3 file is being executed by the default
(python2-) interpreter during configuration?

** Affects: google-cloud-sdk (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  upgrade to 140.0.0-0ubuntu1~14.04  fails with syntax error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/google-cloud-sdk/+bug/1667260/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to