AVS › AVS Forum › Video Components › Home Theater Computers › HTPC - Linux Chat › E: Unable to correct problems, you have held broken packages.
New Posts  All Forums:Forum Nav:

E: Unable to correct problems, you have held broken packages.

post #1 of 6
Thread Starter 
EDIT: solved.. once I did this things got unstuck...
Code:
sudo apt-get remove libswscale-extra-2

So I think it was VLC 2.0, updated something in ffmpeg, and toasted my mplayer install... I have yet to get mplayer back in shape (got video, but no audio, so I tried breaking out the big hammer, removing libavformat53 and libavformat-dev and then purging vlc2 (and its repo) in hopes of getting back to a friendlier version, but now I can't even reinstall stuff.. and coming up pretty empty on google... Ubuntu 11.10...

Code:
sudo apt-get install ffmpeg forked-daapd gstreamer0.10-ffmpeg libavdevice53 libavfilter2 libavformat53 minidlna mplayer smplayer smplayer-themes smplayer-translations
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:
 ffmpeg : Depends: libavcodec53 (>= 4:0.7.3-0ubuntu0.11.10.1) but it is not going to be installed or
                   libavcodec-extra-53 (>= 4:0.7.3) but it is not going to be installed
          Depends: libavcodec53 (< 4:0.7.3-99) but it is not going to be installed or
                   libavcodec-extra-53 (< 4:0.7.3.99) but it is not going to be installed
          Depends: libavutil51 (< 4:0.7.3-99) but it is not going to be installed or
                   libavutil-extra-51 (< 4:0.7.3.99) but 4:0.8.0.1~ppa2 is to be installed
          Depends: libpostproc52 (>= 4:0.7.3-0ubuntu0.11.10.1) but it is not going to be installed or
                   libpostproc-extra-52 (>= 4:0.7.3) but it is not going to be installed
          Depends: libpostproc52 (< 4:0.7.3-99) but it is not going to be installed or
                   libpostproc-extra-52 (< 4:0.7.3.99) but it is not going to be installed
          Depends: libswscale2 (< 4:0.7.3-99) but it is not going to be installed or
                   libswscale-extra-2 (< 4:0.7.3.99) but 4:0.8.0.1~ppa2 is to be installed
 forked-daapd : Depends: libavcodec53 (>= 4:0.7-1) but it is not going to be installed or
                         libavcodec-extra-53 (>= 4:0.7-1) but it is not going to be installed
 gstreamer0.10-ffmpeg : Depends: libavcodec53 (>= 4:0.7-1) but it is not going to be installed or
                                 libavcodec-extra-53 (>= 4:0.7-1) but it is not going to be installed
                        Depends: libpostproc52 (>= 4:0.7-1) but it is not going to be installed or
                                 libpostproc-extra-52 (>= 4:0.7-1) but it is not going to be installed
 libavdevice53 : Depends: libavcodec53 (>= 4:0.7.3-0ubuntu0.11.10.1) but it is not going to be installed or
                          libavcodec-extra-53 (>= 4:0.7.3) but it is not going to be installed
                 Depends: libavcodec53 (< 4:0.7.3-99) but it is not going to be installed or
                          libavcodec-extra-53 (< 4:0.7.3.99) but it is not going to be installed
                 Depends: libavutil51 (< 4:0.7.3-99) but it is not going to be installed or
                          libavutil-extra-51 (< 4:0.7.3.99) but 4:0.8.0.1~ppa2 is to be installed
 libavfilter2 : Depends: libavcodec53 (>= 4:0.7.3-0ubuntu0.11.10.1) but it is not going to be installed or
                         libavcodec-extra-53 (>= 4:0.7.3) but it is not going to be installed
                Depends: libavcodec53 (< 4:0.7.3-99) but it is not going to be installed or
                         libavcodec-extra-53 (< 4:0.7.3.99) but it is not going to be installed
                Depends: libavutil51 (< 4:0.7.3-99) but it is not going to be installed or
                         libavutil-extra-51 (< 4:0.7.3.99) but 4:0.8.0.1~ppa2 is to be installed
                Depends: libswscale2 (< 4:0.7.3-99) but it is not going to be installed or
                         libswscale-extra-2 (< 4:0.7.3.99) but 4:0.8.0.1~ppa2 is to be installed
 libavformat53 : Depends: libavcodec53 (>= 4:0.7.3-0ubuntu0.11.10.1) but it is not going to be installed or
                          libavcodec-extra-53 (>= 4:0.7.3) but it is not going to be installed
                 Depends: libavcodec53 (< 4:0.7.3-99) but it is not going to be installed or
                          libavcodec-extra-53 (< 4:0.7.3.99) but it is not going to be installed
                 Depends: libavutil51 (< 4:0.7.3-99) but it is not going to be installed or
                          libavutil-extra-51 (< 4:0.7.3.99) but 4:0.8.0.1~ppa2 is to be installed
 mplayer : Depends: libavcodec53 (>= 4:0.7-1) but it is not going to be installed or
                    libavcodec-extra-53 (>= 4:0.7-1) but it is not going to be installed
           Depends: libpostproc52 (>= 4:0.7-1) but it is not going to be installed or
                    libpostproc-extra-52 (>= 4:0.7-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I've tried fix dependencies in Synpatic, but since I can't even mark smplayer for install (it gives a warning dialog about dependencies and unmarks it...

I don't even know what a "held" package is?!?!?
post #2 of 6
I would guess:

held (verb): from 'to hold'

Anyway, ffmpeg is one big headache with they constantly changing API/ABI, which means that each version of software dependent on it requires a specific version of ffmpeg...
post #3 of 6
Thread Starter 
Quote:
Originally Posted by tux99 View Post

I would guess:

held (verb): from 'to hold'

Anyway, ffmpeg is one big headache with they constantly changing API/ABI, which means that each version of software dependent on it requires a specific version of ffmpeg...

since I never purposely "held" the package ... it wasn't incredibly clear what I had to "un-hold"....

I do have to wonder, if I'd downloaded VLC2 on a Mac/Windows box.. I don't think it could have possibly clobbered any other app... is it possible to have the same safety on linux?
post #4 of 6
Quote:
Originally Posted by zim2dive View Post

I do have to wonder, if I'd downloaded VLC2 on a Mac/Windows box.. I don't think it could have possibly clobbered any other app... is it possible to have the same safety on linux?

Windows (and Mac probably too) versions are built with all libraries included in the binary statically, hence the much larger size of Windows binaries.

Of course you could also build all Linux binaries with statically included libraries but that would greatly increase bloat, i.e. require far more RAM and more disk space.
post #5 of 6
Thread Starter 
Quote:
Originally Posted by tux99 View Post

Windows (and Mac probably too) versions are built with all libraries included in the binary statically, hence the much larger size of Windows binaries.

Of course you could also build all Linux binaries with statically included libraries but that would greatly increase bloat, i.e. require far more RAM and more disk space.

given the several hours it took me to untangle the mess from VLC2.. I might be willing to do that... is that an option when I do the configure step for building a binary? (of course I probably have to have those incompatible libraries installed to do the build...)
post #6 of 6
Quote:
Originally Posted by zim2dive View Post

given the several hours it took me to untangle the mess from VLC2.. I might be willing to do that... is that an option when I do the configure step for building a binary? (of course I probably have to have those incompatible libraries installed to do the build...)

It's documented on the vlc wiki and IIRC also in the READMEs that are included in the source tarball, you don't need to download any libraries it does it all for you if you follow the instructions.

See here:
http://wiki.videolan.org/UnixCompile ( The method for badly-behaved distributions is the one to build it with static libs)

the vlc 2.0 source tarball has a bug though, you need to do this first (after untarring the tarball and cd-ing into it):
Code:
cd contrib/ ; mv src/src src2 ; rmdir src ; mv src2 src
Good luck!
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: HTPC - Linux Chat
AVS › AVS Forum › Video Components › Home Theater Computers › HTPC - Linux Chat › E: Unable to correct problems, you have held broken packages.