LinHES Forums http://forum.linhes.org/ |
|
0.16 deb upgrade walk through http://forum.linhes.org/viewtopic.php?f=11&t=2495 |
Page 1 of 3 |
Author: | tjc [ Fri Sep 24, 2004 11:35 pm ] |
Post subject: | 0.16 deb upgrade walk through |
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! |
Author: | homeijer [ Sat Sep 25, 2004 4:49 am ] |
Post subject: | What causes this? |
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 |
Author: | turkish [ Sat Sep 25, 2004 5:26 am ] |
Post subject: | |
is the backend still running? you might want to stop it first /etc/init.d/mythtv-backend stop |
Author: | graysky [ Sat Sep 25, 2004 5:41 am ] |
Post subject: | |
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! |
Author: | zebra7 [ Sat Sep 25, 2004 6:04 am ] |
Post subject: | Re: What causes this? |
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) |
Author: | graysky [ Sat Sep 25, 2004 6:16 am ] |
Post subject: | |
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! |
Author: | tjc [ Sat Sep 25, 2004 8:01 am ] |
Post subject: | Re: What causes this? |
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.... |
Author: | tjc [ Sat Sep 25, 2004 8:07 am ] |
Post subject: | |
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).
|
Author: | tjc [ Sat Sep 25, 2004 8:23 am ] |
Post subject: | |
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. |
Author: | tjc [ Sat Sep 25, 2004 8:30 am ] |
Post subject: | |
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. |
Author: | Charles [ Sat Sep 25, 2004 9:14 am ] |
Post subject: | |
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? |
Author: | ceenvee703 [ Sat Sep 25, 2004 9:33 am ] |
Post subject: | |
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. |
Author: | Charles [ Sat Sep 25, 2004 9:47 am ] |
Post subject: | |
Thanks that worked... Now I am in dependency hell ![]() |
Author: | tjc [ Sat Sep 25, 2004 9:59 am ] |
Post subject: | |
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. |
Author: | Xsecrets [ Sat Sep 25, 2004 10:03 am ] |
Post subject: | |
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? |
Page 1 of 3 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |