PDA

View Full Version : apt-get and alsa-utils problem



doublethink
07-30-2004, 08:30 PM
root@balmora:/home/smaclure/tmp# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
alsa-utils
The following NEW packages will be installed:
alsa-utils
0 upgraded, 1 newly installed, 0 to remove and 531 not upgraded.
3 not fully installed or removed.
Need to get 136kB of archives.
After unpacking 406kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ftp.de.debian.org testing/main alsa-utils 1.0.5-3 [136kB]
Fetched 136kB in 1s (105kB/s)
(Reading database ... 106312 files and directories currently installed.)
Unpacking alsa-utils (from .../alsa-utils_1.0.5-3_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/alsa-utils_1.0.5-3_i386.deb (--unpack):
trying to overwrite `/usr/bin/alsamixer', which is also in package knx-alsa
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/alsa-utils_1.0.5-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@balmora:/home/smaclure/tmp#

Note that my sound actually works fine, but I can't install any other package with apt-get because this gets in the way:


root@balmora:/home/smaclure/tmp# apt-get install qstat
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
alsa-base: Depends: alsa-utils (>= 1.0.2-2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@balmora:/home/smaclure/tmp#


Any advice greatly appreciated! I need to install me a server browser for quake3 :) otherwise, all is wonderful on debian/knx

dt

Joe999
07-31-2004, 07:37 AM
No solution here I'm affraid, but I thought I'd mention that I'm having the same problem. Just loaded the board up to ask that very same question in fact.

champagnemojo
07-31-2004, 08:50 AM
This is one of those little knoppix-specific annoyances. In the future remove knx-alsa before you install new alsa packages. But you should be able to fix this error by typing:


dpkg -i --force-all /var/cache/apt/archives/alsa-utils_1.0.5-3_i386.deb

Taajuus
08-03-2004, 09:30 PM
Could someone please tell me more about this "knoppix-specific annoyance"?

I just made a full HD install of Knoppix (meaning, "Debian install") and im trying to install some packages with apt-get, but keep getting same kind of errors like doublethink explained.

How can I get past this problem and use apt-get?

champagnemojo
08-03-2004, 09:52 PM
The only knoppix-specific part is the fact that knx-alsa caused the problem. There are a few knoppix packages that can make upgrading more of a pain. The only ones I can think of right now are knx-alsa and openoffice-de-en. But you can get the same error messages in a pure debian system...especially when you're doing a dist-upgrade and such. Forcing it to overwrite will fix it generally though.