ati driver problem

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Post Reply
User avatar
koki
Level 1
Level 1
Posts: 3
Joined: Sun Dec 10, 2006 5:18 pm
Location: Slovakia

ati driver problem

Post by koki » Sun Jan 28, 2007 6:35 am

Question from http://www.linuxmint.com/forum/viewtopic.php?t=386
I tried to ask in the topic, bu i got no replies, so I'll try to post here


I tried

Code: Select all

ati-driver-installer-8.28.8.run --listpkg
but it stopped for me, returning an error

==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
./ati-installer.sh: 165: Syntax error: Bad substitution
Removing temporary directory: fglrx-install

the 165th line is:

Code: Select all

exit 0
;;
any ideas?

User avatar
clem
Level 12
Level 12
Posts: 4125
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Post by clem » Sun Jan 28, 2007 5:20 pm

It looks like a syntax error within the script. You should tell the script's author about it so he can fix the bug. That double ";" looks weird.. I'm not sure though, not my script :)

Clem

scorp123
Level 8
Level 8
Posts: 2277
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Post by scorp123 » Mon Jan 29, 2007 3:45 pm

clem wrote:It looks like a syntax error within the script. You should tell the script's author about it so he can fix the bug. That double ";" looks weird.. I'm not sure though, not my script :)
double ";" are common-place in bash scripts, e.g. in case - esac scenarios. I'd rather assume that the error happens further up somewhere, before the exit condition is set to 0 ...

scorp123
Level 8
Level 8
Posts: 2277
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Re: ati driver problem

Post by scorp123 » Mon Jan 29, 2007 5:12 pm

koki wrote:./ati-installer.sh: 165: Syntax error: Bad substitution
Can you please check the following?

- please give me the first line of that script. What does it say? Should be something like: #! /bin/sh ... or maybe: #! /bin/bash ... But I need to know precisely.

- can you please give me the output of this command (please copy & paste):

Code: Select all

ls -al /bin/sh
- and also this one:

Code: Select all

dpkg -L dash
Chances are that you have dash installed, a replacement for the otherwise common bash command interpreter. But dash does not support the many features bash does, so chances are that if you remove dash and make sure that /bin/sh links to /bin/bash shell scripts making use of bash's advanced features might work again without errors.

User avatar
rlpw1011
Level 1
Level 1
Posts: 5
Joined: Sat Jan 27, 2007 2:33 pm

Post by rlpw1011 » Tue Jan 30, 2007 11:59 am

If you have problems installing ATI the new version of Envy installs those too.
here it is
http://albertomilone.com/ubuntu/nvidia/ ... u3_all.deb
Or you can use this repository

deb http://www.albertomilone.com/drivers/edgy/latest/32bit binary/

and add this for the key (Each line seperatly)

wget http://albertomilone.com/drivers/tseliot.asc

gpg --import tseliot.asc

gpg --export --armor albertomilone@alice.it | sudo apt-key add -

This is the repository of the guy who wrote Envy. Run Envy right after installing or your updater will try to put bleeding edge drivers on your Linux and add a kernal (which is a pain I tell you.

Post Reply

Return to “Graphics Cards & Monitors”