I tried to get access to a remote apt-get dist-upgrade session using ssh. I read about reptyr on Distrowatch
http://distrowatch.com/weekly.php?issue=20140922#qa
I didn't succeed, but it sounds interesting. Anyone successfully tried to transfere a job to new terminal?
yes - thats why reptyr is installed on our isos
pyfll Revision 6d2087a4: added reptyr, closes #1271
2013-07-28 21:27
i think, musca knows more about it
Quote from: melmarker on 2014/09/26, 21:10:58
yes - thats why reptyr is installed on our isos
pyfll Revision 6d2087a4: added reptyr, closes #1271
2013-07-28 21:27
...
too late for the current situation. but thanks, at least I now understand why it didn't work :)
Hello michaa7,
last year i wrote a wiki article (http://wiki.siduction.de/index.php?title=Process_in_anderes_Terminal_verschieben) for reptyr and at that time it was added to siduction.
reptyr can only handle single processes, not a parent processes with its childs.
E.g. you perfectly well can move a running "less", but you cannot move a running "most".
So i doubt that it will work for an "apt-get dist-upgrade".
greetings
musca
Quote from: musca on 2014/09/26, 23:35:06
...
reptyr can only handle single processes, not a parent processes with its childs.
...
Thanks musca for your explanation. It seems reptyr cant help with a apt-get dist-upgrade to which I lost remote control, or am I wrong? I mean the config of package foo during d-u, is it a child of apt-get dist-upgrade? If I am right this means reptyr can't get me back access to a remote apt-get session?
michaa7 - reptyr is really deepest vodoo - maybe you should consider using screen or similar to do remote task which shouldn't break if the connection is lost. Not so nerdy but reliable :)