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)?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to fglrx-pxpress in Ubuntu.
https://bugs.launchpad.net/bugs/1219998

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

Status in “fglrx-pxpress” package in Ubuntu:
  Confirmed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-pxpress/+bug/1219998/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to