-   Linux - Newbie (
-   -   apt-get -f install wont work (

newbieX 02-23-2005 06:34 AM

apt-get -f install wont work
Can anyone help me with this?

I am trying to set up packages on my knoppix with apt-get. I have done it before by typing:

apt-get install [package]

But now when I try it I get an error saying:

You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libwine: Depends: libxv1 but it is not going to be installed

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s

But when I type apt-get -f install I get another error:

The following extra packages will be installed:
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 977 not upgraded.
23 not fully installed or removed.
Need to get 0B/158kB of archives.
After unpacking 328kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 117720 files and directories currently installed.)
Unpacking libxv1 (from .../libxv1_4.3.0.dfsg.1-8_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-8_i386.deb (--u
trying to overwrite `/usr/X11R6/lib/', which is also in package xlibs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

what the hell is wrong.

p.s. I am a newby so please have the solution for me as simple as possible:)

ToniT 02-23-2005 06:54 AM

See the bugreport about the subject.

To recover, you can try to manually first install
newer version of xlibs, eg. with commands something like:

apt-get --download-only install xlibs
dpkg -i /var/cache/apt/archives/xlibs*.deb

or to remove old conflicting version of xlibs temporalily

dpkg --remove --force-depends xlibs
(warning: your X stops working at that point).

All times are GMT -5. The time now is 10:14 AM.