View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 44 posts ] 
Go to page 1, 2, 3  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Sep 24, 2004 11:35 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Basics

Note that I am upgrading a system that was most recently installed with R4V4 and upgraded to the 0.15.1 debs. I also did most of this via an ssh session from my workstation box.

- This section corrects a few typos in Cecil's notes... Add this line to your /etc/apt/sources.list file (corrected URL):
Code:
deb http://knoppmyth.geekweb.net/updates ./


As root execute the following commands (corrected backend stop/start, examples for apt-get (YMMV!) and other miscellany):
Code:
mythbackup
/etc/init.d/mythtv-backend stop
/etc/init.d/gdm stop

apt-get update
apt-get install mythtv-i686-lirc mythvideo-i686 mythgallery-i686 \
                mythweather-i686 mythgame-i686 mythweb mythdvd-i686 \
                mythnews mythmusic-i686
ldconfig
/etc/init.d/myth-backend start
mythtv-setup
/etc/init.d/gdm start


Troubleshooting

- My X seemed to be roached, I ended up upgrading to the NVIDIA-Linux-x86-1.0-6111-pkg1.run version of the NVidia drivers and having to revert from
Code:
        Option "TVStandard" "HD480i"
back to
Code:
        Option "TVStandard" "NTSC-M"
in my /etc/X11/XF86Config-4 file.
After running the NVidia installer I had to do the same fix for multiple versions of the tls lib, one of which is bad, as was needed for version 6106.
Code:
cd /usr/lib/tls
rm libnvidia-tls.so.1
ln -s /usr/lib/libnvidia-tls.so.1.0.6111 libnvidia-tls.so.1

Don't forget to do another GDM restart after you fix these...
Code:
/etc/init.d/gdm restart


- I did NOT have the problem people have reported witht he DB upgrade colliding with a column that already exists.

Remaining issues

- I've seen the program guide related crashes that have been reported over in the MythTV Users mailing list. This despite using the newer NVidia drivers that are claimed to prevent it.

- (UPDATE) Mythnews also seems roached, nothing associated with it is working. I found the following messages in /home/mythtv/.xsession-errors
Code:
/usr/lib/mythtv/plugins/libmythnews.so: cannot open shared object file: No such file or directory
Unable to initialize plugin 'mythnews'.
Unable to run plugin 'mythnews': not initialized


Hope this helps someone!


Last edited by tjc on Sat Sep 25, 2004 10:13 am, edited 1 time in total.


Top
 Profile  
 
 Post subject: What causes this?
PostPosted: Sat Sep 25, 2004 4:49 am 
Offline
Joined: Tue Jun 15, 2004 1:27 pm
Posts: 19
When using the walkthrough, I get the following error:

(Reading database ... 55072 files and directories currently installed.)
Unpacking mythtv-i686-lirc (from .../mythtv-i686-lirc_0.16-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/mythtv-i686-lirc_0.16-1_i386.deb (--unpack):
trying to overwrite `/usr/bin/mythbackend', which is also in package mythtv-i586-lirc
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mythtv-i686-lirc_0.16-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any idea what could be causing the error? (I am running it on a PIII 550, could it be I installed myth wrong the first time?)

TIA
Michael


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 5:26 am 
Offline
Joined: Mon Feb 23, 2004 11:37 pm
Posts: 87
is the backend still running? you might want to stop it first
/etc/init.d/mythtv-backend stop


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 5:41 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Thanks for the guide. I ran through it just fine. After rebooting the machine for unrelated reasons, I get:

"Cannot connect to master backend server - is the IP address correct, is it running?"

Seems like the problem is the backend doesn't startup on boot anymore. I had to manaully do a /etc/init.d/mythbackend start

Anyone else get this? ...anyone know how I fix it (several searches gave me nothing).

Thanks!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: Re: What causes this?
PostPosted: Sat Sep 25, 2004 6:04 am 
Offline
Joined: Sat Sep 25, 2004 5:57 am
Posts: 6
Location: Boston, MA
homeijer wrote:
dpkg: error processing /var/cache/apt/archives/mythtv-i686-lirc_0.16-1_i386.deb (--unpack):
trying to overwrite `/usr/bin/mythbackend', which is also in package mythtv-i586-lirc


Try replacing i686 with i586. Everything then worked for me except for mythweather where I received the following error message. Any ideas? Thanks.

Z

root@mythtv:~ # apt-get install mythweather-i586
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
mythweather-i586
1 upgraded, 0 newly installed, 0 to remove and 535 not upgraded.
Need to get 0B/493kB of archives.
After unpacking 32.8kB of additional disk space will be used.
E: /var/cache/apt/archives/mythweather-i586_0.16-1_i386.deb not a valid DEB package.
E: Prior errors apply to /var/cache/apt/archives/mythweather-i586_0.16-1_i386.deb
(Reading database ... 53529 files and directories currently installed.)
Preparing to replace mythweather-i586 0.15-1 (using .../mythweather-i586_0.16-1_i386.deb) ...
Unpacking replacement mythweather-i586 ...
dpkg: error processing /var/cache/apt/archives/mythweather-i586_0.16-1_i386.deb (--unpack):
trying to overwrite `/usr/lib/mythtv/plugins/libmythvideo.so', which is also in package mythvideo-i586
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mythweather-i586_0.16-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 6:16 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
One other observation: the HD LED seems to constantly blink whenever the backend is up after upgrading to 0.16... even when idle (I don't transcode). It's doing some serious disk accessing as even the speed of mythweb is slower.... Is this a sign of errors? Which log should I inspect to find out?

Thanks!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: Re: What causes this?
PostPosted: Sat Sep 25, 2004 8:01 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
homeijer wrote:
When using the walkthrough, I get the following error:

(Reading database ... 55072 files and directories currently installed.)
Unpacking mythtv-i686-lirc (from .../mythtv-i686-lirc_0.16-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/mythtv-i686-lirc_0.16-1_i386.deb (--unpack):
trying to overwrite `/usr/bin/mythbackend', which is also in package mythtv-i586-lirc
:
Any idea what could be causing the error? (I am running it on a PIII 550, could it be I installed myth wrong the first time?)


This is the YMMV part. You should have said ...-i586 not ...-i686 for all the debs. You clearly installed with i586 debs last time....


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 8:07 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
turkish wrote:
is the backend still running? you might want to stop it first
/etc/init.d/mythtv-backend stop

Since this seems to be a point of variability it's probably best to just type the first part
Code:
/etc/init.d/mythtv
and then use tab completion to figure out how it's spelled. This obviously changed somewhere between your base install (R4V???) and mine (R4V4).


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 8:23 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
graysky wrote:
Seems like the problem is the backend doesn't startup on boot anymore. I had to manaully do a /etc/init.d/mythbackend start

Bizarre... Are you farmiliar wth how init works? The script you ran manually should have links from the various runlevels like this:
Code:
root@black:/etc # ls -al /etc/init.d/myth*backend /etc/rc*.d/*myth*backend
-rwxr-xr-x    1 root     root         1728 Oct 29  2003 /etc/init.d/mythtv-backend
lrwxrwxrwx    1 root     root           24 May 31 21:17 /etc/rc0.d/K25mythtv-backend -> ../init.d/mythtv-backend
lrwxrwxrwx    1 root     root           24 May 31 21:17 /etc/rc1.d/K25mythtv-backend -> ../init.d/mythtv-backend
lrwxrwxrwx    1 root     root           24 May 31 21:17 /etc/rc2.d/S25mythtv-backend -> ../init.d/mythtv-backend
lrwxrwxrwx    1 root     root           24 May 31 21:17 /etc/rc3.d/S25mythtv-backend -> ../init.d/mythtv-backend
lrwxrwxrwx    1 root     root           24 May 31 21:17 /etc/rc4.d/S25mythtv-backend -> ../init.d/mythtv-backend
lrwxrwxrwx    1 root     root           24 May 31 21:17 /etc/rc5.d/S25mythtv-backend -> ../init.d/mythtv-backend
lrwxrwxrwx    1 root     root           24 May 31 21:17 /etc/rc6.d/K25mythtv-backend -> ../init.d/mythtv-backend

If the name has changed these might be broken. Try looking at both spellings.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 8:30 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
graysky wrote:
One other observation: the HD LED seems to constantly blink whenever the backend is up after upgrading to 0.16... even when idle (I don't transcode). It's doing some serious disk accessing as even the speed of mythweb is slower.... Is this a sign of errors? Which log should I inspect to find out?

This isn't normal. You should only see heavy disk activity when you're playing back (the preview window in the recordings list counts here), marking commericials, or scanning for new music/movies/... Recording should only cause a flick of activity every few seconds. Get a console window (I'd ssh in but that's because my setup makes it the easyest option) and run top. Look for something hammering away at high CPU usage like the commercial marking process. At a guess you've got some recording in a weird state and it's trying to fix it.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 9:14 am 
Offline
Joined: Mon Mar 01, 2004 12:51 pm
Posts: 61
Location: NYC
E: Couldnt find package mythtv-i686-lirc-xvmc_0.16-1_i386.deb

This is after I added the geekweb line to the sources file, and apt-get updated. I got the line from Cesmans post, am I the only one using xvmc?

Also correct me if I am wrong (but tell me if I am right) but if I am using the above package then I dont need 'mythtv-i686-lirc_0.16-1_i386.deb' right?

_________________
MBE:
Chaintech 7NIF2
AMD Athlon XP 2500+
Samsung 160 GB
Hauppauge PVR-250
Knoppmyth R4V4.1

SBE:
TBA


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 9:33 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Quote:
E: Couldnt find package mythtv-i686-lirc-xvmc_0.16-1_i386.deb


I made the same exact mistake. Just type "apt-get install mythtv-i686-lirc-xvmc", no need to add the version number and the rest of the file name.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 9:47 am 
Offline
Joined: Mon Mar 01, 2004 12:51 pm
Posts: 61
Location: NYC
Thanks that worked... Now I am in dependency hell :-)

_________________
MBE:
Chaintech 7NIF2
AMD Athlon XP 2500+
Samsung 160 GB
Hauppauge PVR-250
Knoppmyth R4V4.1

SBE:
TBA


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 9:59 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Charles wrote:
I got the line from Cesmans post
If you mean this line:
Cecil wrote:
Code:
deb http://knoppmyth.geekweb/ipdates ./

It's not quite right. The corrected line can be found in my post at the top of this thread. All the examples in my post were cut and pasted from or into my actual upgrade session and verified to work for me. YMMV. The most lilkely differences are the architecture (i586 vs. i686) and the name of your init script.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 25, 2004 10:03 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
Charles wrote:
Thanks that worked... Now I am in dependency hell :-)


what did you do try to convert it to a rdhat box?

seriously though what kind of dependency problems are you having?

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 44 posts ] 
Go to page 1, 2, 3  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu