• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Apt/PUM update on Ubuntu 16.04 failing with missing PHP 7.3 Release file

steve_gh

New Pleskian
Hi all.

When trying to run apt update on our Ubuntu 16.04 Plesk servers in the last few days (since at least 6 May), the update fails with the following (end of output):

Code:
Hit:15 http://autoinstall.plesk.com/pool/PHP_7.1.33_96 xenial InRelease
Hit:16 http://autoinstall.plesk.com/pool/PHP_7.2.34_150 xenial InRelease
Ign:17 http://autoinstall.plesk.com/PHP73_17 xenial InRelease
Err:18 http://autoinstall.plesk.com/PHP73_17 xenial Release
  404  Not Found [IP: 89.187.163.87 80]
Reading package lists... Done
E: The repository 'http://autoinstall.plesk.com/PHP73_17 xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

A warning email from Plesk Package Update Manager was also issued:
Hello, admin
Some problems occurred with the System Updates tool on your server xxxxxxxxxx. Please resolve them manually.

Reason: 2021-05-06 06:25:49 INFO: pum is called with arguments: ['--list', '--repo-info', '--json']
2021-05-06 06:25:52 ERROR: W:The repository 'Index of /PHP73_17 xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://autoinstall.plesk.com/PHP73_17/dists/xenial/all/binary-amd64/Packages 404 Not Found [IP: 89.187.163.69 80], E:Some index files failed to download. They have been ignored, or old ones used instead.
2021-05-06 06:25:52 ERROR: Exited with returncode 1.

All affected servers are on Plesk Onyx Version 17.8.11 Update #95 on Ubuntu 16.04.7 LTS‬.

I looked at the details on the repository page at Index of /PHP73_17 and there doesn't seem to be anything to support Ubuntu 16.04 there (see Index of /PHP72_17 for comparison). Is that on purpose?

Our Plesk sources list is as follows:
Code:
# cat /etc/apt/sources.list.d/plesk.list
## Persistent repositories for Plesk Products.
deb http://autoinstall.plesk.com/ubuntu/PSA_17.8.11 xenial extras
deb http://autoinstall.plesk.com/ubuntu/PHP56_17 xenial all
deb http://autoinstall.plesk.com/ubuntu/PHP70_17 xenial all
deb http://autoinstall.plesk.com/pool/PHP_7.1.33_96 xenial all
deb http://autoinstall.plesk.com/pool/PHP_7.2.34_150 xenial all
deb http://autoinstall.plesk.com/PHP73_17/  xenial all

Could support for PHP 7.3 please be re-added? Or is there an alternate package source URL to use in the future?

Thanks!
 
It worked!

Code:
cat /etc/apt/sources.list.d/plesk.list
## Persistent repositories for Plesk Products.
deb http://autoinstall.plesk.com/ubuntu/PSA_17.8.11 xenial extras
deb http://autoinstall.plesk.com/ubuntu/PHP56_17 xenial all
deb http://autoinstall.plesk.com/ubuntu/PHP70_17 xenial all
deb http://autoinstall.plesk.com/pool/PHP_7.1.33_96 xenial all
deb http://autoinstall.plesk.com/pool/PHP_7.2.34_150 xenial all
deb http://autoinstall.plesk.com/pool/PHP_7.3.27_219 xenial all

Thank you! :)
 
Please note that Ubuntu 16.04 is EOLed already, and it would be better to consider an upgrade to the latest versions of Ubuntu and Plesk.
 
Please remove all PHP records from your /etc/apt/sources.list.d/plesk.list and run

# plesk installer update

It should help.
@IgorG Hi, I'm having the same issue as this user, I'm relatively new to ubuntu and its commands. how exactly do I remove the php records from /etc/apt/sources.list.d/plesk.list?

thank in advance and appreciate your help
 
Please remove all PHP records from your /etc/apt/sources.list.d/plesk.list and run

# plesk installer update

It should help.
I have the same problem. In my source.list I had:

deb Index of /pool/PSA_18.0.34_5691 xenial extras

deb Index of /ubuntu/PHP56_17 xenial all

deb Index of /ubuntu/PHP70_17 xenial all

deb Index of /pool/PHP_7.1.33_96 xenial all

deb Index of /PHP73_17 xenial all

so I removed all except the 1st line.

When I run "plesk installer update" after the download, the script stops with the message:

“Retrieving information about the installed license key ... The latest version of the product (s) and all selected components have already been installed. The installation will not continue.”

what am I doing wrong? Thanks in advance for your help
 
Back
Top