LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-08-2014, 07:05 AM   #1
jokar.mohsen
Member
 
Registered: Jul 2008
Location: Tehran
Posts: 441

Rep: Reputation: 22
Thumbs down Broken Dependencies


Hello all.
I use debian 7 x_64 and I want to remove "libasound2" and I used below commands for remove it :

sudo dpkg --purge --force-depends "libasound2"
sudo apt-get autoclean
sudo dpkg --configure -a

because of I want to remove all Alsa-* on my system. After it, When I open my Package manager, It show me a message about Broken dependencies and as you see in the attachment When I want to remove them, Package manager tell me that I must remove many part of my system.
My source list is :

# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/ wheezy/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ wheezy-updates main contrib
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib

deb http://http.debian.net/debian wheezy main
deb-src http://http.debian.net/debian wheezy main

deb http://http.debian.net/debian wheezy-updates main
deb-src http://http.debian.net/debian wheezy-updates main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

How can I solve it?
Attached Thumbnails
Click image for larger version

Name:	Package-1.png
Views:	9
Size:	77.6 KB
ID:	17050   Click image for larger version

Name:	Package-2.png
Views:	14
Size:	42.9 KB
ID:	17051  
 
Old 12-08-2014, 07:41 AM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Why do you want to remove ALSA?

You really shouldn't "force" your package manager to do anything unless you know exactly what you're doing.

Try re-installing libasound2; if that doesn't work try aptitude's interactive mode:
Code:
# aptitude -u
http://www.algebraicthunk.net/~dburr...h02s02s04.html

Some reading for you:
https://wiki.debian.org/ALSA
 
Old 12-09-2014, 03:45 AM   #3
jokar.mohsen
Member
 
Registered: Jul 2008
Location: Tehran
Posts: 441

Original Poster
Rep: Reputation: 22
because of my Sound card not worked properly
 
Old 12-09-2014, 10:57 AM   #4
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by jokar.mohsen View Post
because of my Sound card not worked properly
Removing ALSA will prevent your soundcard from ever working again -- it is a necessary component (unless you use something like OSS instead).

ALSA is the kernel component which provides device drivers for your sound card.

I'm not very good with sound problems, but for a start please post the output of:
Code:
lspci -knn | grep -iA2 audio
aplay -l
You will need to re-install libasound2 first, however.

In fact, you should probably re-install a completely fresh system -- I don't know how much damage the `dpkg --purge --force-depends` command did...
 
Old 12-09-2014, 11:23 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by Head_on_a_Stick View Post
Removing ALSA will prevent your soundcard from ever working again -- it is a necessary component (unless you use something like OSS instead). ALSA is the kernel component which provides device drivers for your sound card.
Yes....this dovetails in with the other thread the OP has opened, where they're trying to fix problems caused by MANUALLY installing ALSA from source, over an existing installation.
Quote:
I'm not very good with sound problems, but for a start please post the output of:
Code:
lspci -knn | grep -iA2 audio
aplay -l
You will need to re-install libasound2 first, however.
Two are listed by the OP..both Intel and nVidia. There aren't any details about exactly what KIND of cards, or what (if any) hardware diagnostics were done byt the OP, and we've asked.
Quote:
In fact, you should probably re-install a completely fresh system -- I don't know how much damage the `dpkg --purge --force-depends` command did...
...and that's been suggested several times too so far. Good luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update broken dependencies KuimFieg Linux - Server 6 04-24-2013 04:43 AM
Debian Dependencies Hopelessly Broken aquafinity Linux - Newbie 4 03-10-2013 09:32 PM
How Can I Fix Broken Dependencies Ted Asner Linux - Software 1 09-04-2009 03:15 PM
Broken Dependencies - Bash lolwtfnoob Debian 14 04-24-2009 10:51 AM
New to apt-get and have broken dependencies aquaboot Debian 9 08-21-2005 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration