User:JeffSimpson/Upgrading from 0.19 p9163-r1 to 0.20 on Gentoo from portage overlay
From MythTV Official Wiki
< User:JeffSimpson
Revision as of 15:33, 12 September 2006 by JeffSimpson (talk | contribs) (→Back up previous mythtv packages)
This upgrade was done with minimum downtime and maximum revert-ability in mind. All package building is done BEFORE the point of no return, so if there are any build problems, they will be discovered while the previous version is still running.
Back up previous mythtv packages
- Package up existing mythtv in case you need to revert back:
quickpkg media-tv/mythtv x11-themes/mythtv-themes
- Package up mythtv plugins (Optional):
quickpkg media-plugins/mythbrowser media-plugins/mythdvd media-plugins/mythgallery media-plugins/mythmusic media-plugins/mythvideo
Build new system
- Download MythTV portage overlay file from http://xxx.teppic.homelinux.net/MythTV-0.20-Overlay.tar.bz2
- Extract into portage overlay
cp MythTV-0.20-Overlay.tar.bz2 /usr/local/portage cd /usr/local/portage tar -xjf MythTV-0.20-Overlay.tar.bz2
- Build the packages (but don't install yet):
emerge -B mythtv
Install New System
- Stop Mythbackend
/etc/init.d/mythbackend stop
- Back up database:
mysqldump -u mythtv -p mythtv mythconverg > mythconverg-`date +%F`.sql
Note: This wiki entry is in-progress. I don't recommend following it until it is finished