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 Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to