Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-23-2005, 06:34 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Smile 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
Old 02-23-2005, 06:54 AM   #2
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
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).


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
apt-get returns lots of errors and wont install packages... StrangeBiscuit Debian 14 09-25-2006 05:18 PM
apt-get non free wont work newinlinux Debian 13 10-18-2004 06:46 AM
2 probs, apt-get wont download anything. blackbox wont install minibootsy Linux - Software 2 06-10-2004 01:55 AM
libxcurser-dev error on install, apt-get wont fix efi360 Linux - Software 0 03-01-2004 11:26 PM
apt wont install a single package craigdolson Debian 3 12-16-2003 04:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 PM.

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