Article ID: 127781, created on Dec 16, 2015, last review on Dec 16, 2015

  • Applies to:
  • Operations Automation 6.0

Symptoms

The task to provision new service template fails with the following error output:

Internal error: 3501 : Can not install packages: ' vzpkg install -q 9200 .pp11.5-webmail .pp11.5-webhosting-addons .pp11.5-watchdog .pp11.5-spamassassin .pp11.5-postfix .pp11.5-php5 .pp11.5-bind .pp11.5-panel-addons .pp11.5-migration .pp11.5-mailman .pp11.5' exec failed - W: Failed to fetch http://autoinstall.plesk.com/debian/NGINX1.5/dists/wheezy/all/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error: /usr/bin/apt-get failed, exitcode=100
Error: Can not update metadata for pp11.5-nginx. Skipped.
E: Unable to correct problems, you have held broken packages.
Error: /usr/bin/apt-get failed, exitcode=100

Cause

The pp*-nginx application templates are outdated because Nginx has its own repository and separate application templates. Thus, such application templates are to be removed.

Resolution

Remove the pp*-nginx application templates from the server for all OS distributions and force an update of metadata from the server.

  1. Remove templates:

    ~# vzpkg list | awk '$2~/^pp.*-nginx$/{print$1" "$2}' | while read os app; do vzpkg remove template -F $os $app; done
    
  2. Update metadata, in this case for the debian-7.0-x86_64 OS template:

    ~# vzpkg update metadata debian-7.0-x86_64 -r
    

Search Words

Unable to correct problems, you have held broken packages

Can not install packages

http://autoinstall.plesk.com/debian/NGINX1.5/dists/wheezy/all/binary-amd64/Packages 404 Not Found

Some index files failed to download. They have been ignored, or old ones used instead

Failed to fetch

exec failed - W:

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF