package ufw 0.35-5 failed to install/upgrade: installed ufw package post-installation script subprocess returned error exit status 10

Bug #1818505 reported by Mehmet Emin Aydin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
New
Undecided
Unassigned

Bug Description

dpkg: unrecoverable fatal error, aborting:
 unable to install updated status of 'fonts-tlwg-typo-ttf': No such file or directory
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (2)

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: ufw 0.35-5
ProcVersionSignature: Ubuntu 4.15.0-39.42~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-39-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Mon Mar 4 11:42:26 2019
ErrorMessage: installed ufw package post-installation script subprocess returned error exit status 10
InstallationDate: Installed on 2017-09-20 (530 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.1
 apt 1.6.8
SourcePackage: ufw
Title: package ufw 0.35-5 failed to install/upgrade: installed ufw package post-installation script subprocess returned error exit status 10
UpgradeStatus: Upgraded to bionic on 2019-03-04 (0 days ago)
mtime.conffile..etc.init.d.ufw: 2017-08-15T17:47:54
mtime.conffile..etc.ufw.sysctl.conf: 2017-08-15T17:47:54

Revision history for this message
Mehmet Emin Aydin (me-aydin) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

...
Installing new version of config file /etc/network/if-up.d/openssh-server ...
dpkg-query: error: parsing file '/var/lib/dpkg/updates/0047' near line 0:
 newline in field name '#padding'
dpkg: error processing package openssh-server (--configure):
 installed openssh-server package post-installation script subprocess returned error exit status 10
...
dpkg-query: error: parsing file '/var/lib/dpkg/updates/0164' near line 0:
 newline in field name '#padding'
dpkg: error processing package ufw (--configure):
 installed ufw package post-installation script subprocess returned error exit status 10

These are the error conditions. This is unrelated and not specific to ufw (seems apport chose it since ufw was the last of these errors). Temporarily reassigning to dpkg in case someone there can ask a better diagnostic question than I, but I suspect this is not a bug there and may be a local issue.

affects: ufw (Ubuntu) → dpkg (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.