SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search


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
Old 03-23-2017, 06:32 AM
phantomii phantomii is offline
Sage Advanced User
Join Date: Mar 2009
Location: North Carolina
Posts: 226
Problem Updating to the Newest Build on Ubuntu

Disclaimer - Linux noob here. Also, this is more of a linux than sagetv question but I can not find a clear answer on this with linux searchs.

I had a running version of sagetv-server on a Ubuntu 14.04 machine which had been working well for months. Both my opendct and sagetv-server versions were several releases back so I decided to update them to the latest.

I first stopped both opendct and sagetv-server.

Then I used this command to update opendct: sudo dpkg -i "package"

"package" indicating I used the current opendct package name I had downloaded from the links provided. This appeared to finish fine and all looked well.

Then I used this command to update sagetv-server: sudo dpkg -i "package"

"package" again indicating I used the current sagetv-server package name I had downloaded from the links provided. This appeared to start off just fine and eventually reached a point indicating it was starting the service. The screen sat there for some time and appeared to be hung so I did a ctl-c to exit the process. Upon exiting I received an error (something about a subprocess error) that I unfortunately did not write down.

i then restarted the opendct Service and actually rebooted the machine. all appeared to come up fine and I was able to connect to the box from a client and watch TV and imported movies just fine so all appeared to be fine.

Later I went to install a software update to other things and these appeared to hang. They appeared to be attempting to start the sagetv-server service as part of their install though they had absolutely nothing to do with sagetv-server.

It appears that the install (probably because I stopped it?) failed to fully complete and clean up and it being called to finish steps that are still open. I also tried one or two things suggested on the web and was brought to the "Enter your SageTV EPG Key screen" which I really did not understand.

So, soory for being vague but my question is if my install is working fine though it appears to have actually stopped short of completeing the update install, is there a way to clear out any unfinished steps from the install at this time? Any suggestions would be greatly appreciated as it looks like I will have issues installing or updating other packages if they hang and attempt to finish the sage install. Thanks in advance for any help.
Reply With Quote
Old 08-27-2017, 05:32 AM
phantomii phantomii is offline
Sage Advanced User
Join Date: Mar 2009
Location: North Carolina
Posts: 226
Still a linux newb here with my server running on a Ubuntu 14.04 machine. So I asked the above question some time back and never got an answer. I am now upgrading to the latest version of Sagetv and below is the text from the terminal window. After the line "Main is starting" the install moves the cursor to the next line and just stops. The install never returns to the "sagetv@SageTVServer:~/Downloads$" command prompt and this has been this way for 20 minutes.

Historically when this has happened and I eventually tried to stop with a Control-C I had the issues from the post above so I am reluctant to exit with a Control-C. Any thoughts on how to get this to complete and close out normally?

sagetv@SageTVServer:~/Downloads$ sudo dpkg -i sagetv-server_9.1.6_amd64.deb
(Reading database ... 558404 files and directories currently installed.)
Preparing to unpack sagetv-server_9.1.6_amd64.deb ...
Unpacking sagetv-server (9.1.6) over (9.0.13) ...
Setting up sagetv-server (9.1.6) ...
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match sagetv Default-Stop values (S 0 1 6)
Restarting SageTV Server: sagetvChanging to SageTV directory /opt/sagetv/server
Changing to SageTV directory /opt/sagetv/server
Executing pre-scripts
Starting server mode
Main is starting

Reply With Quote
Old 08-27-2017, 08:06 AM
jusjoken jusjoken is offline
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
In my very limited experience this is normal. Press enter and you are done.

Sage is actually started.

If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
Old 08-28-2017, 07:57 AM
phantomii phantomii is offline
Sage Advanced User
Join Date: Mar 2009
Location: North Carolina
Posts: 226
Thanks for the note. Unfortunately hitting enter does not appear to do anything other than move the cursor down a line. It does not return you to the prompt. Hitting Control-C does abort the process and returns me to the prompt and yes, sage is running at this point. Doing this though presents me with a "dpkg: error processing package (--configure): subprocess installed post-installation script was interrupted" error. At this point it appears that the post-installation script never finished and is now called back up when I do system updates with the Updater module. It unfortunately does not clear even after this so it is a major issue impacting my ability to update other things including the kernel.

This said, I have this issue on two different systems in two different locations. I would really like to get to the bottom of this as it has been present since I built the systems and it is something that has made me reluctant to do upgrades as new releases with fixes and features come out.

Any other thoughts?

Last edited by phantomii; 08-28-2017 at 08:19 AM.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Ubuntu 16.04 build error mwnswiss SageTV Github Development 1 05-21-2016 02:14 PM
Problem building on Linux (not Ubuntu) ASegredo SageTV Github Development 12 10-13-2015 09:59 AM
Ubuntu 8.04 problem rrambo SageTV Linux 17 10-10-2008 06:44 AM
64 bit Ubuntu install problem. marcusjohn SageTV Linux 0 10-04-2008 12:53 AM
Newest problem: ghosting. pawn SageTV Software 6 05-21-2003 06:27 PM

All times are GMT -6. The time now is 12:30 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.