Problems with installing acpu and Redis on ubuntu 18.04

Hi dear Hestia CP people,

I have been stuck on some relatively old server iich runs php 5.6 and ubuntu 18.04.

Problem is that I can not install apcu or Redis modules to do some caching. I would need them desperately to get time to upgrade the system to more modern version. Server is running latest Hestia

When I try to install acpu:

sudo apt install php-apcu
Reading package lists… Done
Building dependency tree
Reading state information… Done
php-apcu is already the newest version (5.1.9+4.0.11-1build1).
The following packages were automatically installed and are no longer required:
libicu64 linux-image-4.15.0-62-generic linux-modules-4.15.0-60-generic
linux-modules-4.15.0-62-generic linux-modules-extra-4.15.0-62-generic php7.3-imap php7.3-ldap
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
root@jmtech:~#
php -m
[PHP Modules]
bcmath
bz2
calendar

so no module loaded. php.ini says acpu.ini is loaded

I have installed Redis for more modern Hestia CP panel which runs also nginx phpfpm earlier and remeber to have had also then some problems but I have unfortunately forgotten where notes how I resolved it and bash history don’t go so deep on that server :frowning:

So apt need possibly a new source? Or could some dependencies also help with this issue?

BRgds,
Viperzer0

Ubuntu 18.04 are out of support

1 Like

Thank You Eris,

Oops, I have been pretty sick constantly for nearly a year and this deadline (too) has slipped my mind. Next problem will be updating live ubuntu bionic 18.04 LTS to at least 20.04 LTS. Does anyone have useful links to do it properly? I can make a full server back up but wan’t to minimize downtime because the server has web server which serves live sites, though only for about thousand visitors a day.

I must Thank You all the devs and contributors for this great Cpanel and all the work you have made. I must convince my Uncle Scrooge Boss again to give you a donation when I get fysically back to workplace :wink: (just kidding, no fysical force needed).

Brgds,
Viperzer0

I answer my own question.

  1. To be on the safe side I will take a snapshot from the server.

  2. Copy essential .conf files like nginx. Also php.ini my.cnf etc.

  3. Then update current system to the latest and run upgrade without -y swithch and I don’t owerwrite config files which have hestia or our changes made.

  4. Cross my fingers and hopefully then after succesfull installation install redis & acpu.

Have a happy summer all!

Brgds,
Viperzer0

Hi,

this solution did not work as expected and do noot know why. Here is what I got:

#sudo do-release-upgrade --allow-third-party

Reading cache

Checking package manager
Reading package lists… Done
Building dependency tree
Reading state information… Done
Hit https://apt.hestiacp.com bionic InRelease
Ign https://apt.datadoghq.com stable InRelease
Hit Index of /ondrej/nginx-mainline/ubuntu bionic InRelease
Hit Index of /ubuntu bionic-security InRelease
Hit https://apt.datadoghq.com stable Release
Hit Index of /ubuntu xenial InRelease
Hit Index of /ubuntu xenial-security InRelease
Hit Index of /ondrej/php/ubuntu bionic InRelease
Hit mirror - MvA bionic InRelease
Ign Index of /ubuntu eoan InRelease
Get:1 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [99 B]
Ign Index of /ubuntu eoan-updates InRelease
Hit Index of /ubuntu bionic InRelease
Hit Index of /ubuntu bionic-backports InRelease
Ign Index of /ubuntu eoan-security InRelease
Ign Index of /ubuntu eoan-backports InRelease
Hit Index of /ubuntu xenial InRelease
Err Index of /ubuntu eoan Release
404 Not Found [IP: 141.30.62.24 80]
Get:2 Index of /ubuntu bionic-updates InRelease [88.7 kB]
Hit Index of /packages/mainline/ubuntu/ bionic InRelease
Err Index of /ubuntu eoan-updates Release
404 Not Found [IP: 141.30.62.24 80]
Err Index of /ubuntu eoan-security Release
404 Not Found [IP: 141.30.62.24 80]
Get:3 Index of /ubuntu/ xenial-updates InRelease [99.8 kB]
Err Index of /ubuntu eoan-backports Release
404 Not Found [IP: 141.30.62.24 80]
Get:4 Index of /ubuntu xenial-backports InRelease [97.4 kB]
Fetched 286 kB in 0s (0 B/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done

Checking for installed snaps

Calculating snap size requirements
No candidate ver: php7.3-imap
No candidate ver: php7.3-ldap
No candidate ver: php7.4-apcu
No candidate ver: php7.4-apcu-bc
No candidate ver: php8.1-apcu

Updating repository information

Third party sources disabled

Some third party entries in your sources.list were disabled. You can
re-enable them after the upgrade with the ‘software-properties’ tool
or your package manager.

To continue please press [ENTER]

Hit https://apt.hestiacp.com bionic InRelease
Hit Index of /ubuntu xenial InRelease
Ign https://apt.datadoghq.com stable InRelease
Hit https://apt.datadoghq.com stable Release
Hit Index of /packages/mainline/ubuntu/ bionic InRelease
Hit Index of /ubuntu focal-security InRelease
Hit Index of /ondrej/nginx-mainline/ubuntu focal InRelease
Hit Index of /ubuntu xenial-security InRelease
Hit mirror - MvA bionic InRelease
Hit Index of /ondrej/php/ubuntu focal InRelease
Get:1 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [99 B]
Hit Index of /ubuntu xenial-updates InRelease
Hit Index of /ubuntu xenial-backports InRelease
Hit Index of /ubuntu/ xenial InRelease
Fetched 99 B in 0s (0 B/s)

Checking package manager
Reading package lists… Done
Building dependency tree
Reading state information… Done

Invalid package information

After updating your package information, the essential package
‘ubuntu-minimal’ could not be located. This may be because you have
no official mirrors listed in your software sources, or because of
excessive load on the mirror you are using. See /etc/apt/sources.list
for the current list of configured software sources.
In the case of an overloaded mirror, you may want to try the upgrade
again later.

Restoring original system state

Aborting
g package lists… 0%
*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
Reading package lists… Done
Building dependency tree
Reading state information… Done

=== Command terminated with exit status 1 (Fri Jul 28 10:10:20 2023) ===

so it does not upgrade to next LTS and rolls back to original succefully. Do not know what to try next.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.