View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Dec 17, 2005 1:11 am 
Offline
Joined: Tue Dec 13, 2005 6:40 pm
Posts: 28
I am wondering if the following files are of utmost importance, yes, I uninstalled Xine with the intent to re-install. But, alas, these files are gone. I can not find them anywhere. Ideas?

Xine: removed via Synaptic

libxine-dev #reinstalled
libxine1 #reinstalled
xine-lib-kmr5 * can't find*
xine-ui #reinstalled
xine-ui-kmr5 * can't find*


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 17, 2005 11:19 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
The best way to get a KnoppMyth system back to a known state, If you haven't heavily customized the system yet, is to do a backup and an auto upgrade. I've gotten to the point where I can reliably do this, including restoring all my customizations, in 1-2 hours.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 17, 2005 12:51 pm 
Offline
Joined: Tue Dec 13, 2005 6:40 pm
Posts: 28
That sound like a valid option. I have considered starting from scratch, but I'd rather not due to the hours I've spent getting this far. This is my own fault, so I get what ever is coming for me. I'll poke around regarding the backup and auto upgrade. Thanks for the tip.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 17, 2005 3:29 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I've posted a number of hints in the past related to how to make an upgrade (or downgrade or sidegrade or ...) a nonevent. It's a bit late now to start taking good notes about what you've tweaked, which is the best way to do it, but the datestamps in the file system along with some other information) are the next best thing.

- The back up system uses two .epoch files, both of which should have essentially the same date/time, you can use them as bookmarks to see all the files you changed since then. (note that tweaks done early enough in the install may be before these) For example:
Code:
find / -newer /etc/.epoch -ls | more


- At the package level I've used apt-show-versions (you need to apt-get it first) to generate a list of current packages and then again after an update and compared the output. This is very helpful for those "Oh yeah, I'd forgotten I installed/upgraded that" things. Search for posts by me that mention apt-show-versions for more details.

- I make a one line fix to the backup scripts so that everything in /etc, /root and /home is really backed up (/etc is NEVER restored whole hog, but it's nice to have it for reference).
Code:
root@black2:~# diff -c /usr/local/bin/mythbackup.orig /usr/local/bin/mythbackup
*** /usr/local/bin/mythbackup.orig      Sat Sep 24 00:31:41 2005
--- /usr/local/bin/mythbackup       Sun Nov 13 11:15:28 2005
***************
*** 13,19 ****
  #
  # Play a sound to let you know I'm starting.
   (play $SOUNDS/beg.wav >& /dev/null)&
!  cd /
  # Check and fix mythconverg db to ensure clean copy
  cd /var/lib/mysql/mythconverg
  /etc/init.d/mythtv-backend stop
--- 13,19 ----
  #
  # Play a sound to let you know I'm starting.
   (play $SOUNDS/beg.wav >& /dev/null)&
!
  # Check and fix mythconverg db to ensure clean copy
  cd /var/lib/mysql/mythconverg
  /etc/init.d/mythtv-backend stop
***************
*** 22,27 ****
--- 22,28 ----
  /etc/init.d/mysql start
  /etc/init.d/mythtv-backend start

+ cd /
  # back up the old back, if present:
   [ -f "$BK_DIR/$BK_SQL" ] && mv -f $BK_DIR/$BK_SQL $BK_DIR/${BK_SQL}.bak
  # Dumps the $DATABASE database


- Run the backup scripts manually, so you can watch for errors, and check the results to make sure that the backup files aren't empty. BTW - If any of the files are less than 100 bytes long that's probably empty.
Code:
/usr/local/bin/mythbackup
ls -al /myth/backup/


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 13 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