Public bug reported:

Got that error while upgrading

Setting up python-apport (2.19.2-0ubuntu7) ...
No apport report written because the error message indicates its a followup 
error from a previous failure.
                  Errors were encountered while processing:
 apport
 apport-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up apport (2.19.2-0ubuntu7) ...
/var/lib/dpkg/info/apport.postinst: 20: /var/lib/dpkg/info/apport.postinst: 
Syntax error: "fi" unexpected
dpkg: error processing package apport (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of apport-gtk:
 apport-gtk depends on apport (>= 0.41); however:
  Package apport is not configured yet.

dpkg: error processing package apport-gtk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apport
 apport-gtk

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apport 2.19.2-0ubuntu7
ProcVersionSignature: Ubuntu 4.3.0-0.8-generic 4.3.0
Uname: Linux 4.3.0-0-generic x86_64
NonfreeKernelModules: nvidia
ApportLog:
 
ApportVersion: 2.19.2-0ubuntu7
Architecture: amd64
CrashReports: 600:0:123:806005:2015-11-24 22:45:15.748161437 +0100:2015-11-24 
22:45:15.028132546 +0100:/var/crash/apport.0.crash
CurrentDesktop: GNOME
Date: Tue Nov 24 22:46:44 2015
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug package-from-proposed third-party-packages xenial

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

Title:
  apport.postinst: Syntax error: "fi" unexpected

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

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

Reply via email to