Plesk

Unable to upgrade Plesk on Debian or Ubuntu: Failed to fetch autoinstall.plesk.com/… 404 Not Found

Symptoms

Cause

Repository misconfiguration in /etc/apt/sources.list.

Resolution

  1. Connect to the server via SSH.

  2. Back up the original /etc/apt/sources.list file:

    # mv /etc/apt/sources.list{,.orig}

  3. Recreate the /etc/apt/sources.list file using vi text editor with the default repositories for server's OS:

Ubuntu 18.04

deb http://archive.ubuntu.com/ubuntu bionic main restricted universe
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu bionic partner

Ubuntu 20.04

deb http://archive.ubuntu.com/ubuntu focal main restricted universe
deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe
deb http://security.ubuntu.com/ubuntu focal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu focal partner

Debian 9

deb http://ftp.debian.org/debian stretch stretch main contrib non-free
deb http://ftp.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org/debian-security stretch/updates main contrib non-free

Debian 10

deb http://ftp.debian.org/debian buster main contrib non-free
deb http://ftp.debian.org/debian buster-updates main contrib non-free
deb http://security.debian.org buster/updates main contrib non-free

Exit mobile version