Subject: Re: [vserver] "http://repo.psand.net/ lenny main" debian repository : util-vserver-basic-debian package error => "/var/lib/vservers/.: Function not implemented"
From: "Ben Green" <ben@bristolwireless.net>
Date: Mon, 29 Nov 2010 09:25:12 +0000
Mon, 29 Nov 2010 09:25:12 +0000
Quoting "Stéphane Klein" <klein.stephane@gmail.com>:

> Hi,
>
> this is my error when I try to install "linux-image-vserver" package
> from "repo.psand.net" repository :
>
> hosting16:~# apt-get install --reinstall linux-image-vserver-2.6.31-beng
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/912B of archives.
> After this operation, 0B of additional disk space will be used.
> Do you want to continue [Y/n]?
> (Reading database ... 25194 files and directories currently installed.)
> Preparing to replace linux-image-vserver-2.6.31-beng
> 2.6.31.14-2.3.0.36.28.2 (using
> .../linux-image-vserver-2.6.31-beng 2.6.31.14-2.3.0.36.28.2 i386.deb)
> ...
> Unpacking replacement linux-image-vserver-2.6.31-beng ...
> Setting up util-vserver-basic-debian (0.30.216-pre2914lenny.3) ...
> Setup the barrier /var/lib/vservers directory
> /var/lib/vservers/.: Function not implemented
> dpkg: error processing util-vserver-basic-debian (--configure):
>  subprocess post-installation script returned error exit status 1
> Setting up linux-image-vserver-2.6.31-beng (2.6.31.14-2.3.0.36.28.2) ...
> Errors were encountered while processing:
>  util-vserver-basic-debian
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> What is my mistake ?
>
> Regards,
> Stephane
>
>

This is a problem with the package util-vserver-basic-debian. If it  
isn't installed on an already existing vserver kernel, it won't work.  
I think Ghislain who builds those packages might be interested in  
sorting that out.

The workaround is to reboot with the new kernel (which installed fine  
for you), then to run

apt-get -f install

to get the utils installed.

Cheers,
==
 From Ben Green

["application/pgp-signature" not shown]