package libavcodec-extra-52 (not installed) failed to install/upgrade: trying to overwrite `/usr/lib/libavcodec.so.52.20.0', which is also in package libavcodec-unstripped-52

Bug #418785 reported by Erick Brunzell
280
This bug affects 51 people
Affects Status Importance Assigned to Milestone
Baltix
Invalid
Undecided
Unassigned
ffmpeg-extra (Ubuntu)
Fix Released
High
Reinhard Tartler

Bug Description

Updates in Karmic alpha4 this am returned this error:

E: /var/cache/apt/archives/libavcodec-extra-52_4%3a0.5+svn20090706-1ubuntu1+extra1_i386.deb: trying to overwrite `/usr/lib/libavcodec.so.52.20.0', which is also in package libavcodec-unstripped-52

There was in fact more:

E: /var/cache/apt/archives/libavutil-extra-49_4%3a0.5+svn20090706-1ubuntu1+extra1_i386.deb: trying to overwrite `/usr/lib/libavutil.so.49.15.0', which is also in package libavutil-unstripped-49
E: /var/cache/apt/archives/libavcodec-extra-52_4%3a0.5+svn20090706-1ubuntu1+extra1_i386.deb: trying to overwrite `/usr/lib/libavcodec.so.52.20.0', which is also in package libavcodec-unstripped-52
E: /var/cache/apt/archives/libavformat-extra-52_4%3a0.5+svn20090706-1ubuntu1+extra1_i386.deb: trying to overwrite `/usr/lib/libavformat.so.52.31.0', which is also in package libavformat-unstripped-52
E: /var/cache/apt/archives/libpostproc-extra-51_4%3a0.5+svn20090706-1ubuntu1+extra1_i386.deb: trying to overwrite `/usr/lib/libpostproc.so.51.2.0', which is also in package libpostproc-unstripped-51
E: /var/cache/apt/archives/libswscale-extra-0_4%3a0.5+svn20090706-1ubuntu1+extra1_i386.deb: trying to overwrite `/usr/lib/libswscale.so.0.7.1', which is also in package libswscale-unstripped-0

ProblemType: Package
Architecture: i386
Date: Tue Aug 25 13:29:30 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: trying to overwrite `/usr/lib/libavcodec.so.52.20.0', which is also in package libavcodec-unstripped-52
Package: libavcodec-extra-52 (not installed)
ProcVersionSignature: Ubuntu 2.6.31-7.27-generic
SourcePackage: ffmpeg-extra
Title: package libavcodec-extra-52 (not installed) failed to install/upgrade: trying to overwrite `/usr/lib/libavcodec.so.52.20.0', which is also in package libavcodec-unstripped-52
Uname: Linux 2.6.31-7-generic i686

Revision history for this message
Erick Brunzell (lbsolost) wrote :
Revision history for this message
ginnyh532 (ginnyh532) wrote :

When I tried to run my update today, I got the following:

Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  libavcodec-unstripped-52: Depends: libavcodec-extra-52 (= 4:0.5+svn20090706-1ubuntu1+extra1) but it is not installed
  libavformat-unstripped-52: Depends: libavformat-extra-52 (= 4:0.5+svn20090706-1ubuntu1+extra1) but it is not installed
  libavutil-unstripped-49: Depends: libavutil-extra-49 (= 4:0.5+svn20090706-1ubuntu1+extra1) but it is not installed
  libpostproc-unstripped-51: Depends: libpostproc-extra-51 (= 4:0.5+svn20090706-1ubuntu1+extra1) but it is not installed
  libswscale-unstripped-0: Depends: libswscale-extra-0 (= 4:0.5+svn20090706-1ubuntu1+extra1) but it is not installed
E: Unmet dependencies. Try using -f.

affects: ubuntu → ffmpeg-extra (Ubuntu)
Changed in ffmpeg-extra (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Ofir Klinger (klinger-ofir) wrote :

This bug prevents me from updating the system.

Please, try to solve this before alpha 5 is released.

Changed in ffmpeg-extra (Ubuntu):
assignee: nobody → Reinhard Tartler (siretart)
milestone: none → ubuntu-9.10
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ffmpeg-extra - 4:0.5+svn20090706-2ubuntu2

---------------
ffmpeg-extra (4:0.5+svn20090706-2ubuntu2) karmic; urgency=low

  [ Reinhard Tartler ]
  * merge from the 'ffmpeg' package
  * Make arguments of av_set_pts_info() unsigned.
  * update debian/changelog
  * use patch for issue1245 from git.ffmpeg.org
  * Support constant-quant encoding for libtheora, LP: #356322
  * increase swscale compile time width (VOF/VOFW), LP: #443264
  * Add missing Conflicts/Replaces to ensure a working upgrade patch from
    intrepid/jaunty. LP: #418785

  [ Loïc Minier ]
  * Update config for karmic's armel toolchain.
  * Enable neon flavour; LP: #383240.
  * Update NEON confflags to assume v7 and VFP.
  * Add backported NEON patches from ffmpeg trunk; see debian/patches/neon/.
  * Pass proper --cpu and --extra-flags on armel.
  * Pass -fPIC -DPIC to neon pass.

 -- Reinhard Tartler <email address hidden> Wed, 14 Oct 2009 09:15:50 +0200

Changed in ffmpeg-extra (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Noel J. Bergman (noeljb) wrote :

Now I get errors when trying to upgrade karmic. If I try to resolve them (or get better detail) by installing, I get:

$ sudo apt-get install libavcodec-extra-52 libavcodec-unstripped-52 libavutil-extra-49 libavutil-unstripped-49
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libavcodec-extra-52: Conflicts: libavcodec-unstripped-52 but 4:0.5+svn20090706-2ubuntu2 is to be installed
  libavutil-extra-49: Conflicts: libavutil-unstripped-49 but 4:0.5+svn20090706-2ubuntu2 is to be installed

If I try to install just the -extra packages:

$ sudo apt-get install libavcodec-extra-52 libavutil-extra-49
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libopenal1 libsvga1 libqt4-network liblzo2-2 mplayer-skin-blue
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  libavcodec-unstripped-52 libavutil-unstripped-49 libxine1-ffmpeg mplayer mplayer-nogui smplayer smplayer-themes smplayer-translations
The following packages will be upgraded:
  libavcodec-extra-52 libavutil-extra-49
2 upgraded, 0 newly installed, 8 to remove and 39 not upgraded.
Need to get 2,271kB of archives.
After this operation, 22.9MB disk space will be freed.
Do you want to continue [Y/n]? n

Is that to be expected from this change? I have:

ii libavcodec-extra-52 4:0.5+svn20090706-2ubuntu1
ii libavcodec-unstripped-52 4:0.5+svn20090706-2ubuntu1
ii libavformat52 4:0.5+svn20090706-2ubuntu2
ii libavutil-extra-49 4:0.5+svn20090706-2ubuntu1
ii libavutil-unstripped-49 4:0.5+svn20090706-2ubuntu1

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 418785] Re: package libavcodec-extra-52 (not installed) failed to install/upgrade: trying to overwrite `/usr/lib/libavcodec.so.52.20.0', which is also in package libavcodec-unstripped-52

try:

'sudo apt-get install libavcodec-extra-52 mplayer libxine1-ffmpeg'

that should do it.

apt's dependency resolver seems to have a hard time to find the right
solution.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Noel J. Bergman (noeljb) wrote :

Seems to be fixed by ffmpeg-extra (4:0.5+svn20090706-2ubuntu3). :-) Thanks.

Revision history for this message
dino99 (9d9) wrote :

closing: outdated

Changed in baltix:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.