[mythtv-users] Undo 14.04 LTS update

Hika van den Hoven hikavdh at gmail.com
Thu Jul 30 22:38:51 UTC 2015


Hoi Thomas,

Friday, July 31, 2015, 12:19:45 AM, you wrote:

> On Thu, Jul 30, 2015 at 3:14 PM Daryl McDonald <darylangela at gmail.com>
> wrote:

>>
>> On Jul 30, 2015 10:36 AM, "Mike Perkins" <mikep at randomtraveller.org.uk>
>> wrote:
>> >
>> > On 30/07/15 15:07, Stuart Auchterlonie wrote:
>> >>
>> >> On 30/07/15 12:22, Daryl McDonald wrote:
>> >>>
>> >>>
>> >>> On Jul 30, 2015 4:04 AM, "Mike Perkins" <mikep at randomtraveller.org.uk
>> >>> <mailto:mikep at randomtraveller.org.uk>> wrote:
>> >>>>
>> >>>>
>> >>>> On 30/07/15 00:32, Robin Gilks wrote:
>> >>>>>
>> >>>>>
>> >>>>> Greetings all
>> >>>>>
>> >>>>> Since I've not had a problem with it on a couple of *buntu installs,
>> I
>> >>>>> updated my Mythbuntu frontend with the "LTS Enablement Stacks" and
>> its a
>> >>>>> disaster :(
>> >>>>>
>> >>>>> The box randomly gets into a stuttering state that requires a reboot
>> to
>> >>>>> fix it during which time it runs much hotter.
>> >>>>>
>> >>>>> I'm pretty sure the kernel upgrade is OK (fixes USB3 mceusb remote
>> >>>
>> >>> issues)
>> >>>>>
>> >>>>> but the xserver and mesa updates seem to be what has broken things.
>> >>>>>
>> >>>>> The original update was
>> >>>>> "sudo apt-get install --install-recommends linux-generic-lts-utopic
>> >>>>> xserver-xorg-lts-utopic libgl1-mesa-glx-lts-utopic
>> >>>>> libegl1-mesa-drivers-lts-utopic"
>> >>>>>
>> >>>>> I've no idea how I find out what was originally installed so how do I
>> >>>>> revert everything bar the kernel?
>> >>>>>
>> >>>>> Cheers
>> >>>>>
>> >>>> I've always found these sorts of "upgrades" to be problematical. My
>> >>>
>> >>> preference is to do full backups of needed files/configurations and
>> then
>> >>> a clean install.
>> >>>>
>> >>>>
>> >>>> This ensures that everything is consistent. Upgrading over the top of
>> >>>
>> >>> an existing install usually leaves odd library inconsistencies which
>> are
>> >>> difficult to resolve.
>> >>>>
>> >>>>
>> >>>> --
>> >>>>
>> >>>> Mike Perkins
>> >>>>
>> >>>
>> >>> Mike what is your method for getting that full backup? Is there a
>> script
>> >>> that separates the myth add ons from the previous install?
>> >>>
>> >>>
>> >>
>> >> Personally i would use the "seat of pants" method. (Not suitable for
>> >> novice installers)
>> >>
>> >> ie. If you store all your recordings on a separate drive / partition
>> >> then you dump your full database to that partition, with anything else
>> >> interesting like ssh keys.
>> >>
>> >> Then go forth, and re-install making sure not to reformat the recordings
>> >> drive / partition.
>> >>
>> >> Once the OS is install get mythtv built / installed, restore database,
>> >> cross fingers and start it all up.
>> >>
>> >> If it all goes wrong you get to restore from backup.. ;-)
>> >> I did mention this was the "seat of pants" method and contains no
>> >> backup instructions at all...
>> >>
>> > Almost exactly it. I have a "backup" directory on my first recording
>> volume, which is where the db backups usually go anyway.
>> >
>> > As well as those I make sure I have copies of things like config.xml and
>> selected items like ssh keys and ntp.conf, my.conf, and so on.
>> >
>> > Note: If you do do this, be aware that some OSs create the mysql
>> database with a new, randomized mythtv password! Of course you can
>> overwrite this when you restore but it might cause some head-scratching.
>> >
>> > Oh, and my policy on a new install is always to create the 'mythtv' user
>> *before* installing the mythtv software. This ensures that it is created as
>> a regular user, with a home directory under /home, not /var/lib. It also
>> means you get to choose the uid, gid, etc if that is important to you.
>> >
>> > --
>> >
>> > Mike Perkins
>> >
>> >
>> > _______________________________________________
>>
>> Maybe I'm being naive, but the elegance of Mythtv that I've seen so far
>> leads me to believe there would be a more elegant, less blood sweat and
>> tears way to upgrade our OS. Something like running "diff" against a
>> "rsync'd" OS backup  and a fresh install and then have the product
>> "automagically" inserted appropriately into the new OS release? Is this
>> even possible? When I upgraded from 12.04 to 14.04, there was plenty of
>> B,S,&T, due to poor memory of the five or six things (udev, etc) beyond the
>> database backup and usually only a short window of opportunity to get'er
>> done.
>>
>> Thoughts?
>> _______________________________________________


> I'm hoping to have a much better way to upgrade in the future in the way of
> Ubuntu snappy. However I keep running into the following error message

> INVALID TIME CANNOT BE < 0

> I really need to get that fixed.

The trouble with automating updates is that every situation is
different and as a writer you can not anticipate everything.
So in general you can automate/create scripts on part of the process,
but almost not on the whole. To many exceptions.

In general every one of my machines gets reinstalled every 1 to 2
years and that process I have heavily automated. I have spare system
partitions so I can always step back to the old install while fine
tuning/optimizing the new one.


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list