package tex-common 2.06 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #606551 reported by John Lockridge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tex-common (Ubuntu)
New
Undecided
Unassigned

Bug Description

not sure what the bug is

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: tex-common 2.06
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Fri Jul 16 07:42:58 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitecture: all
SourcePackage: tex-common
Title: package tex-common 2.06 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
John Lockridge (tborg5) wrote :
affects: ubuntu → tex-common (Ubuntu)
Revision history for this message
Michael Wagner (wagnerm) wrote :

The postinst script gets/expects a wrong error code from dpkg-query. Replacing the occurrences of

stat=$(dpkg-query -W -f='${Status}' texlive-base)

with

stat=$(dpkg-query -W -f='${Status}' texlive-base || /bin/true)

resolves the issue.

See attached file (postinst.in.patch).

tags: added: patch
Revision history for this message
Kozley (kozley) wrote :

Okay but it say not packages match

stat=$(dpkg-query -W -f='${Status}' texlive-base)
Inga paket matchar texlive-base.
kozley@kozley-desktop:~$ stat=$(dpkg-query -W -f='${Status}' texlive-base || /bin/true)
Inga paket matchar texlive-base.

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.