Debian Wheezy ipvsadm error

After upgrading some load balancers to Debian Wheezy I noticed this error (happens when dpkg-reconfigure ipvsadm) is ran:

lb1:~# dpkg-reconfigure ipvsadm
debconf: Unknown template field '__choices', in stanza #1 of /var/lib/dpkg/info/ipvsadm.templates

debconf: Unknown template field '_description', in stanza #1 of /var/lib/dpkg/info/ipvsadm.templates

debconf: Unknown template field '_description', in stanza #2 of /var/lib/dpkg/info/ipvsadm.templates

debconf: Unknown template field '_description', in stanza #3 of /var/lib/dpkg/info/ipvsadm.templates

debconf: Unknown template field '_description', in stanza #4 of /var/lib/dpkg/info/ipvsadm.templates
....

If you encounter this error you can run this sed command to fix up the template:

sed -i -r 's/^_+//' /var/lib/dpkg/info/ipvsadm.templates

Posted in Linux and tagged .

Leave a Reply

Your email address will not be published. Required fields are marked *