Applicable to:
- Plesk for Linux
Symptoms
-
Plesk is running on a Debian or Ubuntu based operating system
-
Errors like these appear during updates:
E: Failed to fetch http://autoinstall.plesk.com/[...]example_package.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?The repository 'http://my.archive.ubuntu.com/ubuntu focal Release' no longer has a Release file., W:Updating from such a repository can't be done securely, and is therefore disabled by default
# plesk installer --select-release-current --upgrade-installed-components
...
E: Version '17.8.11-ubuntu16.04.build1708180329.14' for 'pp17.8.11-bootstrapper' was not found
E: Version '17.8.11-ubuntu16.04.build1708180322.11' for 'plesk-completion' was not found
Cause
The system repositories are misconfigured, so the system can't find the requested packages.
Resolution
Restore the default system repositories.
-
Connect to the server over SSH.
-
Back up the original sources list:
# mv /etc/apt/sources.list{,.orig}
-
Edit the sources list and replace its contents with the defaults below:
# vi /etc/apt/sources.list
Ubuntu 22.04deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ jammy partnerUbuntu 20.04deb 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 partnerUbuntu 18.04deb 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 partnerDebian 12deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
deb https://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmwareDebian 11deb https://deb.debian.org/debian bullseye main
deb https://deb.debian.org/debian-security/ bullseye-security main
deb https://deb.debian.org/debian bullseye-updates mainDebian 10deb 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
-
Connect to the server over SSH.
-
Back up the original sources list:
# mv /etc/apt/sources.list.d/ubuntu.sources{,.orig}
-
Edit the sources list and replace its contents with the defaults below:
# vi /etc/apt/sources.list.d/ubuntu.sources
Types: deb deb-src
URIs: http://us.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports noble-proposed
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Types: deb deb-src
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Comments
0 comments
Please sign in to leave a comment.