Re: [vserver] Upgrading quest from Debian squeeze to wheezy

From: Jean Weisbuch <jean_at_phpnet.org>
Date: Mon 07 Oct 2013 - 17:49:40 BST
Message-ID: <5252E624.8050104@phpnet.org>

It works but it might stop in the middle of the apt-get upgrade on the
sysv-rc package if you removed by hand some init scripts on the guest,
you will need to do an apt-get -f install then an apt-get dist-upgrade
again afterwise and it will be OK.

Don't forget to re-remove the un-needed init scripts from /etc/rc.*/.
Here is the code i use for that matter (i have mksh, Perl and GNU
Parallel on all my guests installs but it should work the same with
ksh93 or bash and xargs instead of parallel) :
         vserver ${VSERVERNAME} exec /bin/mksh -c "ls -U
/etc/init.d/*@(check|udev|hostname|mtab|mount|fs|reboot|random|hwclock)*
|perl -pe 's#^.*init.d/(.*)\$#\1#' |parallel 'update-rc.d -f {} remove'"

On 07/10/2013 18:32, Cristian Rigamonti wrote:
> Hi, anyone has experience in upgrading a vserver guest from Debian squeeze to
> wheezy, while still running plain Debian squeeze on the host?
>
> I've found posts and bug reports describing problems in _creating_ a new wheezy
> guest, but I was wondering about simply _upgrading_ an existing guest.
>
> Will it work? Or should I first upgrade the host system to wheezy and install
> one of the unofficial vserver-enabled kernels?
> Suggestions and pointers are welcome!
>
> Cri
>
Received on Mon Oct 7 17:50:31 2013

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 07 Oct 2013 - 17:50:31 BST by hypermail 2.1.8