LinHES Forums
http://forum.linhes.org/

Re-Install Xine, problems.
http://forum.linhes.org/viewtopic.php?f=6&t=7416
Page 1 of 1

Author:  green [ Sat Dec 17, 2005 1:11 am ]
Post subject:  Re-Install Xine, problems.

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*

Author:  tjc [ Sat Dec 17, 2005 11:19 am ]
Post subject: 

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.

Author:  green [ Sat Dec 17, 2005 12:51 pm ]
Post subject: 

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.

Author:  tjc [ Sat Dec 17, 2005 3:29 pm ]
Post subject: 

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/

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/