[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: out to get out of an apt-get problem...[solved]





Le 26.10.2013 11:02, François Patte a écrit :
Le 24/10/2013 23:42, Scott Ferguson a écrit :
On 25/10/13 04:42, François Patte wrote:
Bonsoir,


 trying to overwrite
'/usr/lib/x86_64-linux-gnu/libmjpegutils-2.1.so.0.0.0', which is also in
package libmjpegutils-2.0-0 1:2.1.0+debian-1
           ^^^^^^^^^^^^^^^^^^^^^^^
Unpacking liblavjpeg-2.1-0:amd64 (from
.../liblavjpeg-2.1-0_2%3a2.1.0-dmo2_amd64.deb) ...
dpkg: error processing
/var/cache/apt/archives/liblavjpeg-2.1-0_2%3a2.1.0-dmo2_amd64.deb
(--unpack):
 trying to overwrite
'/usr/lib/x86_64-linux-gnu/liblavjpeg-2.1.so.0.0.0', which is also in
package liblavjpeg-2.0-0 1:2.1.0+debian-1
           ^^^^^^^^^^^^^^^^
Unpacking libmpeg2encpp-2.1-0:amd64 (from
.../libmpeg2encpp-2.1-0_2%3a2.1.0-dmo2_amd64.deb) ...
dpkg: error processing

/var/cache/apt/archives/libmpeg2encpp-2.1-0_2%3a2.1.0-dmo2_amd64.deb
(--unpack):
 trying to overwrite
'/usr/lib/x86_64-linux-gnu/libmpeg2encpp-2.1.so.0.0.0', which is also in
package libmpeg2encpp-2.0-0 1:2.1.0+debian-1
           ^^^^^^^^^^^^^^^^^^^^^^
I savagely killed these packages, and everything went fine...

I don't know why apt-get is unable to do the job by itself (ie. upgrade
a package) though.

apt... or I should say dpkg, does not do black magic. In deb packages, there are at least 3 types of contents:
_ files to install themselves
_ scripts to run before/after the installation
_ informations about which package will broke the package, which packages it will need, which virtual packages it provides, etc

When some of those informations lacks, then apt-*, aptitude, dselect, etc can not do their job correctly. It is a bug, and if you can report about it, do it ( I have no idea if you can submit bugs to people who are maintaining multimedia, though. Of course, reporting bug to Debian will not help, here we can only try to help you find a workaround.)


Reply to: