Article ID: 118951, created on Dec 1, 2013, last review on May 10, 2014

  • Applies to:
  • Virtuozzo containers for Linux


  1. Upgrading a Debian-based container to a newer OS version using EZ templates fails with the following error message:

    # vzpkg upgrade  888
    Reading state information...
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Package wide-dhcpv6-client is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'wide-dhcpv6-client' has no installation candidate
    Error: /usr/bin/apt-get failed, exitcode=100
  2. The package wide-dhcpv6-client is removed in the container:

    # dpkg -l wide-dhcpv6-client
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name                  Version              Description
    rc  wide-dhcpv6-client    20080615-8squeeze1   DHCPv6 client for automatic IPv6 hosts configuration


Attempt to start wide-dhcpv6-client service after installation fails because of incorrect configuration.


  1. Make sure the package is installed inside the container:

    # vzctl exec 888 dpkg --get-selections | grep  wide-dhcpv6-client
    wide-dhcpv6-client                              install
  2. Make sure wide-dhcpv6-client configuration file does not contain an interface:

    # cat /vz/root/888/etc/default/wide-dhcpv6-client
    # Defaults for dhcpv6 client initscript
    # Used by /etc/init.d/wide-dhcpv6-client
    # Interfaces on which the client should send DHCPv6 requests and listen to
    # answers. If empty, the client is deactivated.

    For example, INTERFACES="eth0" will result in the aforementioned error message. If an interface is specified, do the following:

    # vzctl enter 888
    # sed s/eth0// -i /etc/default/wide-dhcpv6-client        
    # apt-get -f install 
  3. Run the upgrade once again:

    # vzpkg upgrade 888

Search Words

Package 'wide-dhcpv6-client' has no installation candidate

has no installation candidate

e8e50b42231236b82df27684e7ec0beb 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f

Email subscription for changes to this article
Save as PDF