[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [screen-devel] Current screen HEAD can't reattach to a detached scre
Re: [screen-devel] Current screen HEAD can't reattach to a detached screen 4.0.3
Sun, 20 Nov 2011 01:27:01 +1100
On 19/11/11 09:26 +0100, Axel Beckert wrote:
On Sat, Nov 19, 2011 at 02:27:50PM +1100, richo wrote:
What about the obvious, just keep a 4.03 binary around while you do the
Well, the thing with it is that it's not that obvious. So thanks for
the idea! :-)
The 4.0.3 and 4.1.0 debian packages can't be installed at the same
time as of now. I'll think about how I can implement this. It's not
trivial, but doable.
Grub did something similar for the grub1 to grub2 update. And I can
check if screen sessions are running and do a normal upgrade if not.
The other idea I had was to refuse the upgrade as long as a screen is
running in a way that all packages except screen are upgraded until
the screen session is closed.
Kind regards, Axel
I would literally just keep a copy of the binary. Don't worry about trying to
keep both versions installed ala gentoo slots, I think you'll just make more
headaches for yourself.
you could be very sneaky and do something like
for i in `dpkg -L screen`; do
mkdir -p `dirname $i`
cp $i /tmp/screen_backup/$i
to make a backup of everything that the screen package installs in case it
all goes really pearshaped.
Let me know how you go. I've switched to tmux now (ironically, doing the
screen upgrade in tmux would also work pretty well..) but I may do a trial
upgrade of screen just out of curiosity.
richo || Today's excuse:
Jan 9 16:41:27 huber su: 'su root' succeeded for .... on /dev/pts/1
Description: Digital signature