[Bug 1696709] [NEW] package dput 0.9.6.4ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

yarko 1696709 at bugs.launchpad.net
Thu Jun 8 10:43:12 UTC 2017


Public bug reported:

dput looks like it's depending on python2 (without using `from
__future__ import print_function`)

Details:
----
Setting up dput (0.9.6.4ubuntu3) ...
*** Error compiling '/usr/share/dput/ftp.py'...
  File "/usr/share/dput/ftp.py", line 9
    print "D: FTP-Connection to host: %s" % fqdn
                                        ^
SyntaxError: Missing parentheses in call to 'print'

*** Error compiling '/usr/share/dput/helper/dputhelper.py'...
  File "/usr/share/dput/helper/dputhelper.py", line 12
    print "Error: Failed to execute '"+file+"'."
                                     ^
SyntaxError: Missing parentheses in call to 'print'

*** Error compiling '/usr/share/dput/http.py'...
  File "/usr/share/dput/http.py", line 55
    except ValueError, e:
                     ^
SyntaxError: invalid syntax

*** Error compiling '/usr/share/dput/https.py'...
  File "/usr/share/dput/https.py", line 3
    exec open("/usr/share/dput/http.py") in d
            ^
SyntaxError: invalid syntax

*** Error compiling '/usr/share/dput/local.py'...
  File "/usr/share/dput/local.py", line 20
    print "D: Uploading with cp to %s" % (incoming)
                                     ^
SyntaxError: invalid syntax

*** Error compiling '/usr/share/dput/rsync.py'...
  File "/usr/share/dput/rsync.py", line 25
    print "D: Uploading with rsync to %s%s:%s" % \
                                             ^
SyntaxError: Missing parentheses in call to 'print'

*** Error compiling '/usr/share/dput/scp.py'...
  File "/usr/share/dput/scp.py", line 29
    if not stat.S_IMODE(os.lstat(file)[stat.ST_MODE])==0644:
                                                          ^
SyntaxError: invalid token

*** Error compiling '/usr/share/dput/sftp.py'...
  File "/usr/share/dput/sftp.py", line 13
    except Exception, e:
                    ^
SyntaxError: invalid syntax

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

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: dput 0.9.6.4ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-79.100-generic 4.4.67
Uname: Linux 4.4.0-79-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
Date: Thu Jun  8 05:36:28 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-12-11 (179 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt  1.2.20
SourcePackage: dput
Title: package dput 0.9.6.4ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-package xenial

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

Title:
  package dput 0.9.6.4ubuntu3 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

Status in dput package in Ubuntu:
  New

Bug description:
  dput looks like it's depending on python2 (without using `from
  __future__ import print_function`)

  Details:
  ----
  Setting up dput (0.9.6.4ubuntu3) ...
  *** Error compiling '/usr/share/dput/ftp.py'...
    File "/usr/share/dput/ftp.py", line 9
      print "D: FTP-Connection to host: %s" % fqdn
                                          ^
  SyntaxError: Missing parentheses in call to 'print'

  *** Error compiling '/usr/share/dput/helper/dputhelper.py'...
    File "/usr/share/dput/helper/dputhelper.py", line 12
      print "Error: Failed to execute '"+file+"'."
                                       ^
  SyntaxError: Missing parentheses in call to 'print'

  *** Error compiling '/usr/share/dput/http.py'...
    File "/usr/share/dput/http.py", line 55
      except ValueError, e:
                       ^
  SyntaxError: invalid syntax

  *** Error compiling '/usr/share/dput/https.py'...
    File "/usr/share/dput/https.py", line 3
      exec open("/usr/share/dput/http.py") in d
              ^
  SyntaxError: invalid syntax

  *** Error compiling '/usr/share/dput/local.py'...
    File "/usr/share/dput/local.py", line 20
      print "D: Uploading with cp to %s" % (incoming)
                                       ^
  SyntaxError: invalid syntax

  *** Error compiling '/usr/share/dput/rsync.py'...
    File "/usr/share/dput/rsync.py", line 25
      print "D: Uploading with rsync to %s%s:%s" % \
                                               ^
  SyntaxError: Missing parentheses in call to 'print'

  *** Error compiling '/usr/share/dput/scp.py'...
    File "/usr/share/dput/scp.py", line 29
      if not stat.S_IMODE(os.lstat(file)[stat.ST_MODE])==0644:
                                                            ^
  SyntaxError: invalid token

  *** Error compiling '/usr/share/dput/sftp.py'...
    File "/usr/share/dput/sftp.py", line 13
      except Exception, e:
                      ^
  SyntaxError: invalid syntax

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

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: dput 0.9.6.4ubuntu3
  ProcVersionSignature: Ubuntu 4.4.0-79.100-generic 4.4.67
  Uname: Linux 4.4.0-79-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.6
  Architecture: amd64
  Date: Thu Jun  8 05:36:28 2017
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2016-12-11 (179 days ago)
  InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
  PackageArchitecture: all
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt  1.2.20
  SourcePackage: dput
  Title: package dput 0.9.6.4ubuntu3 failed to install/upgrade: subprocess installed post-installation script 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/dput/+bug/1696709/+subscriptions



More information about the foundations-bugs mailing list