|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Unsatisfied Java dependency with Ubuntu
I'm trying to install sagetv-server on ubuntu. Running into this error:
Error: Dependency is not satisfiable: openjdk-6|sun-java6-jre I have: java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk I have installed the JDK as seen here: bbonner@mobileu:~$ sudo apt-get install openjdk-6-jre [sudo] password for bbonner: Reading package lists... Done Building dependency tree Reading state information... Done openjdk-6-jre is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Any ideas on how I can resolve this? Thanks. |
#2
|
|||
|
|||
I just added this repo:
add-apt-repository "deb http://archive.canonical.com/ lucid partner" And ran sudo apt-get remove openjdk-6-jre and then sudo apt-get install sun-java6-jre sun-java6-fonts sun-java6-plugin which did the trick. Maybe openjdk6 should be allowed??? |
#3
|
|||
|
|||
Openjdk is the surest way to see crashes and spurious bugs with java apps that I know of. Stick with the sun / oracle JRE, and you'll be fine.
Drew |
#4
|
|||
|
|||
You can always just follow the "Easy installation using Debian packages (recommended)" method at http://www.sagetv.com/linuxOEMinstall.html and, um, oh wait, no. Nevermind. (Looks at feet.)
|
#5
|
|||
|
|||
I had this problem too when trying to install to Ubuntu 10.04. Ended up I needed to:
1. Make sure updates were up to date. 2. Enable the "Partners Links" in the Repositories. Once this was done, sun-java6-bin showed up to install, and it also installed the jre files. Sage then installed without issue. Ray Last edited by rockinray; 09-23-2010 at 08:53 AM. |
#6
|
|||
|
|||
There must be some compelling reason why the easy installation instructions just sit there inaccurate. They're still there. And why the SageTV server .deb doesn't pull in all the recommended and/or required dependencies, once you've taken the missing step of updating the repositories. And why there's no SageTV-maintained .deb package for v4l-dvb.
I've got to wonder how many would-be-paying-customers didn't bite because they figured they must be doing something wrong, because they followed the easy instructions step-by-step and it didn't work. Some users might assume they should be able to trust the printed instructions, end up thinking it's their own fault SageTV doesn't work, and give up. It's a real shame because it could be easy. |
#7
|
||||
|
||||
Quote:
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#8
|
|||
|
|||
I've seen a lot cleaner-managed products that are not necessarily pay-for (take Ubuntu itself for example). If SageTV were doing Linux users a favor on the side and it was free, that would be one thing. But you pay for something, you expect it to be reasonably polished, and you expect the documentation to be accurate.
Forums are very valuable because all can benefit from the Borgian sharing of knowledge. But I don't think the existence of the forums removes the requirement to have honest and accurate sales information. When money is involved, someone might even consider the inaccurate Ubuntu instructions as fraudulent. I'm not a lawyer or legal person of any sort, but I would think the presentation of "wow, look, it's this easy" constitutes sales talk and so maybe even fraudulent advertising?? Is the SageTV Linux OEM project in legal jeopardy? (What kind of FUD does it take to motivate?) Here are those instructions by the way, in case you're a reader from the future, and this issue has become ancient history. (Note: sagetv.com doesn't show up on http://archive.org since Sept. 27, 2007) Quote:
|
#9
|
|||
|
|||
Trouble installing Linux Placeshifter.. Help!
Tried the stable release and the release candidate...
Followed instructions here to install sun java.. have done so successfully.. Running Ubuntu 10.10.. Even manually verified the dependencies listed in the tarball isntall were properly installed... When I click on the sagetv icon to start the placeshifter, nothing happens... nothing... I checked the properties for the link and it points to "sageclient.sh".. even tried to execute that in terminal... got a command not found or similar... Seems like folks have gotten this running, but I've tried everything suggested and came up with a big "0".. Any ideas? Ubuntu's made a lot of progress in the last few years.. skype was installed no problemo.. my video cam worked outta the box.. sound.. video.. VLC... plays mkv files.. audio files.. all play.. with zero problems.. but with this particular client, I feel like I'm back in the Linux world of 2004... Frustrated... jbmia |
#10
|
|||
|
|||
Try using the full path to the sageclient.sh script. Eg, if you installed it into the suggested directory (/opt/sagetv/client), then try running /opt/sagetv/client/sageclient.sh
Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64 Tuner HW: HDHR Client: Nvidia Shield (HD300, HD100 in storage) |
#11
|
||||
|
||||
Since you are using ubuntu, you could just install using the .deb package (which is what I've done).
I've never had an issue starting the placeshifter. When I've downloaded the tarball, then I tend to start it from a console, using ./sageclient.sh from the sage directory as the extracted files.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#12
|
|||
|
|||
Tried those.. no success...
Tried this first:
"john@Ubuntu:~$ /opt/sagetv/client/sageclient.sh Changing to SageTV directory /opt/sagetv/client" Nothing happens... No placeshifter opens... Then tried this: "john@Ubuntu:~$ ./sageclient.sh bash: ./sageclient.sh: No such file or directory" Again, other than the no such file message, nothing happens... Then did the following: "john@Ubuntu:~$ cd /opt/sagetv/client john@Ubuntu:/opt/sagetv/client$ dir EULA.txt libgluegen-rt.so libjogl.so MiniClient.jar sageclient.sh gluegen-rt.jar libjogl_awt.so libjtux.so mplayer jogl.jar libjogl_cg.so libSage.so README john@Ubuntu:/opt/sagetv/client$ /sageclient.sh bash: /sageclient.sh: No such file or directory john@Ubuntu:/opt/sagetv/client$ ./sageclient.sh Changing to SageTV directory /opt/sagetv/client/. john@Ubuntu:/opt/sagetv/client$ sageclient.sh sageclient.sh: command not found john@Ubuntu:/opt/sagetv/client$" Again, Nada.. Nothing opens.. For the record, I tried the tar file first 'cause I didn't see the deb file... when that didn't work, I uninstalled and tried the deb file... that didn't work either... I've got the sun java 6 jre installed and the other dependencies as well... I've uninstalled and reinstalled the deb file numerous times... No error.. Nothing, no app opens.. Any other ideas? A log file to check? Thanks for the replies! JB |
#13
|
||||
|
||||
from the command line...
# cd /opt/sagetv/client/sageclient.sh # gedit sageclient.sh The last 2 lines should look like this... Code:
java -cp MiniClient.jar:jogl.jar:gluegen-rt.jar:. sage.miniclient.MiniClient $1 $2 > /dev/null 2>&1
#java -cp MiniClient.jar:jogl.jar:gluegen-rt.jar:. sage.miniclient.MiniClient $1 $2 > miniclient.log 2>&1
Code:
#java -cp MiniClient.jar:jogl.jar:gluegen-rt.jar:. sage.miniclient.MiniClient $1 $2 > /dev/null 2>&1
java -cp MiniClient.jar:jogl.jar:gluegen-rt.jar:. sage.miniclient.MiniClient $1 $2 > miniclient.log 2>&1
# ./sageclient.sh You should now have a miniclient.log in the current directory... i'd look in that log file and see what is happening. If you get a permission error, then try, for now, running as root... # sudo ./sageclient.sh
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#14
|
|||
|
|||
Are you sure you're using the correct java? If you run java -version from a terminal, what does it say? This?
Code:
$ java -version java version "1.6.0_21" Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) Server VM (build 17.0-b16, mixed mode) Code:
OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1) OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode) Code:
$ sudo update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode 1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode 2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode Press enter to keep the current choice[*], or type selection number: 2 update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/java to provide /usr/bin/java (java) in manual mode. Code:
export PATH=/opt/jre/bin:$PATH
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64 Tuner HW: HDHR Client: Nvidia Shield (HD300, HD100 in storage) Last edited by drewg; 10-13-2010 at 02:07 PM. |
#15
|
|||
|
|||
Fixed !
Thanks guys!
By chance, I didn't see stuckless reply and hit drewg's reply first and that was the exact problem I had!! So, I manually changed to option 2 and attempted to start placeshifter and it popped right up.. So... next... As you've guessed it, drewg, that is a bit over my head... I've been messing with Linux for over 10 years, but it's been about 4 years since my last serious foray into it.. Mostly, when I've had problems, I"ve searched forums and just implemented as per instructions... Kinda like what we're doing here... drewg, if you'd be so kind, if it's not a big deal, I'd appreciate you're spelling that out for me so that I reinstall jre ( I guess) and set that proper path so it looks there first... (?) Much appreciation for the help here from everyone who responded !! THANKS! jbmia |
#16
|
|||
|
|||
[QUOTE=jbmia;456401]Thanks guys!
drewg, if you'd be so kind, if it's not a big deal, I'd appreciate you're spelling that out for me so that I reinstall jre ( I guess) and set that proper path so it looks there first... (?) /QUOTE] What I do is manually download the 32-bit jre tarball from the java.com download page (it is labeled "Linux (self-extracting file) filesize: 20.2 MB"). After it is downloaded, extract it, and make a symlink for it: Code:
$ sudo mkdir -p /opt $ cd /opt $ sudo bash /tmp/jre-6u22-linux-i586.bin Unpacking... Checksumming... Extracting... UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu). creating: jre1.6.0_22/ creating: jre1.6.0_22/bin/ <...> $ sudo ln -s /opt/jre1.6.0_22 /opt/jre Code:
export PATH=/opt/jre/bin:$PATH When you're done log out, then back in again. You should now see this output for these commands: Code:
drew@thunder:~$ echo $PATH /opt/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games drew@thunder:~$ which java /opt/jre/bin/java drew@thunder:~$ java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode) Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64 Tuner HW: HDHR Client: Nvidia Shield (HD300, HD100 in storage) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STVi not loaded if installed as dependency for standard plugin? | evilpenguin | SageTV Studio | 1 | 08-20-2010 01:07 PM |
Tables, Java - Java Not being Called for each TableComponent Cell | stuckless | SageTV Studio | 3 | 04-02-2008 03:03 PM |
Beta V1.2.2 Java java.lang Null Pointer Exception | hamptonhills | SageTV Beta Test Software | 1 | 03-27-2003 12:11 PM |