[mythtv-users] upgrade

Daryl McDonald darylangela at gmail.com
Tue Aug 19 12:34:10 UTC 2014


On Aug 19, 2014 8:25 AM, "Mark Perkins" <perkins1724 at hotmail.com> wrote:
>
>
>
> > On 19 Aug 2014, at 6:33 pm, "Mike Perkins" <mikep at randomtraveller.org.uk>
wrote:
> >
> >> On 19/08/14 04:27, Mark Perkins wrote:
> >>
> >>> My experience with update manager is just the opposite, except where
mythtv is concerned. Several distros of Ubuntu on at least seven PC's have
gone flawlessly.
> >>> If I try it with TTY and encounter similar errors/warnings, is there
a way to save them, say to a flash drive or somewhere? With recent attempts
I could not get back into the unsuccessfully upgraded OS to review any
details or logs etc.
> >>> I guess a pen and paper would work, so tedious though. Suggestions?
 Daryl
> >>> _______________________________________________
> >>
> >> IIRC you can't copy / paste between the TTY consoles and the main
desktop. The usual way to do it would be either toggle back to your desktop
(Ctrl-alt-F7) and browse for the log files or open a second TTY
(Ctrl-alt-f1 through f6) and look for log files.
> >>
> >> But maybe you can tee everything that gets displayed as stdout to your
own file? Someone else will have to help with the syntax but maybe
something like this (in concept):
> >>
> >> sudo su -
> >> apt-get update
> >> apt-get -y dist-upgrade 2>&1 | tee /home/daryl/tmp_apt-get_log.log
> >> /etc/init.d/mythtv-backend stop
> >> do-release-upgrade 2>&1 | tee /home/daryl/tmp_upgrade_log.log
> >> reboot
> >>
> >> The aim of what I am suggesting is to get a copy of the output into a
temp log file (and to screen while it is happening) so you can easily
browse from your desktop and copy / paste from (if necessary) later.
Hopefully someone can fine-tune the syntax appropriately.
> > There is another way to get useable / copyable console output and that
is to open a terminal from your desktop! That is the way I run
myth{backend|frontend|filldatabase} when I am debugging.
> >
> > By doing that you get a nice big scrollable buffer which you can look
back through at your leisure (assuming the thing hasn't hung, of course).
> >
> > Another advantage of such terminals is that you can highlight portions
you want to keep with the mouse and then paste them into your favorite
editor for saving or printing.
> >
> > --
> >
> > Mike Perkins
> >
> > _______________________________________________
>
> I don't know if there is a technical difference between a TTY console and
a plain old terminal window? In the past I've assumed that TTY was less
likely to be fouled by whatever was going on in your desktop instance, but
it's just an assumption.
>
> Certainly I have had times when I couldn't get a terminal window but TTY
worked fine?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

My experience with previous attempts is that the upgraded OS is unusable
after the process, so creating a log in that file system would render it
lost. Could it be directed to a thumb drive? That way I could open it
afterwards on a functional system for review.  Daryl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140819/39ff1ba1/attachment.html>


More information about the mythtv-users mailing list