[Bug 1077874] Re: installation of ipvsadm is broken : unknown template field, can't dpkg-reconfigure

Joris jorisd at gmail.com
Mon Nov 12 12:55:39 UTC 2012


Hello,

Here's a patch that fix the "Unknown template field" errors that debconf
encounters.

However, dpkg-reconfigure ipvsadm still doesn't work as it just spits
out the following output :

# dpkg-reconfigure ipvsadm
 * ipvsadm is not configured to run. Please run dpkg-reconfigure ipvsadm
 * ipvsadm is not configured to run. Please edit /etc/default/ipvsadm

I'm not sure how to fix it myself.

Best regards,
Joris


** Patch added: "This patch resolves the "Unknown template field" errors."
   https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1077874/+attachment/3431223/+files/ipvsadm.templates.patch

** Description changed:

- root at cookie:~# apt-get install ipvsadm
+ # apt-get install ipvsadm
  Reading package lists... Done
- Building dependency tree       
+ Building dependency tree
  Reading state information... Done
  Suggested packages:
-   heartbeat keepalived ldirectord
+   heartbeat keepalived ldirectord
  The following NEW packages will be installed:
-   ipvsadm
+   ipvsadm
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/39.8 kB of archives.
  After this operation, 134 kB of additional disk space will be used.
  Preconfiguring packages ...
  debconf: Unknown template field '__choices', in stanza #1 of /tmp/ipvsadm.template.94960
  
  debconf: Unknown template field '_description', in stanza #1 of
  /tmp/ipvsadm.template.94960
  
  debconf: Unknown template field '_description', in stanza #2 of
  /tmp/ipvsadm.template.94960
  
  debconf: Unknown template field '_description', in stanza #3 of
  /tmp/ipvsadm.template.94960
  
  debconf: Unknown template field '_description', in stanza #4 of
  /tmp/ipvsadm.template.94960
  
  Selecting previously unselected package ipvsadm.
  (Reading database ... 188359 files and directories currently installed.)
  Unpacking ipvsadm (from .../ipvsadm_1%3a1.26-1ubuntu1_amd64.deb) ...
  Processing triggers for ureadahead ...
  Processing triggers for man-db ...
  Setting up ipvsadm (1:1.26-1ubuntu1) ...
-  * ipvsadm is not configured to run. Please edit /etc/default/ipvsadm
+  * ipvsadm is not configured to run. Please edit /etc/default/ipvsadm
  root at cookie:~# 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
  
-  * ipvsadm is not configured to run. Please run dpkg-reconfigure ipvsadm
-  * ipvsadm is not configured to run. Please edit /etc/default/ipvsadm
- 
+  * ipvsadm is not configured to run. Please run dpkg-reconfigure ipvsadm
+  * ipvsadm is not configured to run. Please edit /etc/default/ipvsadm
  
  # apt-cache policy ipvsadm
  ipvsadm:
-   Installed: 1:1.26-1ubuntu1
-   Candidate: 1:1.26-1ubuntu1
-   Version table:
-  *** 1:1.26-1ubuntu1 0
-         500 http://fr.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 1:1.26-1ubuntu1
+   Candidate: 1:1.26-1ubuntu1
+   Version table:
+  *** 1:1.26-1ubuntu1 0
+         500 http://fr.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
+         100 /var/lib/dpkg/status
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ipvsadm 1:1.26-1ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Mon Nov 12 10:47:10 2012
  InstallationDate: Installed on 2012-11-06 (5 days ago)
  InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
  MarkForUpload: True
  SourcePackage: ipvsadm
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  # apt-get install ipvsadm
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Suggested packages:
    heartbeat keepalived ldirectord
  The following NEW packages will be installed:
    ipvsadm
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/39.8 kB of archives.
  After this operation, 134 kB of additional disk space will be used.
  Preconfiguring packages ...
  debconf: Unknown template field '__choices', in stanza #1 of /tmp/ipvsadm.template.94960
  
  debconf: Unknown template field '_description', in stanza #1 of
  /tmp/ipvsadm.template.94960
  
  debconf: Unknown template field '_description', in stanza #2 of
  /tmp/ipvsadm.template.94960
  
  debconf: Unknown template field '_description', in stanza #3 of
  /tmp/ipvsadm.template.94960
  
  debconf: Unknown template field '_description', in stanza #4 of
  /tmp/ipvsadm.template.94960
  
  Selecting previously unselected package ipvsadm.
  (Reading database ... 188359 files and directories currently installed.)
  Unpacking ipvsadm (from .../ipvsadm_1%3a1.26-1ubuntu1_amd64.deb) ...
  Processing triggers for ureadahead ...
  Processing triggers for man-db ...
  Setting up ipvsadm (1:1.26-1ubuntu1) ...
   * ipvsadm is not configured to run. Please edit /etc/default/ipvsadm
- root at cookie:~# dpkg-reconfigure ipvsadm
+ # 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
  
   * ipvsadm is not configured to run. Please run dpkg-reconfigure ipvsadm
   * ipvsadm is not configured to run. Please edit /etc/default/ipvsadm
  
  # apt-cache policy ipvsadm
  ipvsadm:
    Installed: 1:1.26-1ubuntu1
    Candidate: 1:1.26-1ubuntu1
    Version table:
   *** 1:1.26-1ubuntu1 0
          500 http://fr.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
          100 /var/lib/dpkg/status
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ipvsadm 1:1.26-1ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Mon Nov 12 10:47:10 2012
  InstallationDate: Installed on 2012-11-06 (5 days ago)
  InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
  MarkForUpload: True
  SourcePackage: ipvsadm
  UpgradeStatus: No upgrade log present (probably fresh install)

** Tags added: ipvsadm

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ipvsadm in Ubuntu.
https://bugs.launchpad.net/bugs/1077874

Title:
  installation of ipvsadm is broken : unknown template field, can't
  dpkg-reconfigure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1077874/+subscriptions



More information about the Ubuntu-server-bugs mailing list