Symptoms

Update installation is stacked on checking accessibility of PMM repositories. The following error is shown in the /usr/local/ppa/log/ppaupdate.log:

[LOGTEE]: Some of ppm mirrors could not be accessed. Please check if machine with installed mirror is running and accessible from Management Node host. As a last resort, you can delete mirror using 'ppm_ctl mirror remove' command. List of problem mirrors:
[LOGTEE]:
[LOGTEE]: Mirror ID     URL
[LOGTEE]:     1         http://203.0.113.2/tarballs
[LOGTEE]:               Error: nonnumeric port: '8443tarballs'

Or

    [LOGTEE]:
    [LOGTEE]: Mirror ID     URL
    [LOGTEE]:     1         http://203.0.113.2/tarballs
    [LOGTEE]:   Error: <urlopen error [Errno -2] Name or service not known>

Cause

Such behavior could be caused by redirect rule for default apache virtual host:

# cat /var/www/vhosts/default/htdocs/.htaccess
Redirect 301 / https://example.com:8443

Resolution

Terminate the update process, remove redirect rule and re-run the update with the following command:

# ppa.update --install-update

Internal content