Hello,
Now-a-days i am trying to upgrade cyberpanel. by command
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
but it says that
Requirement already satisfied: virtualenv in /usr/local/lib/python3.9/site-packages (20.27.1)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.9/site-packages (from virtualenv) (0.3.9)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.9/site-packages (from virtualenv) (4.3.6)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.9/site-packages (from virtualenv) (3.16.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Nothing found, need fresh setup...
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 5, in <module>
from virtualenv.__main__ import run_with_catch
File "/usr/local/lib/python3.9/site-packages/virtualenv/__init__.py", line 3, in <module>
from .run import cli_run, session_via_cli
File "/usr/local/lib/python3.9/site-packages/virtualenv/run/__init__.py", line 15, in <module>
from .plugin.creators import CreatorSelector
File "/usr/local/lib/python3.9/site-packages/virtualenv/run/plugin/creators.py", line 7, in <module>
from virtualenv.create.via_global_ref.builtin.builtin_way import VirtualenvBuiltin
File "/usr/local/lib/python3.9/site-packages/virtualenv/create/via_global_ref/builtin/builtin_way.py", line 5, in <module>
from virtualenv.create.creator import Creator
File "/usr/local/lib/python3.9/site-packages/virtualenv/create/creator.py", line 13, in <module>
from virtualenv.discovery.cached_py_info import LogCmd
File "/usr/local/lib/python3.9/site-packages/virtualenv/discovery/cached_py_info.py", line 25, in <module>
_CACHE[Path(sys.executable)] = PythonInfo()
File "/usr/local/lib/python3.9/site-packages/virtualenv/discovery/py_info.py", line 100, in __init__
self.distutils_install = self._distutils_install().copy()
File "/usr/local/lib/python3.9/site-packages/virtualenv/discovery/py_info.py", line 191, in _distutils_install
i.finalize_options()
File "/usr/local/lib/python3.9/site-packages/setuptools/command/install.py", line 80, in finalize_options
super().finalize_options()
File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/install.py", line 408, in finalize_options
'dist_fullname': self.distribution.get_fullname(),
File "/usr/local/lib/python3.9/site-packages/setuptools/_core_metadata.py", line 267, in get_fullname
return _distribution_fullname(self.get_name(), self.get_version())
File "/usr/local/lib/python3.9/site-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname
canonicalize_version(version, strip_trailing_zero=False),
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
above command failed...
And I need to install it again fresh. Restore all backups and all things from startup. and need to give OS again. its too much trouble for me. lots of website and lots of data is there
how to troubleshoot this and get solution. I am running almalinux 9
updated and latest version and kernal
Please see the attachment
when trying to update it shows this now-a-days
[root@localhost ~]# dnf update -y
Last metadata expiration check: 0:06:50 ago on Sat Nov 30 10:18:24 2024.
Error:
Problem 1: cannot install the best update candidate for package lsphp81-intl-8.1.29-2.el9.x86_64
- nothing provides libicudata.so.74()(64bit) needed by lsphp81-intl-8.1.31-2.el9.x86_64 from litespeed-update
- nothing provides libicui18n.so.74()(64bit) needed by lsphp81-intl-8.1.31-2.el9.x86_64 from litespeed-update
- nothing provides libicuio.so.74()(64bit) needed by lsphp81-intl-8.1.31-2.el9.x86_64 from litespeed-update
- nothing provides libicuuc.so.74()(64bit) needed by lsphp81-intl-8.1.31-2.el9.x86_64 from litespeed-update
Problem 2: cannot install the best update candidate for package lsphp82-intl-8.2.22-2.el9.x86_64
- nothing provides libicudata.so.74()(64bit) needed by lsphp82-intl-8.2.24-2.el9.x86_64 from litespeed-update
- nothing provides libicui18n.so.74()(64bit) needed by lsphp82-intl-8.2.24-2.el9.x86_64 from litespeed-update
- nothing provides libicuio.so.74()(64bit) needed by lsphp82-intl-8.2.24-2.el9.x86_64 from litespeed-update
- nothing provides libicuuc.so.74()(64bit) needed by lsphp82-intl-8.2.24-2.el9.x86_64 from litespeed-update
Problem 3: cannot install the best update candidate for package lsphp83-intl-8.3.10-2.el9.x86_64
- nothing provides libicudata.so.74()(64bit) needed by lsphp83-intl-8.3.12-2.el9.x86_64 from litespeed-update
- nothing provides libicui18n.so.74()(64bit) needed by lsphp83-intl-8.3.12-2.el9.x86_64 from litespeed-update
- nothing provides libicuio.so.74()(64bit) needed by lsphp83-intl-8.3.12-2.el9.x86_64 from litespeed-update
- nothing provides libicuuc.so.74()(64bit) needed by lsphp83-intl-8.3.12-2.el9.x86_64 from litespeed-update
Problem 4: package lsphp83-intl-8.3.10-2.el9.x86_64 from @System requires lsphp83-common(x86-64) = 8.3.10-2.el9, but none of the providers can be installed
- cannot install both lsphp83-common-8.3.12-2.el9.x86_64 from litespeed-update and lsphp83-common-8.3.10-2.el9.x86_64 from @System
- problem with installed package lsphp83-intl-8.3.10-2.el9.x86_64
- cannot install the best update candidate for package lsphp83-common-8.3.10-2.el9.x86_64
- nothing provides libicudata.so.74()(64bit) needed by lsphp83-intl-8.3.12-2.el9.x86_64 from litespeed-update
- nothing provides libicui18n.so.74()(64bit) needed by lsphp83-intl-8.3.12-2.el9.x86_64 from litespeed-update
- nothing provides libicuio.so.74()(64bit) needed by lsphp83-intl-8.3.12-2.el9.x86_64 from litespeed-update
- nothing provides libicuuc.so.74()(64bit) needed by lsphp83-intl-8.3.12-2.el9.x86_64 from litespeed-update
Problem 5: package lsphp82-intl-8.2.22-2.el9.x86_64 from @System requires lsphp82-common(x86-64) = 8.2.22-2.el9, but none of the providers can be installed
- cannot install both lsphp82-common-8.2.24-2.el9.x86_64 from litespeed-update and lsphp82-common-8.2.22-2.el9.x86_64 from @System
- problem with installed package lsphp82-intl-8.2.22-2.el9.x86_64
- cannot install the best update candidate for package lsphp82-common-8.2.22-2.el9.x86_64
- nothing provides libicudata.so.74()(64bit) needed by lsphp82-intl-8.2.24-2.el9.x86_64 from litespeed-update
- nothing provides libicui18n.so.74()(64bit) needed by lsphp82-intl-8.2.24-2.el9.x86_64 from litespeed-update
- nothing provides libicuio.so.74()(64bit) needed by lsphp82-intl-8.2.24-2.el9.x86_64 from litespeed-update
- nothing provides libicuuc.so.74()(64bit) needed by lsphp82-intl-8.2.24-2.el9.x86_64 from litespeed-update
Problem 6: problem with installed package lsphp81-intl-8.1.29-2.el9.x86_64
- package lsphp81-intl-8.1.29-2.el9.x86_64 from @System requires lsphp81-common(x86-64) = 8.1.29-2.el9, but none of the providers can be installed
- package lsphp81-intl-8.1.29-2.el9.x86_64 from litespeed-update requires lsphp81-common(x86-64) = 8.1.29-2.el9, but none of the providers can be installed
- cannot install both lsphp81-common-8.1.31-2.el9.x86_64 from litespeed-update and lsphp81-common-8.1.29-2.el9.x86_64 from @System
- cannot install both lsphp81-common-8.1.31-2.el9.x86_64 from litespeed-update and lsphp81-common-8.1.29-2.el9.x86_64 from litespeed-update
- cannot install the best update candidate for package lsphp81-common-8.1.29-2.el9.x86_64
- nothing provides libicudata.so.74()(64bit) needed by lsphp81-intl-8.1.31-2.el9.x86_64 from litespeed-update
- nothing provides libicui18n.so.74()(64bit) needed by lsphp81-intl-8.1.31-2.el9.x86_64 from litespeed-update
- nothing provides libicuio.so.74()(64bit) needed by lsphp81-intl-8.1.31-2.el9.x86_64 from litespeed-update
- nothing provides libicuuc.so.74()(64bit) needed by lsphp81-intl-8.1.31-2.el9.x86_64 from litespeed-update
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Please help me to find solution