PHP GD install issue - linux

When I try to insatll PHP GD on linux I get the below error
Error: Package: php-gd-7.3.33-1.el7.remi.x86_64 (remi-php73)
Requires: libgd.so.3()(64bit)
I tried to install lib gd with the command sudo yum install libgd.so.3
but I got error
rhel-7-server-supplementary-rpms | 2.0 kB 00:00:00
No package libgd.so.3 available.
Can anyone please help on this ?
Full yum command
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-optional-rpms | 2.0 kB 00:00:00
rhel-7-server-rh-common-rpms | 2.1 kB 00:00:00
rhel-7-server-rpms | 2.0 kB 00:00:00
rhel-7-server-supplementary-rpms | 2.0 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package php-gd.x86_64 0:7.3.33-1.el7.remi will be installed
--> Processing Dependency: gd-last(x86-64) >= 2.1.1 for package: php-gd-7.3.33-1.el7.remi.x86_64
--> Processing Dependency: libgd.so.3()(64bit) for package: php-gd-7.3.33-1.el7.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-gd-7.3.33-1.el7.remi.x86_64 (remi-php73)
Requires: libgd.so.3()(64bit)
Error: Package: php-gd-7.3.33-1.el7.remi.x86_64 (remi-php73)
Requires: gd-last(x86-64) >= 2.1.1
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: php-gd-7.3.33-1.el7.remi.x86_64 (remi-php73)
Requires: libgd.so.3()(64bit)
Error: Package: php-gd-7.3.33-1.el7.remi.x86_64 (remi-php73)
Requires: gd-last(x86-64) >= 2.1.1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, subscription-manager

For a proper repository configuration please follow the Wizard instructions
It looks like the remi-safe repository is not enabled (it should, on default provided configuration)
# yum install php-gd
=================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================
Installing:
php-gd x86_64 7.3.33-1.el7.remi remi-php73 85 k
Installing for dependencies:
gd-last x86_64 2.3.3-2.el7.remi remi-safe 138 k
Transaction Summary
=================================================================================================================================
Install 1 Package (+1 Dependent package)
Total download size: 223 k
Installed size: 625 k
Is this ok [y/d/N]:

Related

Amazon Linux dependency error on yum update

When running:
sudo yum update
I get:
Loaded plugins: amzn_workspaces_filter_updates, halt_os_update_check, priorities, update-motd
remi-php74 | 3.0 kB 00:00:00
18186 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package python-s3transfer.noarch 0:0.1.13-1.0.1.el7 will be obsoleting
---> Package python2-s3transfer.noarch 0:0.3.3-1.amzn2.0.1 will be obsoleted
--> Processing Dependency: python2-s3transfer for package: awscli-1.18.147-1.amzn2.0.1.noarch
--> Processing Dependency: python2-s3transfer >= 0.3.0 for package: python2-boto3-1.15.6-1.amzn2.0.1.noarch
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried "rpm -Va --nofiles --nodigest", but doesn't change anything (yum update throws the same response).
If I try:
sudo yum update --skip-broken
I get:
Loaded plugins: amzn_workspaces_filter_updates, halt_os_update_check, priorities, update-motd
amzn2-core | 3.7 kB 00:00:00
firefox | 2.9 kB 00:00:00
workspaces-internal-dependencies | 2.2 kB 00:00:00
18186 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package python-s3transfer.noarch 0:0.1.13-1.0.1.el7 will be obsoleting
---> Package python2-s3transfer.noarch 0:0.3.3-1.amzn2.0.1 will be obsoleted
--> Processing Dependency: python2-s3transfer for package: awscli-1.18.147-1.amzn2.0.1.noarch
--> Processing Dependency: python2-s3transfer >= 0.3.0 for package: python2-boto3-1.15.6-1.amzn2.0.1.noarch
Packages skipped because of dependency problems:
python-s3transfer-0.1.13-1.0.1.el7.noarch from ol7_latest
I am not a Linux expert, and I do not know how to get past this error. What should I remove or add and how?

Problem on installing phpmyadmin on centos 7

I have deleted my phpmyadmin by mistake while updating to php version 7.3
Now when i tried to install it back using this command sudo yum install phpmyadmin it is not installing I'm getting this response:
--> Processing Dependency: php-simplexml for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
--> Processing Dependency: php-recode for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
--> Processing Dependency: php-mbstring for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
--> Running transaction check
---> Package php-mbstring.x86_64 0:7.3.17-1.el7.remi will be installed
--> Processing Dependency: libonig.so.5()(64bit) for package: php-mbstring-7.3.17-1.el7.remi.x86_64
---> Package php-recode.x86_64 0:7.3.17-1.el7.remi will be installed
--> Processing Dependency: librecode.so.0()(64bit) for package: php-recode-7.3.17-1.el7.remi.x86_64
---> Package php-xml.x86_64 0:7.3.17-1.el7.remi will be installed
---> Package phpMyAdmin49.noarch 0:4.9.3-1.el7.ius will be installed
--> Processing Dependency: php-zip for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
Package php73-common-7.3.16-1.el7.ius.x86_64 is obsoleted by php-common-7.3.17-1.el7.remi.x86_64 which is already installed
--> Running transaction check
---> Package oniguruma5.x86_64 0:6.9.4-1.el7.remi will be installed
---> Package phpMyAdmin49.noarch 0:4.9.3-1.el7.ius will be installed
--> Processing Dependency: php-zip for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
Package php73-common-7.3.16-1.el7.ius.x86_64 is obsoleted by php-common-7.3.17-1.el7.remi.x86_64 which is already installed
---> Package recode.x86_64 0:3.6-38.el7 will be installed
--> Finished Dependency Resolution
Error: Package: phpMyAdmin49-4.9.3-1.el7.ius.noarch (ius)
Requires: php-zip
Available: php-common-5.4.16-46.el7.x86_64 (base)
php-zip
Available: php-common-5.4.16-46.1.el7_7.x86_64 (updates)
php-zip
Available: php-pecl-zip-1.18.1-1.el7.remi.5.6.x86_64 (remi-php56)
php-zip = 1:1.18.1-1.el7.remi.5.6
Available: php-pecl-zip-1.18.1-1.el7.remi.7.3.x86_64 (remi-php73)
php-zip = 1:1.18.1-1.el7.remi.7.3
Available: php-pecl-zip-1.18.2-1.el7.remi.5.6.x86_64 (remi-php56)
php-zip = 1:1.18.2-1.el7.remi.5.6
Available: php-pecl-zip-1.18.2-1.el7.remi.7.3.x86_64 (remi-php73)
php-zip = 1:1.18.2-1.el7.remi.7.3
Available: php72u-common-7.2.26-1.el7.ius.x86_64 (ius)
php-zip
Available: php72u-common-7.2.27-1.el7.ius.x86_64 (ius)
php-zip
Available: php72u-common-7.2.28-1.el7.ius.x86_64 (ius)
php-zip
Available: php73-common-7.3.14-1.el7.ius.x86_64 (ius)
php-zip
Available: php73-common-7.3.15-1.el7.ius.x86_64 (ius)
php-zip
Available: php73-common-7.3.16-1.el7.ius.x86_64 (ius)
php-zip
Installed: php-common-7.3.17-1.el7.remi.x86_64 (#remi-php73)
Not found
Available: php-common-5.6.40-19.el7.remi.x86_64 (remi-php56)
Not found
Available: php-common-5.6.40-20.el7.remi.x86_64 (remi-php56)
Not found
Available: php-common-7.3.16-1.el7.remi.x86_64 (remi-php73)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
the php version was updated with no problems however the phpmyadmin it's not installing what can i do to get it back?
Don't mixed so much PHP providers, especially; don't mix "IUS" and "Remi".
If you want PHP 7.3, only keep "remi-php73", and you can take phpMyAdmin (5.0.2) from "remi"
yum-config-manager --enable remi-php73
yum-config-manager --disable remi-php56
yum-config-manager --disable ius
yum --enablerepo=remi install phpMyAdmin
As Remi said, don't mix his repository with IUS. Pick one or the other. If you decide to go with IUS, we have phpMyAdmin49 and phpMyAdmin50 packages available. Asking yum to install phpMyAdmin will likely result in it trying to install the EPEL phpMyAdmin package, which is stuck at version 4.4.x to remain compatible with stock PHP 5.4.x.

Error installing dotnet "Requires openssl-libs"

I'm try install dotnet by command for OS Amazon Linux 2 AMI
sudo yum install -y dotnet-sdk-2.1.4
And it show for me:
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00:00
amzn-updates | 2.5 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package dotnet-sdk-2.1.4.x86_64 0:2.1.4-1 will be installed
--> Processing Dependency: dotnet-runtime-2.0.5 >= 2.0.5 for package: dotnet-sdk-2.1.4-2.1.4-1.x86_64
--> Processing Dependency: aspnetcore-store-2.0.5 >= 2.0.5 for package: dotnet-sdk-2.1.4-2.1.4-1.x86_64
--> Running transaction check
---> Package aspnetcore-store-2.0.5.x86_64 0:2.0.5-1 will be installed
--> Processing Dependency: aspnetcore-store-2.0.3 >= 2.0.3 for package: aspnetcore-store-2.0.5-2.0.5-1.x86_64
---> Package dotnet-runtime-2.0.5.x86_64 0:2.0.5-1 will be installed
--> Processing Dependency: openssl-libs for package: dotnet-runtime-2.0.5-2.0.5-1.x86_64
--> Processing Dependency: dotnet-hostfxr-2.0.5 for package: dotnet-runtime-2.0.5-2.0.5-1.x86_64
--> Running transaction check
---> Package aspnetcore-store-2.0.3.x86_64 0:2.0.3-1 will be installed
--> Processing Dependency: aspnetcore-store-2.0.0 >= 2.0.0 for package: aspnetcore-store-2.0.3-2.0.3-1.x86_64
---> Package dotnet-hostfxr-2.0.5.x86_64 0:2.0.5-1 will be installed
--> Processing Dependency: dotnet-host >= 2.0.5 for package: dotnet-hostfxr-2.0.5-2.0.5-1.x86_64
---> Package dotnet-runtime-2.0.5.x86_64 0:2.0.5-1 will be installed
--> Processing Dependency: openssl-libs for package: dotnet-runtime-2.0.5-2.0.5-1.x86_64
--> Running transaction check
---> Package aspnetcore-store-2.0.0.x86_64 0:2.0.0-1 will be installed
---> Package dotnet-host.x86_64 0:2.1.0-1 will be installed
---> Package dotnet-runtime-2.0.5.x86_64 0:2.0.5-1 will be installed
--> Processing Dependency: openssl-libs for package: dotnet-runtime-2.0.5-2.0.5-1.x86_64
--> Finished Dependency Resolution
Error: Package: dotnet-runtime-2.0.5-2.0.5-1.x86_64 (packages-microsoft-com-prod)
Requires: openssl-libs
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I enter
sudo yum list
And i can't found openssl-libs in result.
Also i installed openssl-devel, but result is same.
Update:
I compared the used repositories to another server. There it was installed successfully.
First server repository repository: !amzn-main/latest, os version: "Amazon Linux AMI 2018.03"
Second server repository (with installed dotnet) repository: !amzn2-core/2017.12/x86_64, os version: "Amazon Linux 2 (2017.12) LTS Release Candidate"
I think yum cannot get openssl-libs from repository. How can I install this package?
I ran into a similar issue while installing Powershell. I managed to fake the installation of the latest CentOS package like this:
sudo rpm -ivh https://rpmfind.net/linux/centos/7.9.2009/updates/x86_64/Packages/openssl-libs-1.0.2k-21.el7_9.x86_64.rpm --justdb --force
The --justdb --force added it to the RPM database but without touching the filesystem.

Where do I find the “libgconf-2.so.4()(64bit)” and “xdg-utils” dependneices on Amazon Linux?

I’m using Amazon Linux (cannot change this distro at this time) and trying to install Google Chrome (for purposes of running a Selenium server in headless mode) on our EC2 box. I am getting the below errors. Does anyone know where I can find the “libgconf-2.so.4()(64bit)” and “xdg-utils” dependencies?
davea#mydevbox ~$ sudo yum install google-chrome-stable
sudo password for davea:
Loaded plugins: fastestmirror, priorities, update-motd, upgrade-helper
Loading mirror speeds from cached hostfile
* amzn-main: packages.us-east-1.amazonaws.com
* amzn-updates: packages.us-east-1.amazonaws.com
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:49.0.2623.112-1 will be installed
--> Processing Dependency: xdg-utils for package: google-chrome-stable-49.0.2623.112-1.x86_64
--> Processing Dependency: libgconf-2.so.4()(64bit) for package: google-chrome-stable-49.0.2623.112-1.x86_64
--> Finished Dependency Resolution
Error: Package: google-chrome-stable-49.0.2623.112-1.x86_64 (google-chrome)
Requires: libgconf-2.so.4()(64bit)
Error: Package: google-chrome-stable-49.0.2623.112-1.x86_64 (google-chrome)
Requires: xdg-utils
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
2000:jdk-1.6.0_45-fcs.x86_64 is a duplicate with 2000:jdk-1.6.0_35-fcs.x86_64
2000:jdk-1.6.0_65-fcs.x86_64 is a duplicate with 2000:jdk-1.6.0_45-fcs.x86_64
Thanks, - Dave
yum install libgconf2-4
yum install xdg-utils

Error: Missing Dependency: python >= 2.6 is needed by package ambari-server-1.7.0-169.noarch

While installing ambari server, getting following error and after installing python 2.6 and forming softlink yum stops working.
Please find the error:--
yum install -y ambari-server
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile * base: centos.aol.com *
epel: ftp.wallawalla.edu * extras: ftp.usf.edu * updates:
ftp.ussg.iu.edu Setting up Install Process Resolving Dependencies
--> Running transaction check
---> Package ambari-server.noarch 0:1.7.0-169 set to be updated
--> Processing Dependency: postgresql-server >= 8.1 for package: ambari-server
--> Processing Dependency: python >= 2.6 for package: ambari-server
--> Running transaction check
---> Package ambari-server.noarch 0:1.7.0-169 set to be updated
--> Processing Dependency: python >= 2.6 for package: ambari-server
---> Package postgresql-server.x86_64 0:8.1.23-10.el5_10 set to be updated
--> Processing Dependency: postgresql = 8.1.23-10.el5_10 for package: postgresql-server
--> Running transaction check
---> Package ambari-server.noarch 0:1.7.0-169 set to be updated
--> Processing Dependency: python >= 2.6 for package: ambari-server
---> Package postgresql.x86_64 0:8.1.23-10.el5_10 set to be updated
--> Finished Dependency Resolution ambari-server-1.7.0-169.noarch from
Updates-ambari-1.7.0 has depsolving problems --> Missing Dependency:
python >= 2.6 is needed by package ambari-server-1.7.0-169.noarch
(Updates-ambari-1.7.0) Error: Missing Dependency: python >= 2.6 is
needed by package ambari-server-1.7.0-169.noarch
(Updates-ambari-1.7.0) You could try using --skip-broken to work
around the problem You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest The program package-cleanup is found in the yum-utils package.
CentOS 5 comes with Python 2.4. Either rebuild the packages you are trying to install or use a repo for that version of CentOS.

Resources