Wifi and sound not working after installation of ubuntu 12.10

Asked by wisdomnko

After running the following:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh; chmod +x
./alsa-info.sh; ./alsa-info.sh

--2013-03-11 14:53:35-- http://www.alsa-project.org/alsa-info.sh
Resolving www.alsa-project.org (www.alsa-project.org)... 77.48.224.243
Connecting to www.alsa-project.org (www.alsa-project.org)|77.48.224.243|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;hb=refs/heads/build;f=alsa/utils/alsa-info.sh [following]
--2013-03-11 14:53:36-- http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;hb=refs/heads/build;f=alsa/utils/alsa-info.sh
Resolving git.alsa-project.org (git.alsa-project.org)... 77.48.224.243
Connecting to git.alsa-project.org (git.alsa-project.org)|77.48.224.243|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-sh]
Saving to: `alsa-info.sh'

    [ <=> ] 27,785 --.-K/s in 0.1s

2013-03-11 14:53:37 (283 KB/s) - `alsa-info.sh' saved [27785]

chmod: missing operand after `+x'
Try `chmod --help' for more information.
dumisani@dumisani-HP-Compaq-6735s:~$ ./alsa-info.sh; ./alsa-info.sh
bash: ./alsa-info.sh: Permission denied
bash: ./alsa-info.sh: Permission denied

Why do I have no sound?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Your command was broken into two lines.

Try this again:

chmod +x ./alsa-info.sh; ./alsa-info.sh

Revision history for this message
wisdomnko (wis3634) said :
#2

ALSA Information Script v 0.4.61
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  lsmod
  aplay
  amixer
  alsactl
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See './alsa-info.sh --help' for command line options.

cat: /proc/asound/version: No such file or directory
grep: /proc/asound/cards: No such file or directory
cat: /proc/asound/cards: No such file or directory
cat: /proc/asound/modules: No such file or directory
ls: cannot access /dev/snd/*: No such file or directory
grep: /proc/asound/cards: No such file or directory
/usr/sbin/alsactl: save_state:1580: No soundcards found...
cat: /tmp/alsa-info.ICybI9gYKJ/alsactl.tmp: No such file or directory
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://www.alsa-project.org/db/?f=d0cd5a22f212afc7485ad63cef7ff3c8382817ac

Please inform the person helping you.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Try the following command

sudo apt-get install --reinstall linux-sound-base alsa-base alsa-utils libasound2 linux-image-`uname -r`

copy/paste all output as done before and finally reboot to test if it has an effect.

Revision history for this message
wisdomnko (wis3634) said :
#4

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
dumisani@dumisani-HP-Compaq-6735s:~$ cd..
cd..: command not found
dumisani@dumisani-HP-Compaq-6735s:~$ sudo apt-get install --reinstall linux-sound-base alsa-base alsa-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of alsa-utils is not possible, it cannot be downloaded.
Reinstallation of alsa-base is not possible, it cannot be downloaded.
Reinstallation of linux-sound-base is not possible, it cannot be downloaded.
The following package was automatically installed and is no longer required:
  libjpeg62
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

There still seems something wrong with your package management system preventing that the sound drivers get installed.

Please provide the output of the following three commands (make sure each of them is pasted as one line):

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
sudo apt-get update
sudo apt-get upgrade

and copy/paste the output as done before

Revision history for this message
wisdomnko (wis3634) said :
#6

FIrst output
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

Second Output
dumisani@dumisani-HP-Compaq-6735s:~$ sudo apt-get update
Reading package lists... Done

Third Output
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

It seems that you lost the contents of your sources.list configuration file.

Please look in your /etc/apt directory if there is a backup of the file (something like sources.list.bck or sources.bck).

If there si a healthy backup copy you might try replacing the empty file with the backup with a command like
sudo cp /etc/apt/sources.list.bck /ect/apt/sources.list

Or you also can create a new file from scratch by doing the following:

open a terminal and issue the command

gksudo gedit /etc/apt/sources.list

Paste the following contents into the editor window that opens:

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://fi.archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
deb-src http://fi.archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse

###### Ubuntu Update Repos
deb http://fi.archive.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://fi.archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
#deb http://fi.archive.ubuntu.com/ubuntu/ quantal-proposed main restricted universe multiverse
#deb http://fi.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://fi.archive.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://fi.archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
#deb-src http://fi.archive.ubuntu.com/ubuntu/ quantal-proposed main restricted universe multiverse
#deb-src http://fi.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu quantal partner
deb-src http://archive.canonical.com/ubuntu quantal partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu quantal main
deb-src http://extras.ubuntu.com/ubuntu quantal main

#### END OF FILE

Save the file and close the editor. And then repeat the three commands from my previous post.

Can you help with this problem?

Provide an answer of your own, or ask wisdomnko for more information if necessary.

To post a message you must log in.