package fglrx-pxpress 0.3~hybrid0.0.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1

Bug #1219998 reported by Danilo Silva
50
This bug affects 8 people
Affects Status Importance Assigned to Milestone
fglrx-pxpress (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

HP dual AMD GPU HD6000M/4200M
Description: Ubuntu 12.04.3 LTS (64 bits)
Release: 12.04
Kernel 3.8.0-30-generic

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: fglrx-pxpress 0.3~hybrid0.0.1
ProcVersionSignature: Ubuntu 3.8.0-30.44~precise1-generic 3.8.13.6
Uname: Linux 3.8.0-30-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
Date: Mon Sep 2 19:22:00 2013
DuplicateSignature: package:fglrx-pxpress:0.3~hybrid0.0.1:sub-processo script post-installation instalado retornou estado de saída de erro 1
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 1
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: fglrx-pxpress
Title: package fglrx-pxpress 0.3~hybrid0.0.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Danilo Silva (danilocsilva) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in fglrx-pxpress (Ubuntu):
status: New → Confirmed
Revision history for this message
Manfred Hampl (m-hampl) wrote :

It seems to me that the post installation script aborts with status 1 if fglrx is not installed.

There is in postinst:
            # Make sure we use the discrete card
            has_aticonfig="$(which aticonfig)"
            if [ X"$has_aticonfig" != X ]; then
                aticonfig --px-dgpu || true
            fi

At least on my system if I try it in a shell
has_aticonfig="$(which aticonfig)"
gives an exit code of 1 (I do not have an aticonfig executable anywhere in my path).

Wouldn't it be reasonable to change it to

            has_aticonfig="$(which aticonfig || true)"

to cater for systems where aticonfig is not present (due to fglrx not being installed)?

Revision history for this message
Manfred Hampl (m-hampl) wrote :

Potential workaround:

Open a terminal and issue the command

gksudo gksudo gedit /var/lib/dpkg/info/fglrx-pxpress.postinst

This will most probably ask for the password and then open an editor with the post installation script loaded.

Scroll down to the end of the file and then about ten lines back up until you find a line that reads

           has_aticonfig="$(which aticonfig)"

modify that line into

           has_aticonfig="$(which aticonfig || true)"

save the file and close the editor

finally execute the terminal command

sudo dpkg --configure -a

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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