Click to See Complete Forum and Search --> : dpkg/apt error when trying to install ALSA


DimGR
05-07-2004, 02:51 AM
there are the errors i get:


apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
alsa-utils
Suggested packages:
alsadriver
The following NEW packages will be installed:
alsa-utils
0 upgraded, 1 newly installed, 0 to remove and 105 not upgraded.
2 not fully installed or removed.
Need to get 0B/128kB of archives.
After unpacking 381kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 85986 files and directories currently installed.)
Unpacking alsa-utils (from .../alsa-utils_1.0.3-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/alsa-utils_1.0.3-1_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.3-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



so i am trying this

apt-get remove knx-alsa

and i get this


apt-get remove knx-alsa
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@PenguinGR:/home/knoppix# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
alsa-utils
Suggested packages:
alsadriver
The following NEW packages will be installed:
alsa-utils
0 upgraded, 1 newly installed, 0 to remove and 115 not upgraded.
2 not fully installed or removed.
Need to get 0B/128kB of archives.
After unpacking 381kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 85986 files and directories currently installed.)
Unpacking alsa-utils (from .../alsa-utils_1.0.3-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/alsa-utils_1.0.3-1_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.3-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)




how to fix this?

hard candy
05-07-2004, 09:13 AM
What type of package is "knx-alsa "?

Hayl
05-07-2004, 09:27 AM
this isn't really an ALSA error. this is an apt/dpkg error.

what distribution is this? i searched the online Debian package database and didn't see that weird alsa pacakge (knx-alsa) it is complaining about.

sharth
05-07-2004, 11:29 AM
It sounds like a knoppix package error.

try this.

dpkg --purge --ignonore-depends=knx-alsa knx-alsa

DimGR
05-07-2004, 12:01 PM
Originally posted by sharth
It sounds like a knoppix package error.

try this.

dpkg --purge --ignonore-depends=knx-alsa knx-alsa

this is what i got


dpkg --purge --ignonore-depends=knx-alsa knx-alsa
dpkg: unknown option --ignonore-depends=knx-alsa

Type dpkg --help for help about installing and deinstalling packages ;
Use dselect for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --licence for copyright licence and lack of warranty (GNU GPL) .

Options marked produce a lot of output - pipe it through `less' or `more' !




this is Overclockix hd installed.

sharth
05-07-2004, 04:54 PM
i spelt ignore wrong :p I don't have a install that i can test the command on at the moment, but that "should" do it... and then after it, apt-get install alsa-utils and what not.

dpkg --purge --ignore-depends=knx-alsa knx-alsa


If that doesn't work, you might also just try apt-get --purge remove alsa-base

mdwatts
05-07-2004, 05:19 PM
Originally posted by DimGR

dpkg --purge --ignonore-depends=knx-alsa knx-alsa
dpkg: unknown option --ignonore-depends=knx-alsa


:) Kinda obvious wouldn't you think? :p

You want to ignore the package knx-alsa or packages that depend on knx-alsa. Not sure which since I've never used dpkg.

Try the corrected suggestions that sharth posted and report back if successful or not.

sharth
05-07-2004, 07:08 PM
Originally posted by mdwatts
:) Kinda obvious wouldn't you think? :p

You want to ignore the package knx-alsa or packages that depend on knx-alsa. Not sure which since I've never used dpkg.

Try the corrected suggestions that sharth posted and report back if successful or not. I'd rather be able to have an option that would disable all dependency checking, rather than having to specify by package.

Sepero
05-08-2004, 12:26 AM
Originally posted by hard candy
What type of package is "knx-alsa "?
Overclockix is a derivative of Knoppix(which is a derivative of Debian)

After a harddrive install of Knoppix, I was able to solve some of my problems by changing the Debian branch it's pulled from. For example:

apt-get install alsa-utils -t unstable # or testing

sharth
05-12-2004, 07:22 PM
Did this ever get solved?

Sepero
05-13-2004, 12:24 AM
I'm interested to know the outcome, too.

DimGR
05-13-2004, 12:36 PM
Originally posted by Sepero
I'm interested to know the outcome, too.


YES


sorry i was away for a few days

Sepero
05-13-2004, 12:51 PM
Could you please tell us "how" you solved the problem? :(

Your answer might help someone else having the same problem.

DimGR
05-13-2004, 12:53 PM
i did what i was told to do a few replies up

dpkg --purge --ignore-depends=knx-alsa knx-alsa


If that doesn't work, you might also just try apt-get --purge remove alsa-base