Quoting "Stéphane Klein" <firstname.lastname@example.org>:
> 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
> 126.96.36.199-188.8.131.52.28.2 (using
> 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 (184.108.40.206-220.127.116.11.28.2) ...
> Errors were encountered while processing:
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> What is my mistake ?
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.
From Ben Green