PDA

View Full Version : APT busted (libxv1 holding up any install)



bennyp
05-02-2004, 07:06 PM
I can't install anythign because of libxv1, which is needed by wine (and i don't even want wine right now)

root@box:/home/knoppix# apt-get install libxv1
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
libxv1
0 upgraded, 1 newly installed, 0 to remove and 731 not upgraded.
22 not fully installed or removed.
Need to get 0B/131kB of archives.
After unpacking 295kB of additional disk space will be used.

(Reading database ... 111946 files and directories currently installed.)
Unpacking libxv1 (from .../libxv1_4.3.0-7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxv1_4.3.0-7_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/lib/libXv.so.1.0', which is also in package xlibs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libxv1_4.3.0-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Markus
05-02-2004, 07:39 PM
Try first with "dpkg --configure -a" which should finish any unfinished configurations.
When you apt-getted libxv1 did you try to put in unstable? As in "apt-get -t unstable install libxv1".
For what you have now I'd try with "dpkg -i --force-overwrite /var/cache/apt/archives/libxv1_4.3.0-7_i386.deb".

bennyp
05-02-2004, 08:43 PM
at the end of dpkg --configure -a


Errors were encountered while processing:
libwine
libwine-print
wine
wine-utils
libwine-twain

and then i tried:

root@box:/home/knoppix# dpkg -i --force-overwrite /var/cache/apt/archives/libxv1_4.3.0-7_i386.deb
dpkg: error processing /var/cache/apt/archives/libxv1_4.3.0-7_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/libxv1_4.3.0-7_i386.deb

Markus
05-02-2004, 09:34 PM
I'm mystified! How can it not find a file it complains about when trying to install.
Could you post the output of: ll /var/cache/apt/archives/libxv*

Markus
05-02-2004, 09:46 PM
Looks like the libxv1 package you're installing is from the testing branch, did you try with the "-t unstable" switch to get it from unstable?

bennyp
05-02-2004, 10:06 PM
okay things have gotten even worse... i downloaded and installed dcgui-qt and things got messy..


root@box:~/portage-2.0.50-r6/src/python-missingos# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
dcgui-qt libdc0 libqt3c102-mt libxml2 libxv1
Suggested packages:
libqt3c102-mt-mysql
Recommended packages:
xml-core
The following NEW packages will be installed:
libdc0 libxv1
The following packages will be upgraded
dcgui-qt libqt3c102-mt libxml2
3 upgraded, 2 newly installed, 0 to remove and 730 not upgraded.
5 not fully installed or removed.
Need to get 4597kB of archives.
After unpacking 868kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.de.debian.org testing/main libxv1 4.3.0-7 [131kB]
Get:2 http://ftp.de.debian.org testing/main libxml2 2.6.9-1 [637kB]
Get:3 http://ftp.de.debian.org testing/main libdc0 0.2.21-2 [215kB]
Get:4 http://ftp.de.debian.org testing/main libqt3c102-mt 3:3.2.3-2 [2942kB]
Get:5 http://ftp.de.debian.org testing/main dcgui-qt 0.2.21-1 [671kB]
Fetched 4597kB in 16s (275kB/s)
(Reading database ... 111992 files and directories currently installed.)
Unpacking libxv1 (from .../libxv1_4.3.0-7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxv1_4.3.0-7_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/lib/libXv.so.1.0', which is also in package xlibs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace libxml2 2.6.2-1 (using .../libxml2_2.6.9-1_i386.deb) ...
Unpacking replacement libxml2 ...
Selecting previously deselected package libdc0.
Unpacking libdc0 (from .../libdc0_0.2.21-2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libdc0_0.2.21-2_i386.deb (--unpack):
trying to overwrite `/usr/lib/libdc.so.0.0.1', which is also in package dclib1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace libqt3c102-mt 3:3.2.1-6 (using .../libqt3c102-mt_3%3a3.2.3-2_i386.deb) ...
Unpacking replacement libqt3c102-mt ...
Preparing to replace dcgui-qt 0.2.20-1 (using .../dcgui-qt_0.2.21-1_i386.deb) ...
Unpacking replacement dcgui-qt ...
Errors were encountered while processing:
/var/cache/apt/archives/libxv1_4.3.0-7_i386.deb
/var/cache/apt/archives/libdc0_0.2.21-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Markus
05-02-2004, 11:03 PM
Well you got from 22 not fully installed to 5, so actually I'd say things are looking better.
Same thing with the libdc0, you're getting it from testing now, try with "apt-get -s -t unstable install libdc0" to see how would go, remove the -s if it looks ok.

bennyp
05-03-2004, 01:07 AM
root@box:/home/knoppix# apt-get -s -t unstable install libdc0
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:
libdc0: Conflicts: dcgui-qt (<= 0.2.21-1) but 0.2.21-1 is to be installed
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 solution).


still the libxv1 is in the way!!!

Markus
05-03-2004, 01:25 PM
Best I can think of at the moment is to start tracing packageversions with "apt-cache policy packagename".
For example this tells me which dcgui-qt version I would get with apt-get install:

sh-2.05b$ apt-cache policy dcgui-qt
dcgui-qt:
Installed: (none)
Candidate: 0.2.21-2
Version Table:
0.2.21-2 0
990 ftp://ftp.fi.debian.org unstable/main Packages

Then you can check with "apt-cache show packagename" which packages and versions dcgui-qt depends on:

sh-2.05b$ apt-cache show dcgui-qt
Package: dcgui-qt
Priority: optional
Section: net
Installed-Size: 2344
Maintainer: Pasi Savilaakso <pasi.savilaakso@pp.inet.fi>
Architecture: i386
Version: 0.2.21-2
Depends: libbz2-1.0, libc6 (>= 2.3.2.ds1-4), libdc0 (>= 0.2.21), libgcc1 (>= 1:3.3.3-1), libice6 | xlibs (>> 4.1.0), libpng12-0 (>= 1.2.5.0-4), libqt3c102-mt (>= 3:3.2.3), libsm6 | xlibs (>> 4.1.0), libssl0.9.7, libstdc++5 (>= 1:3.3.3-1), libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>> 4.1.0), libxml2 (>= 2.6.8), zlib1g (>= 1:1.2.1)
Filename: pool/main/d/dcgui-qt/dcgui-qt_0.2.21-2_i386.deb
Size: 680934
MD5sum: 62bd54dd7290739d5cdc48d87b5aafd4
Description: graphical client for Direct Connect
A graphical client for popular peer to peer network called Direct
Connect. Dcgui-qt should not be confused with the dcgui package, it is a
completely different program.
.
Dcgui-qt has many features, such as searching on all public servers without
connecting, downloading a file from multible locations, connecting to
multiple servers, and support for multiple languages.

When you find a version that satisfies the dependecies, install it with force if you have to.
It's a bit of work so perhaps someone more experienced than me knows an easier method.

bennyp
05-05-2004, 05:32 PM
i'd like to think i understood how to do what you're suggestion, but i'm really not that experienced with apt

here's my output from apt-get -f install maybe it will shed some light... i think it means the problem file conflicts two versions of one package or something


root@box:/home/knoppix# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libdc0 libxv1
The following NEW packages will be installed:
libdc0 libxv1
0 upgraded, 2 newly installed, 0 to remove and 730 not upgraded.
8 not fully installed or removed.
Need to get 0B/346kB of archives.
After unpacking 893kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 111995 files and directories currently installed.)
Unpacking libdc0 (from .../libdc0_0.2.21-2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libdc0_0.2.21-2_i386.deb (--unpack):
trying to overwrite `/usr/lib/libdc.so.0.0.1', which is also in package dclib1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking libxv1 (from .../libxv1_4.3.0-7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxv1_4.3.0-7_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/lib/libXv.so.1.0', which is also in package xlibs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libdc0_0.2.21-2_i386.deb
/var/cache/apt/archives/libxv1_4.3.0-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Markus
05-05-2004, 10:34 PM
I'm still confused about why dpkg complained about the missing file in /var/cache/apt/archives, could you post the output of: ll /var/cache/apt/archives/libxv*

What I meant with the apt-cache policy and show was that you can check from the depends line which packages libdc0 libxv1 need, and then do a check with apt-cache policy on all of them to see if they are installed and try to install them first.

Markus
05-05-2004, 10:36 PM
Removed double post

locutus
05-10-2004, 06:06 PM
this cleared up the libxv1 problem:
# dpkg --install --force-overwrite /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-1_i386.deb


I got the same thing when I tried to update xawtv and that required libxv1 to be updated too. Here's a similar "apt-get -t unstable install libxv1" error tree:

root@localhost:~# apt-get -t unstable install libxv1
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
libxv1
0 upgraded, 1 newly installed, 0 to remove and 894 not upgraded.
1 not fully installed or removed.
Need to get 0B/138kB of archives.
After unpacking 299kB of additional disk space will be used.
(Reading database ... 120028 files and directories currently installed.)
Unpacking libxv1 (from .../libxv1_4.3.0.dfsg.1-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-1_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/lib/libXv.so.1.0', which is also in package xlibs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libxv1_4.3.0.dfsg.1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@localhost:~#

the file `/usr/X11R6/lib/libXv.so.1.0' was even removed and the same error showed up.....