Stuck with Updating Plesk or system packages on CentOS 8 server fails? We can help you.
At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Service.
Let’s take a look at how our Support Team assist with this query.
How to resolve Updating Plesk or system packages fails?
Plesk is a commercial web hosting and server data center automation software with a control panel developed for Linux and Windows-based retail hosting service providers.
Plesk automates various tasks and processes on a single or multiple servers.
Basically, after updating Plesk or system packages either via Tools & Settings > System Updates or manually with
dnf update
Copy Code
on a server with CentOS 8 fails with below error:
Failed to check system configuration – Yum utility finished with errors. Installation may fail.
dnf.exceptions.RepoError: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist
Copy Code
Plesk pre-upgrade check
Error: Cache-only enabled but no cache for ‘appstream’
WARNING: Unable to detect package duplicates: /usr/bin/package-cleanup –dupes returns 1.Output is:
Copy Code
Today, let us see the steps followed by our Support techs to resolve it:
- Convert the server in-place to AlmaLinux 8, Rocky Linux 8, or CloudLinux 8 (note that CloudLinux is a paid OS).
- Deploy a new Plesk server with a supported operating system and migrate to it using Plesk Migrator.
-
Temporary solution: configure archived repositories.
- Firstly, connect to the server using SSH.
- Then, edit the files
,/etc/yum.repos.d/CentOS-Linux-AppStream.repo
Copy Code
, and/etc/yum.repos.d/CentOS-Linux-BaseOS.repo
Copy Code
so they look like below:/etc/yum.repos.d/CentOS-Linux-PowerTools.repo
Copy Code
:/etc/yum.repos.d/CentOS-Linux-AppStream.repo
Copy Code[appstream] name=CentOS Linux $releasever – AppStream baseurl=http://vault.centos.org/$contentdir/$releasever/AppStream/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Copy Code
:/etc/yum.repos.d/CentOS-Linux-BaseOS.repo
Copy Code[baseos] name=CentOS Linux $releasever – BaseOS baseurl=http://vault.centos.org/$contentdir/$releasever/BaseOS/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Copy Code
:/etc/yum.repos.d/CentOS-Linux-PowerTools.repo
Copy Code[powertools] name=CentOS Linux $releasever – PowerTools baseurl=http://vault.centos.org/$contentdir/$releasever/PowerTools/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Copy Code
[Looking for a solution to another query? We are just a click away.]
Conclusion
To sum up, our skilled Support Engineers at Bobcares demonstrated how to resolve Updating Plesk or system packages.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments