Alsa update: alsa-info.sh problem

Hi,
I am using openSUSE 11.0 gnome. Based on a thread: http://forums.opensuse.org/looking-something-other-than-support/410614-easy-simple-way-install-update-packages.html i decided to go in for an Alsa update. Since i have alsa-1.0.16-39.1 i needed to execute as root:

wget http://www.alsa-project.org/alsa-info.sh

But i got the error:

Error parsing proxy URL http://:8080/: Invalid host name.
So i navigated to the url: http://www.alsa-project.org/alsa-info.sh and copied the script in /usr/sbin. The as root i executed:

/usr/sbin/alsa-info.sh

which finally gave me:

Newer version detected:
To view the ChangeLog, please visit git.alsa-project.org Git - alsa-driver.git/history - utils/alsa-info.sh
ALSA-Info script has been updated to v
Please re-run the script
But re-running the script did not work as the script had become empty !! I tried a couple of times and the same stuff happens. What is wrong?

I do not understand. What in that thead made you decide you need an update? Does your sound work? If it works, then you do not need an update.

No, that is not correct. Typing " wget http://www.alsa-project.org/alsa-info.sh " only downloads the file. It does not run the script. Also, you do not need to be root to download the file.

I only ask users to run the file as root when the file is stored under /usr/sbin which requires root permissions to change the file, if it is stored in that directory.

There is no need for you, running openSUSE-11.0, to have to copy the script into /usr/sbin. That happens to be the location where the file is located for openSUSE-11.1 users, but it is not needed for openSUSE-11.0 users. You can run the script from any location on your path.

I have no idea. I’m confused by what you are trying to do.

Note:

  • just typing “wget some-url” without the options necessary, will not run the script. It will only download it and you do not need to be root to do that.
  • you do not need to copy the script into /usr/sbin to run it as an openSUSE-11.0 user
  • how do you know the script is empty? Did you open it with a text editor to confirm it is empty?

If you really want to run the script, then as a REGULAR user, NOT as root, copy and paste the following, per the audio troubleshooting guide that IS referenced in the thread that you referenced:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh

I do not understand. What in that thead made you decide you need an update? Does your sound work? If it works, then you do not need an update.
Yes my sound works but my Alsa driver is not the latest. So i wish to get the latest one.
No, that is not correct. Typing " wget http://www.alsa-project.org/alsa-info.sh " only downloads the file. It does not run the script. Also, you do not need to be root to download the file.
Ya, i know that. But typing wget http://www.alsa-project.org/alsa-info.sh gives the error:
Error parsing proxy URL http://:8080/: Invalid host name.
So i had to go to http://www.alsa-project.org/alsa-info.sh and download the script.
I have no idea. I’m confused by what you are trying to do.
After downloading the script i tried to run it from wherever it was saved. But after the 1st couple of steps of answering in the affirmative, i get:
Newer version detected:
To view the ChangeLog, please visit git.alsa-project.org Git - alsa-driver.git/history - utils/alsa-info.sh
ALSA-Info script has been updated to v
Please re-run the script
Now i see (of course with a text editor) that the contents of the script have been erased totally.

I think that it may just be a wiser option to directly add the alsa repo, update the alsa driver and then disable the repo.

Just a note of caution … sometimes bugs are introduced by software updates. If one has an application that is running well, then IMHO updating with no real reason (other than there is an update available) is not the best approach. In particular, this applies to alsa updates. …

Just my 2 cents.