package susv3 6.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1287378 reported by David A. Cobb
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
susv3 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 13.10
Here is the log from /var/lib/dpkg/info/susv3.postinst:
 Content-Type: application/x-bzip2
Length: 2212995 (2.1M) [application/x-bzip2]
Saving to: ‘/tmp/tmp.5TRGVDhpnH/www.opengroup.org/onlinepubs/007904975/download/susv3.tar.bz2’

100%[==========================================>] 2,212,995 571KB/s in 4.1s

2014-03-03 15:33:19 (531 KB/s) - ‘/tmp/tmp.5TRGVDhpnH/www.opengroup.org/onlinepubs/007904975/download/susv3.tar.bz2’ saved [2212995/2212995]

FINISHED --2014-03-03 15:33:19--
Total wall clock time: 4.8s
Downloaded: 1 files, 2.1M in 4.1s (531 KB/s)
Converted 0 files in 0 seconds.
Untaring...
bunzip2: Can't open input file /tmp/tmp.5TRGVDhpnH/susv3.tar.bz2: No such file or directory.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
dpkg: error processing susv3 (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 susv3

NOTE, The "Saving to:" and the "bunzip2" do not address the same path.
This is because susv3.postinst assumes the default for wget (and ~root/.wgetrc) are what we want

 MPDIR=$(mktemp -td) || exit 1

echo Fetching file...
wget -P $TMPDIR http://www.opengroup.org/onlinepubs/007904975/download/susv3.tar$
echo Untaring...
bunzip2 -cd $TMPDIR/susv3.tar.bz2 | tar xf - -C /usr/share/doc/susv3 --no-same-p$

rm -rf $TMPDIR

----------------------------------------------
I was able to get a good install by adding "--config=/dev/null " to the wget command line. This has the advantage (IMNSHO)
of not making any assumptions (except that wget must be installed).

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: susv3 6.1
ProcVersionSignature: Ubuntu 3.11.0-17.31-generic 3.11.10.3
Uname: Linux 3.11.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.12.5-0ubuntu2.2
AptOrdering:
 susv3: Install
 susv3: Configure
Architecture: amd64
Date: Mon Mar 3 15:32:40 2014
DuplicateSignature: package:susv3:6.1:subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
MarkForUpload: True
PackageArchitecture: all
SourcePackage: susv3
Title: package susv3 6.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David A. Cobb (superbiskit) wrote :
tags: removed: need-duplicate-check
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.