• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs plesk update 18.0.45 #2 to 18.0.46 on CentOS7 latest with AWStats fails

TomBoB

Silver Pleskian
Username:

TITLE

plesk update 18.0.45 #2 to 18.0.46 on CentOS7 latest with AWStats fails

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk 18.0.45 #2 , CentOS7 CentOS Linux 7.9.2009 (Core),

PROBLEM DESCRIPTION

cannot update Plesk from 18.0.45#2 to 18.0.46 on CentOS7 latest with AWStats being used.

STEPS TO REPRODUCE

have Plesk 18.0.45 on CentOS7 latest with AWStats loaded. Attempt update to 18.0.46

ACTUAL RESULT

Exception: Failed to solve dependencies:
plesk-awstats-configurator-18.0-2.centos.7+p18.0.46.0+t220808.0959.noarch requires awstats >= 7.8
Error: The Yum utility failed to install the required packages.

Plesk is not updated.

EXPECTED RESULT

update works

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Removing AWStats and upgrading to 18.0.46 works. However afterwards AWStats cannot be re-installed again.

> The Yum utility failed to install the required packages.
 
Resolution: log in using SSH and remove from the file
/etc/yum.repos.d/epel.repo
the line
exclude=awstats*
then run the update again.
[we have no record of adding that entry above manually on all the CentOS7 server. The reason why i filed above bug report initially.]
 
Looks like you or the support engineer excluded AWStats before.
Please drop this customization because plesk 18.0.46

Also, note that it was mentioned in 18.0.46 Release Notes:

Note: If you have disabled the installation of AWStats packages from the EPEL repository, you need to undo the changes, or else future Plesk updates will fail.
 
Thanks Igor. That release notes note was under "for CentOS 8" which made us think it doesn't apply to CentOS7. Anyway, we found it quickly and resolved it. :)
 
I'm facing the same problem trying to upgrade to 18.0.46, but there isn't a line with awstats in the epel.repo file.

Error:
Exception: Failed to solve dependencies:
plesk-awstats-configurator-18.0-2.centos.7+p18.0.47.0+t220905.1135.noarch requires awstats >= 7.8
Error: The Yum utility failed to install the required packages.

Version info
OSCentOS Linux 7.9.2009 (Core)
Product Plesk Obsidian
Version 18.0.45 Update #2, last updated on Aug 4, 2022 06:04 PM

/etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled = 1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
includepkgs = shorewall shorewall6 shorewall-core nagios* nrpe

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
includepkgs = shorewall shorewall6 shorewall-core nagios* nrpe
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
#baseurl=Linux @ CERN
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
includepkgs = shorewall shorewall6 shorewall-core nagios* nrpe
gpgcheck=1
 
@vanlier I could be wrong, but I think what was meant is that when you are using a version prior to 18.0.46, you may have to add the line

exclude=awstats*

Then, after you completed the upgrade to 18.0.46, you need to remove the exclusion, because on future updates, AWStats is taken from Epel.
 
If you exclude everything but these packages, the upgrade will give that warning:

includepkgs = shorewall shorewall6 shorewall-core nagios* nrpe
 
Back
Top