A week ago I purchased a simple hosting in Santrex. Now I have a OpenVZ Linux VPS, with 512BM of RAM, 45GB of disk space, and unlimited bandwidth with a 100Mbps network.

I found two different problems that creates  a lots of warning while updating my Debian/Stable machine.

The first one was related with OpenVZ. That's a bug of 2010 about the lack of LSB tags in the file /etc/init.d/vzquota. When you are updating your system a lot of warning messages will apear looking like this:

insserv: warning: script 'S06vzquota' missing LSB tags and
overrides  
insserv: warning: script is corrupt or invalid:
/etc/init.d/../rc6.d/S00vzreboot  
insserv: warning: script 'vzquota' missing LSB tags and overrides  
insserv: There is a loop at service vzquota if started  
insserv: There is a loop between service vzquota and checkroot if
started  
insserv: loop involving service checkroot at depth 3  
insserv: loop involving service mountdevsubfs at depth 2  
insserv: There is a loop between service single and mountnfs if
started  
insserv: loop involving service mountnfs at depth 3  
insserv: loop involving service networking at depth 2  
insserv: loop involving service screen-cleanup at depth 6  
insserv: There is a loop at service single if started  
insserv: loop involving service single at depth 2  
insserv: loop involving service vzquota at depth 1  
insserv: loop involving service rsyslog at depth 1  
insserv: loop involving service ifupdown-clean at depth 4  
insserv: loop involving service mountnfs-bootclean at depth 8  
is including insserv and requires all rc scripts to have LSB Tags.  
insserv: Starting vzquota depends on single and therefore on system
facility `$all' which can not be true!  
insserv: Starting vzquota depends on single and therefore on system
facility `$all' which can not be true!  
insserv: Starting vzquota depends on single and therefore on system
facility `$all' which can not be true!  
insserv: Starting vzquota depends on single and therefore on system
facility `$all' which can not be true!

To solve the problem you just have to edit the file /etc/init.d/vzquota and add the LSB tabs. If the original file looks like this:

#!/bin/sh

start() {  
    [ -e "/dev/simfs" ] || mknod /dev/simfs b 0 171  
    rm -f /etc/mtab >/dev/null 2>&1  
    echo "/dev/simfs / reiserfs rw,usrquota,grpquota 0 0" > /etc/mtab  
    mnt=`grep -v " / " /proc/mounts`  
    if [ $? == 0 ]; then  
    echo "$mnt" >> /etc/mtab  
    fi  
    quotaon -aug  
}  
case "$1" in  
    start)  
        start  
        ;;  
    *)  
        exit  
esac

You have to end up with something that looks like this (see all the comments added just after the first line):

#!/bin/sh  
### BEGIN INIT INFO  
# Provides: vzquota  
# Required-Start: $all  
# Required-Stop: $all  
# Default-Start: 2 3 4 5  
# Default-Stop: 0 1 6  
# Short-Description: Start vzquota at the end of boot  
# Description: This command is used to configure and see disk quota
statistics for Containers.  
### END INIT INFO

start() {  
    [ -e "/dev/simfs" ] || mknod /dev/simfs b 0 171  
    rm -f /etc/mtab >/dev/null 2>&1  
    echo "/dev/simfs / reiserfs rw,usrquota,grpquota 0 0" > /etc/mtab  
    mnt=`grep -v " / " /proc/mounts`  
    if [ $? == 0 ]; then  
    echo "$mnt" >> /etc/mtab  
    fi  
    quotaon -aug  
}  
case "$1" in  
    start)  
        start  
        ;;  
    *)  
        exit  
esac

The second error is related to the locales of the system, the error looks like this:

perl: warning: Setting locale failed.  
perl: warning: Please check that your locale settings:  
LANGUAGE = "(unset)",  
LC_ALL = (unset),  
LANG = "en_EN.UTF-8"  
are supported and installed on your system.  
perl: warning: Falling back to the standard locale ("C").  
Updating Foo package... done.  
perl: warning: Setting locale failed.  
perl: warning: Please check that your locale settings:  
LANGUAGE = "(unset)",  
LC_ALL = (unset),  
LANG = "en_EN.UTF-8"  
are supported and installed on your system.  
perl: warning: Falling back to the standard locale ("C").  
locale: Cannot set LC_CTYPE to default locale: No such file or
directory  
locale: Cannot set LC_MESSAGES to default locale: No such file or
directory  
locale: Cannot set LC_ALL to default locale: No such file or directory

And the solution is quite easy. Just execute this command and select you current language.

sudo dpkg-reconfigure --frontend=dialog --priority=low locales

And that's all. Jan.

Edit: This is the end of the story.