WHM isn't installed
apt list --installed|egrep 'alt-python38|alt-sqlite'|cut -f1 -d '/'|while read pkgs;do apt-get install --reinstall $pkgs;done
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/10.7 MB of archives.
After this operation, 0 B of additional disk space will be used.
usermod: no changes
(Reading database ... 178582 files and directories currently installed.)
Preparing to unpack .../alt-python38-libs_3.8.15-1_amd64.deb ...
Unpacking alt-python38-libs (3.8.15-1) over (3.8.15-1) ...
Setting up ea-cpanel-tools (1.0-112+125.1.cpanel) ...
+ '[' -e /usr/bin/apt ']'
+ chmod 0644 /etc/cpanel/ea4/profiles/pkg-manifest.json
chmod: cannot access '/etc/cpanel/ea4/profiles/pkg-manifest.json': No such file or directory
dpkg: error processing package ea-cpanel-tools (--configure):
installed ea-cpanel-tools package post-installation script subprocess returned error exit status 1
Setting up alt-python38-libs (3.8.15-1) ...
Setting up cpanel-xovi-plugin (1.6.0-2+3.1.cpanel) ...
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 194: /usr/local/cpanel/scripts/run_plugin_lifecycle: No such file or directory
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 196: /usr/local/cpanel/scripts/run_plugin_lifecycle: No such file or directory
Setting up timers to enable cPanel & WHM's SEO UI on server status changes, like license updates.
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 198: /usr/local/cpanel/scripts/setup_systemd_timer_for_plugins: No such file or directory
find: ‘/var/cpanel/plugins/xovi/locale/’: No such file or directory
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 207: /usr/local/cpanel/bin/servers_queue: No such file or directory
chmod: cannot access '/var/cpanel/plugins/xovi/.config/secrets': No such file or directory
dpkg: error processing package cpanel-xovi-plugin (--configure):
installed cpanel-xovi-plugin package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
ea-cpanel-tools
cpanel-xovi-plugin
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/1,641 kB of archives.
After this operation, 0 B of additional disk space will be used.
usermod: no changes
(Reading database ... 178582 files and directories currently installed.)
Preparing to unpack .../alt-python38-pip-wheel_22.2.1-2_all.deb ...
Unpacking alt-python38-pip-wheel (22.2.1-2) over (22.2.1-2) ...
Setting up ea-cpanel-tools (1.0-112+125.1.cpanel) ...
+ '[' -e /usr/bin/apt ']'
+ chmod 0644 /etc/cpanel/ea4/profiles/pkg-manifest.json
chmod: cannot access '/etc/cpanel/ea4/profiles/pkg-manifest.json': No such file or directory
dpkg: error processing package ea-cpanel-tools (--configure):
installed ea-cpanel-tools package post-installation script subprocess returned error exit status 1
Setting up alt-python38-pip-wheel (22.2.1-2) ...
Setting up cpanel-xovi-plugin (1.6.0-2+3.1.cpanel) ...
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 194: /usr/local/cpanel/scripts/run_plugin_lifecycle: No such file or directory
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 196: /usr/local/cpanel/scripts/run_plugin_lifecycle: No such file or directory
Setting up timers to enable cPanel & WHM's SEO UI on server status changes, like license updates.
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 198: /usr/local/cpanel/scripts/setup_systemd_timer_for_plugins: No such file or directory
find: ‘/var/cpanel/plugins/xovi/locale/’: No such file or directory
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 207: /usr/local/cpanel/bin/servers_queue: No such file or directory
chmod: cannot access '/var/cpanel/plugins/xovi/.config/secrets': No such file or directory
dpkg: error processing package cpanel-xovi-plugin (--configure):
installed cpanel-xovi-plugin package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
ea-cpanel-tools
cpanel-xovi-plugin
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/590 kB of archives.
After this operation, 0 B of additional disk space will be used.
usermod: no changes
(Reading database ... 178582 files and directories currently installed.)
Preparing to unpack .../alt-python38-setuptools-wheel_57.4.0-3_all.deb ...
Unpacking alt-python38-setuptools-wheel (57.4.0-3) over (57.4.0-3) ...
Setting up ea-cpanel-tools (1.0-112+125.1.cpanel) ...
+ '[' -e /usr/bin/apt ']'
+ chmod 0644 /etc/cpanel/ea4/profiles/pkg-manifest.json
chmod: cannot access '/etc/cpanel/ea4/profiles/pkg-manifest.json': No such file or directory
dpkg: error processing package ea-cpanel-tools (--configure):
installed ea-cpanel-tools package post-installation script subprocess returned error exit status 1
Setting up alt-python38-setuptools-wheel (57.4.0-3) ...
Setting up cpanel-xovi-plugin (1.6.0-2+3.1.cpanel) ...
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 194: /usr/local/cpanel/scripts/run_plugin_lifecycle: No such file or directory
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 196: /usr/local/cpanel/scripts/run_plugin_lifecycle: No such file or directory
Setting up timers to enable cPanel & WHM's SEO UI on server status changes, like license updates.
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 198: /usr/local/cpanel/scripts/setup_systemd_timer_for_plugins: No such file or directory
find: ‘/var/cpanel/plugins/xovi/locale/’: No such file or directory
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 207: /usr/local/cpanel/bin/servers_queue: No such file or directory
chmod: cannot access '/var/cpanel/plugins/xovi/.config/secrets': No such file or directory
dpkg: error processing package cpanel-xovi-plugin (--configure):
installed cpanel-xovi-plugin package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
ea-cpanel-tools
cpanel-xovi-plugin
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/12.7 kB of archives.
After this operation, 0 B of additional disk space will be used.
usermod: no changes
(Reading database ... 178582 files and directories currently installed.)
Preparing to unpack .../alt-python38_3.8.15-1_amd64.deb ...
Unpacking alt-python38 (3.8.15-1) over (3.8.15-1) ...
Setting up ea-cpanel-tools (1.0-112+125.1.cpanel) ...
+ '[' -e /usr/bin/apt ']'
+ chmod 0644 /etc/cpanel/ea4/profiles/pkg-manifest.json
chmod: cannot access '/etc/cpanel/ea4/profiles/pkg-manifest.json': No such file or directory
dpkg: error processing package ea-cpanel-tools (--configure):
installed ea-cpanel-tools package post-installation script subprocess returned error exit status 1
Setting up alt-python38 (3.8.15-1) ...
Setting up cpanel-xovi-plugin (1.6.0-2+3.1.cpanel) ...
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 194: /usr/local/cpanel/scripts/run_plugin_lifecycle: No such file or directory
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 196: /usr/local/cpanel/scripts/run_plugin_lifecycle: No such file or directory
Setting up timers to enable cPanel & WHM's SEO UI on server status changes, like license updates.
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 198: /usr/local/cpanel/scripts/setup_systemd_timer_for_plugins: No such file or directory
find: ‘/var/cpanel/plugins/xovi/locale/’: No such file or directory
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 207: /usr/local/cpanel/bin/servers_queue: No such file or directory
chmod: cannot access '/var/cpanel/plugins/xovi/.config/secrets': No such file or directory
dpkg: error processing package cpanel-xovi-plugin (--configure):
installed cpanel-xovi-plugin package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
ea-cpanel-tools
cpanel-xovi-plugin
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/1,145 kB of archives.
After this operation, 0 B of additional disk space will be used.
usermod: no changes
(Reading database ... 178582 files and directories currently installed.)
Preparing to unpack .../alt-sqlite_3.45.2-2_amd64.deb ...
Unpacking alt-sqlite (3.45.2-2) over (3.45.2-2) ...
Setting up ea-cpanel-tools (1.0-112+125.1.cpanel) ...
+ '[' -e /usr/bin/apt ']'
+ chmod 0644 /etc/cpanel/ea4/profiles/pkg-manifest.json
chmod: cannot access '/etc/cpanel/ea4/profiles/pkg-manifest.json': No such file or directory
dpkg: error processing package ea-cpanel-tools (--configure):
installed ea-cpanel-tools package post-installation script subprocess returned error exit status 1
Setting up alt-sqlite (3.45.2-2) ...
Setting up cpanel-xovi-plugin (1.6.0-2+3.1.cpanel) ...
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 194: /usr/local/cpanel/scripts/run_plugin_lifecycle: No such file or directory
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 196: /usr/local/cpanel/scripts/run_plugin_lifecycle: No such file or directory
Setting up timers to enable cPanel & WHM's SEO UI on server status changes, like license updates.
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 198: /usr/local/cpanel/scripts/setup_systemd_timer_for_plugins: No such file or directory
find: ‘/var/cpanel/plugins/xovi/locale/’: No such file or directory
/var/lib/dpkg/info/cpanel-xovi-plugin.postinst: line 207: /usr/local/cpanel/bin/servers_queue: No such file or directory
chmod: cannot access '/var/cpanel/plugins/xovi/.config/secrets': No such file or directory
dpkg: error processing package cpanel-xovi-plugin (--configure):
installed cpanel-xovi-plugin package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.35-0ubuntu3.11) ...
Errors were encountered while processing:
ea-cpanel-tools
cpanel-xovi-plugin
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
Hey there! That last line where it says "/usr/bin/dpkg returned an error code" is likely the most important, as this indicates an issue with the package manager on the system.
You may want to try running these commands:
apt clean
apt updateto see if that takes care of things. If not, I would expect those to give more specific errors.
Ultimately, it may be best to try the cPanel installation on a new installation to ensure there are no problems in the future.
0
Please sign in to leave a comment.
Comments
1 comment