Applicable to:
- Plesk for Linux
Symptoms
When updating system packages in Plesk at Tools & Settings > System Updates, the operation fails with the following error message:
PLESK_ERROR: Error: Unable to get packages list: INFO: pum is called with arguments: ['--list', '--repo-info', '--json'] ERROR: E:The repository 'http://autoinstall.plesk.com/RUBY_0.0.2 jammy Release' does not have a Release file.
Cause
The repository has not been updated to support the current Ubuntu/Debian distribution.
Resolution
Solution I:
Update the repository format to include the release name or version of the current OS:
-
Connect to the Plesk server via SSH.
-
Find the current OS release:
# lsb_release -sc
focal -
Find the file with the affected repository:
# grep -r RUBY /etc/apt/sources.list.d/* /etc/apt/sources.list
/etc/apt/sources.list.d/example.list http://autoinstall.plesk.com/RUBY_0.0.2 ... -
Open the affected file in a text editor (for example, vi editor) and change the release name in accordance with the following resource:
Solution II:
If the repository from the error message is no longer required, remove it from the repository configuration by deleting the invalid line from the repository file where this line exists:
# grep -r RUBY /etc/apt/sources.list.d/* /etc/apt/sources.list
/etc/apt/sources.list.d/example.list http://autoinstall.plesk.com/RUBY_0.0.2
Comments
0 comments
Please sign in to leave a comment.