Stuck on Ubuntu 12.04 (x86_64)

Followed this guide first, then found this guide, and the subsequent easy install ppa.

 

I'm pretty sure it's just that it's too late and I'm missing something incredibly obvious, but I cannot for the life of me figure out how to resolve my dependencies.  I might be in some weird inbetween state that I can't figure out how to fix.

 

To make sure I'm doing this right...First I add the repository for the older version of ffmpeg:

 

 

sudo add-apt-repository ppa:jon-severinsson/ffmpeg

 

 

Then libCEC (didn't have it):


 

sudo add-apt-repository ppa:pulse-eight/pulse

 

 

Then the plexHT repository itself:

 

 

sudo add-apt-repository ppa:plexapp/plexht

 

Make sure we're all up to date:

 

sudo apt-get update

 

Then attempt an install:

 

sudo apt-get install plexhometheater

 

But I keep getting this:

 

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:
plexhometheater : Depends: libavcodec53 (>= 6:0.10.5~) but it is not going to be installed or
libavcodec-extra-53 (>= 6:0.10.6) but it is not going to be installed
Depends: libavfilter2 (>= 6:0.10.5~) but it is not going to be installed
Depends: libavformat53 (>= 6:0.10.5~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

 

I know the repositories were added successfully (or so I think) - here's an ls of my sources list:

-rw-r--r-- 1 root root  148 Mar 20 00:00 jon-severinsson-ffmpeg-precise.list
-rw-r--r-- 1 root root  148 Mar 20 00:00 jon-severinsson-ffmpeg-precise.list.save
-rw-r--r-- 1 root root  132 Mar 20 00:00 plexapp-plexht-precise.list
-rw-r--r-- 1 root root  132 Mar 20 00:00 plexapp-plexht-precise.list.save
-rw-r--r-- 1 root root   70 Mar 20 00:00 plexmediaserver.list
-rw-r--r-- 1 root root   70 Mar 20 00:00 plexmediaserver.list.save
-rw-r--r-- 1 root root  140 Mar 20 00:00 pulse-eight-libcec-precise.list
-rw-r--r-- 1 root root  140 Mar 20 00:00 pulse-eight-libcec-precise.list.save

 

So is this something mind blowingly simple that I'm missing, or have I gotten into some weird inbetween state?  Thanks in advance for any suggestions!!

sudo apt-get install libavcodec-extra-53

sudo apt-get install libavcodec-extra-53

Ah.  I'd tried this before to no avail:

sudo apt-get install libavcodec53

Ran your command, got this:

The following packages have unmet dependencies:
 libavcodec-extra-53 : Depends: libopenjpeg2 but it is not going to be installed

So I ran:

sudo apt-get install libopenjpeg2

Then your original command...which resulted in:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libtwolame0 liba52-0.7.4 libdvdnav4 libdvdread4 libsidplay1 libmad0 libmpeg2-4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libgsm1 libopencore-amrnb0 libopencore-amrwb0 libschroedinger-1.0-0 libva1 libvo-aacenc0 libvo-amrwbenc0 libvpx1
The following packages will be REMOVED:
  libgsm1:i386 libschroedinger-1.0-0:i386 libvpx1:i386
The following NEW packages will be installed:
  libavcodec-extra-53 libgsm1 libopencore-amrnb0 libopencore-amrwb0 libschroedinger-1.0-0 libva1 libvo-aacenc0 libvo-amrwbenc0 libvpx1
0 upgraded, 9 newly installed, 3 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 916 kB/3,463 kB of archives.
After this operation, 8,300 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main libgsm1 amd64 1.0.13-3 [29.3 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/universe libopencore-amrnb0 amd64 0.1.2-1 [98.4 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/universe libopencore-amrwb0 amd64 0.1.2-1 [50.1 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main libschroedinger-1.0-0 amd64 1.0.11-1 [287 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main libva1 amd64 1.0.15-4 [38.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/universe libvo-aacenc0 amd64 0.1.1-2 [74.8 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ precise/universe libvo-amrwbenc0 amd64 0.1.1-2 [68.4 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ precise/main libvpx1 amd64 1.0.0-1 [269 kB]
Fetched 916 kB in 2s (458 kB/s)  
(Reading database ... 291657 files and directories currently installed.)
Removing libgsm1:i386 ...
Removing libschroedinger-1.0-0:i386 ...
Removing libvpx1:i386 ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Selecting previously unselected package libgsm1.
(Reading database ... 291634 files and directories currently installed.)
Unpacking libgsm1 (from .../libgsm1_1.0.13-3_amd64.deb) ...
(Noting disappearance of libgsm1:i386, which has been completely replaced.)
Selecting previously unselected package libopencore-amrnb0.
Unpacking libopencore-amrnb0 (from .../libopencore-amrnb0_0.1.2-1_amd64.deb) ...
Selecting previously unselected package libopencore-amrwb0.
Unpacking libopencore-amrwb0 (from .../libopencore-amrwb0_0.1.2-1_amd64.deb) ...
Selecting previously unselected package libschroedinger-1.0-0.
Unpacking libschroedinger-1.0-0 (from .../libschroedinger-1.0-0_1.0.11-1_amd64.deb) ...
(Noting disappearance of libschroedinger-1.0-0:i386, which has been completely replaced.)
Selecting previously unselected package libva1.
Unpacking libva1 (from .../libva1_1.0.15-4_amd64.deb) ...
Selecting previously unselected package libvo-aacenc0.
Unpacking libvo-aacenc0 (from .../libvo-aacenc0_0.1.1-2_amd64.deb) ...
Selecting previously unselected package libvo-amrwbenc0.
Unpacking libvo-amrwbenc0 (from .../libvo-amrwbenc0_0.1.1-2_amd64.deb) ...
Selecting previously unselected package libvpx1.
Unpacking libvpx1 (from .../libvpx1_1.0.0-1_amd64.deb) ...
(Noting disappearance of libvpx1:i386, which has been completely replaced.)
Selecting previously unselected package libavcodec-extra-53.
Unpacking libavcodec-extra-53 (from .../libavcodec-extra-53_6%3a0.10.6-0ubuntu0jon1~precise1_amd64.deb) ...
Setting up libopenjpeg2 (1.3+dfsg-4) ...
Setting up libopencore-amrnb0 (0.1.2-1) ...
Setting up libopencore-amrwb0 (0.1.2-1) ...
Setting up libva1 (1.0.15-4) ...
Setting up libvo-aacenc0 (0.1.1-2) ...
Setting up libvo-amrwbenc0 (0.1.1-2) ...
dpkg: dependency problems prevent configuration of libavcodec-extra-53:
 libavcodec-extra-53 depends on libgsm1 (>= 1.0.13); however:
  Package libgsm1 is not configured yet.
 libavcodec-extra-53 depends on libschroedinger-1.0-0 (>= 1.0.0); however:
  Package libschroedinger-1.0-0 is not configured yet.
 libavcodec-extra-53 depends on libvpx1 (>= 1.0.0); however:
  Package libvpx1 is not configured yet.
dpkg: error processing libavcodec-extra-53 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 libavcodec-extra-53
E: Sub-process /usr/bin/dpkg returned an error code (1)

So I did a:

sudo apt-get install -f

To try to fix the dependencies, then re-ran my apt-get on plexhometheatre:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libtwolame0 liba52-0.7.4 libdvdnav4 libdvdread4 libsidplay1 libmad0 libmpeg2-4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libavfilter2 libavformat53 libboost-system1.46.1 libboost-thread1.46.1 libcec libcec2 libfribidi0 liblockdev1 liblzo2-2 libmicrohttpd5
  libopencv-core2.3 libopencv-imgproc2.3 libshairport1 libswscale2 libtinyxml2.6.2 libva-glx1 libva-x11-1
The following packages will be REMOVED:
  libass4:i386 libboost-system1.46.1:i386 libboost-thread1.46.1:i386 libcec2:i386 libfribidi0:i386 liblockdev1:i386 libmicrohttpd5:i386
  libopencv-core2.3:i386 libopencv-imgproc2.3:i386 libshairport1:i386 libtinyxml2.6.2:i386
The following NEW packages will be installed:
  libavfilter2 libavformat53 libboost-system1.46.1 libboost-thread1.46.1 libcec libcec2 libfribidi0 liblockdev1 liblzo2-2 libmicrohttpd5
  libopencv-core2.3 libopencv-imgproc2.3 libshairport1 libswscale2 libtinyxml2.6.2 libva-glx1 libva-x11-1 plexhometheater
0 upgraded, 18 newly installed, 11 to remove and 3 not upgraded.
Need to get 32.5 MB/34.8 MB of archives.
After this operation, 60.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main liblzo2-2 amd64 2.06-1 [52.1 kB]
Get:2 http://ppa.launchpad.net/pulse-eight/libcec/ubuntu/ precise/main libcec2 amd64 2.1.1-5~precise [199 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/universe libshairport1 amd64 1.2.1~git20120110.aeb4987-1 [25.8 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main libva-x11-1 amd64 1.0.15-4 [16.1 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main libva-glx1 amd64 1.0.15-4 [10.9 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/main libfribidi0 amd64 0.19.2-1 [43.8 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ precise/universe libboost-system1.46.1 amd64 1.46.1-7ubuntu3 [14.6 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ precise/universe libboost-thread1.46.1 amd64 1.46.1-7ubuntu3 [39.5 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ precise/universe liblockdev1 amd64 1.0.3-1.4build2 [9,318 B]
Get:10 http://us.archive.ubuntu.com/ubuntu/ precise/universe libmicrohttpd5 amd64 0.4.6-1 [31.2 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ precise/universe libtinyxml2.6.2 amd64 2.6.2-1build1 [35.3 kB]
Get:12 http://ppa.launchpad.net/pulse-eight/libcec/ubuntu/ precise/main libcec amd64 2.1.1-5~precise [23.7 kB]
Get:13 http://ppa.launchpad.net/plexapp/plexht/ubuntu/ precise/main plexhometheater amd64 0.9.9.6-201303141923-ubuntu31~precise1 [32.0 MB]
Fetched 32.5 MB in 11s (2,782 kB/s)                                                                                                                    
(Reading database ... 291690 files and directories currently installed.)
Removing libass4:i386 ...
Removing libboost-system1.46.1:i386 ...
Removing libboost-thread1.46.1:i386 ...
Removing libcec2:i386 ...
Removing libfribidi0:i386 ...
Removing liblockdev1:i386 ...
Removing libmicrohttpd5:i386 ...
Removing libopencv-imgproc2.3:i386 ...
Removing libopencv-core2.3:i386 ...
Removing libshairport1:i386 ...
Removing libtinyxml2.6.2:i386 ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for man-db ...
Selecting previously unselected package libavformat53.
(Reading database ... 291624 files and directories currently installed.)
Unpacking libavformat53 (from .../libavformat53_6%3a0.10.6-0ubuntu0jon1~precise1_amd64.deb) ...
Selecting previously unselected package libopencv-core2.3.
Unpacking libopencv-core2.3 (from .../libopencv-core2.3_2.3.1-7_amd64.deb) ...
(Noting disappearance of libopencv-core2.3:i386, which has been completely replaced.)
Selecting previously unselected package libopencv-imgproc2.3.
Unpacking libopencv-imgproc2.3 (from .../libopencv-imgproc2.3_2.3.1-7_amd64.deb) ...
(Noting disappearance of libopencv-imgproc2.3:i386, which has been completely replaced.)
Selecting previously unselected package libswscale2.
Unpacking libswscale2 (from .../libswscale2_6%3a0.10.6-0ubuntu0jon1~precise1_amd64.deb) ...
Selecting previously unselected package libavfilter2.
Unpacking libavfilter2 (from .../libavfilter2_6%3a0.10.6-0ubuntu0jon1~precise1_amd64.deb) ...
Selecting previously unselected package liblzo2-2.
Unpacking liblzo2-2 (from .../liblzo2-2_2.06-1_amd64.deb) ...
Selecting previously unselected package libshairport1.
Unpacking libshairport1 (from .../libshairport1_1.2.1~git20120110.aeb4987-1_amd64.deb) ...
Selecting previously unselected package libva-x11-1.
Unpacking libva-x11-1 (from .../libva-x11-1_1.0.15-4_amd64.deb) ...
Selecting previously unselected package libva-glx1.
Unpacking libva-glx1 (from .../libva-glx1_1.0.15-4_amd64.deb) ...
Selecting previously unselected package libfribidi0.
Unpacking libfribidi0 (from .../libfribidi0_0.19.2-1_amd64.deb) ...
(Noting disappearance of libfribidi0:i386, which has been completely replaced.)
Selecting previously unselected package libboost-system1.46.1.
Unpacking libboost-system1.46.1 (from .../libboost-system1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
(Noting disappearance of libboost-system1.46.1:i386, which has been completely replaced.)
Selecting previously unselected package libboost-thread1.46.1.
Unpacking libboost-thread1.46.1 (from .../libboost-thread1.46.1_1.46.1-7ubuntu3_amd64.deb) ...
(Noting disappearance of libboost-thread1.46.1:i386, which has been completely replaced.)
Selecting previously unselected package liblockdev1.
Unpacking liblockdev1 (from .../liblockdev1_1.0.3-1.4build2_amd64.deb) ...
(Noting disappearance of liblockdev1:i386, which has been completely replaced.)
Selecting previously unselected package libcec2.
Unpacking libcec2 (from .../libcec2_2.1.1-5~precise_amd64.deb) ...
Selecting previously unselected package libcec.
Unpacking libcec (from .../libcec_2.1.1-5~precise_amd64.deb) ...
Selecting previously unselected package libmicrohttpd5.
Unpacking libmicrohttpd5 (from .../libmicrohttpd5_0.4.6-1_amd64.deb) ...
(Noting disappearance of libmicrohttpd5:i386, which has been completely replaced.)
Selecting previously unselected package libtinyxml2.6.2.
Unpacking libtinyxml2.6.2 (from .../libtinyxml2.6.2_2.6.2-1build1_amd64.deb) ...
(Noting disappearance of libtinyxml2.6.2:i386, which has been completely replaced.)
Selecting previously unselected package plexhometheater.
Unpacking plexhometheater (from .../plexhometheater_0.9.9.6-201303141923-ubuntu31~precise1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up libavformat53 (6:0.10.6-0ubuntu0jon1~precise1) ...
Setting up libswscale2 (6:0.10.6-0ubuntu0jon1~precise1) ...
dpkg: dependency problems prevent configuration of libavfilter2:
 libavfilter2 depends on libopencv-core2.3; however:
  Package libopencv-core2.3 is not configured yet.
 libavfilter2 depends on libopencv-imgproc2.3; however:
  Package libopencv-imgproc2.3 is not configured yet.
dpkg: error processing libavfilter2 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Setting up liblzo2-2 (2.06-1) ...
Setting up libshairport1 (1.2.1~git20120110.aeb4987-1) ...
Setting up libva-x11-1 (1.0.15-4) ...
Setting up libva-glx1 (1.0.15-4) ...
dpkg: dependency problems prevent configuration of libcec2:
 libcec2 depends on liblockdev1; however:
  Package liblockdev1 is not configured yet.
dpkg: error processing libcec2 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of libcec:
 libcec depends on libcec2 (= 2.1.1-5~precise); however:
  Package libcec2 is not configured yet.
dpkg: error processing libcec (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of plexhometheater:
 plexhometheater depends on libavfilter2 (>= 6:0.10.5~); however:
  Package libavfilter2 is not configured yet.
 plexhometheater depends on libboost-system1.46.1 (>= 1.46.1-1); however:
  Package libboost-system1.46.1 is not configured yet.
 plexhometheater depends on libboost-thread1.46.1 (>= 1.46.1-1); however:
  Package libboost-thread1.46.1 is not configured yet.
 plexhometheater depends on libfribidi0 (>= 0.19.2); however:
  Package libfribidi0 is not configured yet.
 plexhometheater depends on libmicrohttpd5; however:
  Package libmicrohttpd5 is not configured yet.
 plexhometheater depends on libtinyxml2.6.2; however:
  Package libtinyxml2.6.2 is not configured yet.
 plexhometheater depends on libcec (>= 1.7); however:
  Package libcec is not configured yet.
dpkg: error processing plexhometheater (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 libavfilter2
 libcec2
 libcec
 plexhometheater
E: Sub-process /usr/bin/dpkg returned an error code (1)

Should I now try to manually continue installing these dependencies one by one?  I'm not sure why my install of Ubuntu is having so much trouble with this, but thanks again in advance for your help!

Just realized I never re-ran your command after fixing my dependencies!  So I ran:

mediacenter@mediacenter:~$ sudo apt-get install libavcodec-extra-53
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libavcodec-extra-53 is already the newest version.
The following packages were automatically installed and are no longer required:
  libtwolame0 liba52-0.7.4 libdvdnav4 libdvdread4 libsidplay1 libmad0 libmpeg2-4
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
12 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up libopencv-core2.3 (2.3.1-7) ...
Setting up libopencv-imgproc2.3 (2.3.1-7) ...
Setting up libavfilter2 (6:0.10.6-0ubuntu0jon1~precise1) ...
Setting up libfribidi0 (0.19.2-1) ...
Setting up libboost-system1.46.1 (1.46.1-7ubuntu3) ...
Setting up libboost-thread1.46.1 (1.46.1-7ubuntu3) ...
Setting up liblockdev1 (1.0.3-1.4build2) ...
Setting up libmicrohttpd5 (0.4.6-1) ...
Setting up libtinyxml2.6.2 (2.6.2-1build1) ...
Setting up libcec2 (2.1.1-5~precise) ...
Setting up libcec (2.1.1-5~precise) ...
Setting up plexhometheater (0.9.9.6-201303141923-ubuntu31~precise1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

And now it looks like plexhometheatre is installed!

mediacenter@mediacenter:~$ sudo apt-get install plexhometheater 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
plexhometheater is already the newest version.
The following packages were automatically installed and are no longer required:
  libtwolame0 liba52-0.7.4 libdvdnav4 libdvdread4 libsidplay1 libmad0 libmpeg2-4
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Hopefully this post will help someone in the future...thank you again!

Sorry if this is obvious, I managed to make in through the install process however I'm can't find the command to start plex.  Could someone tell me what it is or link me how to find out.  Thanks for the help.

Thanks for the excellent information.  This worked perfectly for me.  

The instalation went fine, until I tried to run plexHT, and I got this  :wacko: :

~$ plexhometheater.sh
ERROR: Unable to create GUI. Exiting
Exiting Plex Media Server queue...
Segmentation fault (core dumped)
 

Ubuntu 12.04 (x64), 3.2.0-45-generic
 



 

I'm getting the same error when trying to launch.

Sorry if this is obvious, I managed to make in through the install process however I'm can't find the command to start plex.  Could someone tell me what it is or link me how to find out.  Thanks for the help.

Enter the following command in your terminal (or create a shortcut in the launcher to run this command):

plexhometheater.sh

The instalation went fine, until I tried to run plexHT, and I got this  :wacko: :

~$ plexhometheater.sh
ERROR: Unable to create GUI. Exiting
Exiting Plex Media Server queue...
Segmentation fault (core dumped)
 

Ubuntu 12.04 (x64), 3.2.0-45-generic
 



 

If you're trying to run this command over SSH instead of on the machine itself, try exporting the display first.  My display runs on 0:0, so I run the following command over SSH to start plex:

export DISPLAY=:0.0 ; plexhometheater.sh

is there a way to automatically start plex when it boot and shutdown the pc when you close plex 

is there a way to automatically start plex when it boot and shutdown the pc when you close plex 

You can give this a shot:

http://forums.plexapp.com/index.php/topic/70450-ubuntu-1204-init-script/?p=407147

Save some time...  Add the repositories, update, and then install plexhometheater with all dependencies (-f)

sudo add-apt-repository ppa:jon-severinsson/ffmpeg

sudo add-apt-repository ppa:pulse-eight/pulse

sudo add-apt-repository ppa:plexapp/plexht

sudo apt-get update

sudo apt-get install plexhometheater -f

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.