View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jan 19, 2011 9:58 am 
Offline
Joined: Wed May 24, 2006 9:10 am
Posts: 107
Location: Minneapolis, MN
Hey everyone,
So I broke my system last night, and I am desperate to get my setup back up and running due to a very pregnant wife, and some toddlers who need their Sesame street. Anyone who can and will take the time to walk me through fixing my setup, I will paypal $15. Here are the details (this may be overly descriptive, so I apologize in advance):

It all started when I was not able to play some newer formats in the mythvideo folder through mplayer (h264 and some mkvs). So I tried to update codecs based on the recommendations I got in this thread:
http://knoppmyth.net/phpBB2/viewtopic.php?t=21961

When that didn’t work, I decided to recompile mplayer with h264 per the wiki:
http://www.knoppmythwiki.org/index.php? ... le+Mplayer

1.) I couldn’t get the
Code:
 apt-get install git-core
to work because of some dependency issues. I was propted to try a
Code:
 apt-get -f install
, which I also tried. After doing so, I still got dependency issues when attempting the
Code:
 apt-get install git-core
.
2.) So then I did an
Code:
 apt-get update
to try and resolve. This time I got a different error message, something to the effect of
Code:
 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F

   W: There is no public key available for the following key IDs:
   010908312D230C5F


So from here, I decided to edit the /etc/apt/sources.list

Here is what it looked like before I edited it:

Code:

#Debian repos
deb http://ftp.debian.org stable main contrib non-free
deb-src http://ftp.debian.org stable main contrib non-free
#deb-src http://www.debian.multimedia.org sid main
#deb http://www.debian-multimedia.org sid main

#For FreeNX
#deb http://packages.debianbase.de/testing/i386/nx/ ./

#For xorg-edit
#deb http://debian.geole.info/ stable main contrib non-free

#For additional multimedia packages
#deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia stable main
#deb-src http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia stable main

And here is what it looked like after editing (basically I changed it to unstable, and added two sources
Code:
#Debian repos
deb http://ftp.debian.org unstable main contrib non-free
deb-src http://ftp.debian.org stable main contrib non-free
deb-src http://www.debian.multimedia.org sid main
deb http://www.debian-multimedia.org sid main

#deb http://www.debian-multimedia.org sid main
#deb-src http://www.debian-multimedia.org sid main


#For FreeNX
#deb http://packages.debianbase.de/testing/i386/nx/ ./

#For xorg-edit
#deb http://debian.geole.info/ stable main contrib non-free

#For additional multimedia packages
#deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia stable main
#deb-src http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia stable main

After editing sources.list, I attempted items 1.) and 2.) listed above again, and I got the same dependency and pub key errors.

At this point, I decided to just compile mplayer without git and h264 support. So I executed the following commands:
Code:
root@mythtv:/usr/src/mplayer# svn checkoutsvn://svn.mplayerhq.hu/mplayer/trunk mplayer
root@mythtv:/usr/src/mplayer# svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
root@mythtv:/usr/src/mplayer/mplayer# ./configure --prefix=/usr --enable-menu --enable-dvbhead --enable-lirc

At this point, I got an error about not having yasm, and to re-execute with –-yasm=. So that’s what I did. I ran the following commands to install mplayer:
Code:
root@mythtv:/usr/src/mplayer/mplayer# ./configure --prefix=/usr --enable-menu --enable-dvbhead --enable-lirc –-yasm=
root@mythtv:/usr/src/mplayer/mplayer# make
root@mythtv:/usr/src/mplayer/mplayer# make install

After everything appeared to install correctly, I rebooted the system. Everything seemed to load fine all the way up until starting mythbackend and mythfrontend. I got a blank black screen. So I did a ctrl+alt+F2 to get me back to a terminal. I tried to start the backend, mythtv-setup, and the frontend manually through:
root@mythtv:/etc/init.d/mythbackend start
root@mythtv:/etc/init.d/mythtv-setup start
root@mythtv:/etc/init.d/mythfrotned start

Each command gave me the same result: segmentation fault.

So that’s basically where I am now. I edited the sources.list to bring it back to its original state.

At this point, I just want to get my system back to how it was. I don’t care anymore about new mplayer or h264. I just want to get my system working again with some working version of mplayer (It is a backend/frontend system) I searched the forums, and the closest I got to finding a solution was in this thread

http://mysettopbox.tv/phpBB2/viewtopic.php?t=20158

The only thing is, I cannot attempt this fix because I am running R5F27. So basically I think I just might need the pre R6 version of the solution posted here. The only thing I can think of doing on my own at this point is reinstalling myth via the cd and upgrade option. I want to avoid that due to all the customizations I have.
So as mentioned at the top of the post, I am desperate to get this going again, and out of appreciation for the quick help I gladly send a small payment of ($15) via paypal to the first person who can help guide me to a solution.

Currently I am at work, but I can get to my system via putty. So I cannot verify that everything will work until I get home, but I should be able to do most fixes from here.

P.S. Rereading this post, I realize that I did some stupid things to break my system. I guess this is one of those live and learn opportunities for me.


Last edited by tama102 on Mon Jan 24, 2011 8:45 am, edited 2 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 19, 2011 10:22 am 
Offline
Joined: Wed Mar 07, 2007 9:51 am
Posts: 173
Location: Uniontown, PA
Sounds like you hosed up the system libraries....I did similar to my KM systems trying to get some updates.

Lesson Learned: DON'T!

I think the easiest way to recover your system is a re-install of the original R5F27 CD code. It should only reload the base OS files that you need. It shouldn't mess up the databases or your recorded programs, unless you have them located somewhere other than the KM defaults.

Dig out your old R5F27 CD and do an 'Auto Upgrade.' Then see what happens.

Save the money for diapers! :lol:

--

Larry


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 19, 2011 10:41 am 
Offline
Joined: Wed May 24, 2006 9:10 am
Posts: 107
Location: Minneapolis, MN
Thanks for the reply Larry,

I am hoping to avoid the auto upgrade. I have done that before, and it worked, however I lost all my custom scripts, lirc settings, had to resetup xorg and asound. Plus I am splitting my /myth folder between two hard drives through LVM, which was tough for me to get working originally, and I am not sure if that will get screwed up.

So I am still holding out hope for another solution.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 19, 2011 8:32 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
- Add any custom scripts and so on to the extra files lists that backup.restore provide. See: http://knoppmyth.net/phpBB2/viewtopic.p ... 490#112490 especially "Using the supplemental backup and restore lists". That was written for R5.5 but >95% of the features described were already in place in R5F27.

- Make a backup. The R5.5 hints have fairly detailed instructions, again this is >95% identical to the R5F27 hints.

- Then auto upgrade and get right back to your good state.

I used to do this regularly, often multiple times in a day testing experimental versions or working through procedures for someone who was having problems, repeatedly upgrading, downgrading, and "samegrading" the system, and I had great steaming heaps of customizations and utilities in development.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 19, 2011 10:26 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1196
Location: Orlando FL
have you thought about upgrading to 6.03 the sharing myth folder thing is built in.

_________________
My System


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 19, 2011 11:27 pm 
Offline
Joined: Wed May 24, 2006 9:10 am
Posts: 107
Location: Minneapolis, MN
Thanks everyone.

TJC - when I run mythbackup, I get a warning at the end, which is confirmed by checkbackup. Here is the code

Code:


53902d53715
< ./root/edid.bin
69492d69304
< ./root/xmltv-nightly/0JVTHe3l
Warning, file lists are not identical!

Checking for the existance of the DB dump file...
Using file /myth/backup/mythconverg.sql.gz
DB dump file exists. Checking the compression...
Compression looks OK. Checking DB dump contents...
Generating a list of tables and record counts in the DB dump...
Generating a list of tables and record counts in the live DB...
/usr/local/bin/backupcommon: line 192: cd: /var/lib/mysql/mythconverg: Permission denied
/bin/ls: *.MYD: No such file or directory
Warning, could not get record counts from live DB!

The backup is bad or already out of date!


Do you think it is still safe to proceed? I could live with loosing custom scripts, but I wouldnt want my sql tables to be screwed up.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 20, 2011 8:37 am 
Offline
Joined: Wed May 24, 2006 9:10 am
Posts: 107
Location: Minneapolis, MN
mattbatt wrote:
have you thought about upgrading to 6.03 the sharing myth folder thing is built in.


I have thought about going to 6.03, but it appears to be a huge undertaking when coming from such an old version of knoppmyth. From what I understand, I would need to go from R5F27 > R5.5 > Linhes 6.01 > Linhes 6.03.

I would be ok doing a fresh install if I knew of a way to retain all my recorded programs/scheduled recordings/and previously recorded lists while doing so.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 20, 2011 8:26 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
tama102 wrote:
TJC - when I run mythbackup, I get a warning at the end, which is confirmed by checkbackup.
...
Do you think it is still safe to proceed? I could live with loosing custom scripts, but I wouldnt want my sql tables to be screwed up.

Those shouldn't be an issue. The first one (/root/edid.bin) looks like monitor info, a number of tools like nvidia-settings will dump that if you ask them too. The other one looks like a temporary file for the program guide updater.

BTW - For quite a while I was including ./usr/share/mythtv along with the usual ./usr/local/bin in my /myth/backup/backup.list because I had some custom patches to the installed version. Aside from the warnings documented in that posting, the sky is pretty much the limit as far as what you can backup.

I had a whole list of settings for things like fstab, lirc, nfs, jumbo frames, rrd, apcupsd, webmin, ... that I restored from my backups. There were more than 20 different high level things on the list when it was all said and done.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 24, 2011 8:54 am 
Offline
Joined: Wed May 24, 2006 9:10 am
Posts: 107
Location: Minneapolis, MN
Thanks for the help everyone, I got just about everything back up and running after the auto upgrade re-install. the only thing I couldnt get to go was iceweasel. When I tried to get it through apt-get, I got this error

Code:

root@mythtv:~# apt-get install iceweasel
Reading package lists... Done
Building dependency tree... Done
iceweasel is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  iceweasel: Depends: libc6 (>= 2.7-1) but 2.5-7 is to be installed
             Depends: libgtk2.0-0 (>= 2.12.0) but 2.8.20-7 is to be installed
             Depends: xulrunner-1.9 (>= 1.9.0.3-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@mythtv:~#



Trying to force install of these dependent packages is what got me into trouble last time. I am assuming that the reason why I can no longer get iceweasel is because they have updated the program and dependencies, but I am running an older version of knoppmyth, so they are not compatible, does that sound right? Either way, I can live without iceweasel, as everything else seems to work again.

Thanks again for the help everyone, this is a really great online community.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 24, 2011 9:45 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1196
Location: Orlando FL
I would just install firefox from mozilla I did this recently with 6.03 because it gives you the ability to update without waiting on the LinHES devs. Since you are still running R5 you can just go to the mozilla site and download the Deb file and install it.

_________________
My System


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 24, 2011 10:40 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
The debian version that R5.5 was based on is pretty old, and current packages from the repositories tend to have deep dependency chains as a result.

Before my switch to 6.03 it had reached the point where there were at least a half dozen packages that I was either keeping private copies of the .deb files for, or rebuilding from source.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 01, 2011 12:17 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1196
Location: Orlando FL
Oddly Tama I have been trying to migrate to a new computer and have come to find out that mythbackup hasn't been backing up my database. It saves a mythconverg file with nothing in it. I get the same error as you for the backup check http://mysettopbox.tv/phpBB2/viewtopic. ... 444#131444 NO need to repost it but I was wondering if you were having the same issue? [/code]

_________________
My System


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Baidu [Spider] and 7 guests


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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu