ebconf: Perl may be unconfigured (Can't locate IO/File.pm in @INC

MikeC

Renowned Member
Jan 11, 2016
73
0
71
Bay Area, California
After an attempt to update from Debian wheezy to jessie, something broke perl. Now nothing works with apt-get (since it depends on perl), and therefore no PVE elements are getting updated, and all my VMs are now dead in the water.

Many packages are held back, and I've tried force and reinstall. Seems none of the required perl packages can be found (Posix, Io, File). Can't force reinstall debconf.

Any ideas on how to proceed?
 
I fixed most of the perl issues, but now vzctl won't install cleanly:

Reading changelogs... Done
(Reading database ... 66738 files and directories currently installed.)
Preparing to unpack .../vzctl_4.8-1+deb8u2_amd64.deb ...
Unpacking vzctl (4.8-1+deb8u2) over (4.0-1pve6) ...
dpkg: error processing archive /var/cache/apt/archives/vzctl_4.8-1+deb8u2_amd64.deb (--unpack):
error setting ownership of `./etc/vz/conf/ve-basic.conf-sample': Operation not permitted
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for systemd (215-17+deb8u10) ...
Errors were encountered while processing:
/var/cache/apt/archives/vzctl_4.8-1+deb8u2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

What's the best way to proceed?