Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with PHP5.6 and its additional modules installation on ubuntu 22.04 #31

Open
Sura-AE opened this issue Jul 30, 2024 · 0 comments

Comments

@Sura-AE
Copy link

Sura-AE commented Jul 30, 2024

I am trying to use MolProbity in docking (haddock2.4). PHP needed to be installed, and I downloaded version 5.6 on Ubuntu 22.04 using github ( #13 ) on Ubuntu 22.04. After following the instructions in the README, I found a couple of issues.

  • dpkg: warning: unable to delete old directory '/var/lib/ubuntu-advantage': Directory not empty
    dpkg: warning: unable to delete old directory '/etc/ubuntu-advantage': Directory not empty

Also I am getting

Setting up snapd (2.63+22.04) ...
Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ...
snapd.failure.service is a disabled or a static unit not running, not starting it.
snapd.snap-repair.service is a disabled or a static unit not running, not starting it.
Failed to restart snapd.mounts-pre.target: Operation refused, unit snapd.mounts-pre.target may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status snapd.mounts-pre.target' for details.
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142.

Afterwards, install additional PHP5.6 modules like MySQL, Curl, GD, OPCACHE, XML, etc using the command line below.

(base) sura@DESKTOP-AUQVN3U:~/software$ apt-get install php5.6-gd php5.6-mysql php5.6-imap php5.6-curl
php5.6-intl php5.6-pspell php5.6-recode php5.6-sqlite3 php5.6-tidy
php5.6-xmlrpc php5.6-xsl php5.6-zip php5.6-mbstring php5.6-soap
php5.6-opcache libicu65 php5.6-common php5.6-json php5.6-readline
php5.6-xml libapache2-mod-php5.6 php5.6-cli

I am getting

Creating config file /etc/php/5.6/mods-available/imap.ini with new version
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libapache2-mod-php5.6 (5.6.40-77+ubuntu22.04.1+deb.sury.org+1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic linkProcessing triggers for php5.6-cli (5.6.40-77+ubuntu22.04.1+deb.sury.org+1) ...
php5.6-intl: command not found
php5.6-xmlrpc: command not found
php5.6-opcache: command not found
php5.6-xml: command not found

Please can you help me to understand if I did something wrong and how can I deal with these issues?
Install steps are attached within the file,

sura@DESKTOP-AUQVN3U ~software.txt

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant