I am not able to install phpMyAdmin for php7 on ec2 instance. I got an error when I am trying to install phpMyAdmin.
[root#ip-172-31-12-143 old]# yum -y install phpmyadmin
Loaded plugins: priorities, update-motd, upgrade-helper
1011 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:4.0.10.20-1.el6 will be installed
--> Processing Dependency: php(language) < 7 for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php(language) >= 5.2.17 for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-zlib for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-zip for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-xmlwriter for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-tcpdf-dejavu-sans-fonts for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-tcpdf for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-spl for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-simplexml for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-session for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-php-gettext for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-pcre for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-mysqli for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-mcrypt for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-mbstring for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-libxml for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-json for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-iconv for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-hash for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-gd for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-filter for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-date for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-curl for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-ctype for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-bz2 for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Running transaction check
---> Package php-common.x86_64 0:5.3.29-1.8.amzn1 will be installed
---> Package php-php-gettext.noarch 0:1.0.12-1.el6 will be installed
---> Package php-tcpdf.noarch 0:6.2.13-1.el6 will be installed
--> Processing Dependency: php-tidy for package: php-tcpdf-6.2.13-1.el6.noarch
--> Processing Dependency: php-posix for package: php-tcpdf-6.2.13-1.el6.noarch
--> Processing Dependency: php-composer(fedora/autoloader) for package: php-tcpdf-6.2.13-1.el6.noarch
--> Processing Dependency: php-bcmath for package: php-tcpdf-6.2.13-1.el6.noarch
---> Package php-tcpdf-dejavu-sans-fonts.noarch 0:6.2.13-1.el6 will be installed
---> Package php56-common.x86_64 0:5.6.31-1.134.amzn1 will be installed
--> Processing Dependency: php56-cli(x86-64) = 5.6.31-1.134.amzn1 for package: php56-common-5.6.31-1.134.amzn1.x86_64
--> Processing Dependency: php56-process(x86-64) = 5.6.31-1.134.amzn1 for package: php56-common-5.6.31-1.134.amzn1.x86_64
--> Processing Dependency: php56-jsonc(x86-64) for package: php56-common-5.6.31-1.134.amzn1.x86_64
---> Package php56-gd.x86_64 0:5.6.31-1.134.amzn1 will be installed
---> Package php56-mbstring.x86_64 0:5.6.31-1.134.amzn1 will be installed
---> Package php56-mcrypt.x86_64 0:5.6.31-1.134.amzn1 will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php56-mcrypt-5.6.31-1.134.amzn1.x86_64
--> Processing Dependency: libltdl.so.7()(64bit) for package: php56-mcrypt-5.6.31-1.134.amzn1.x86_64
---> Package php56-mysqlnd.x86_64 0:5.6.31-1.134.amzn1 will be installed
--> Processing Dependency: php56-pdo(x86-64) = 5.6.31-1.134.amzn1 for package: php56-mysqlnd-5.6.31-1.134.amzn1.x86_64
---> Package php56-xml.x86_64 0:5.6.31-1.134.amzn1 will be installed
--> Running transaction check
---> Package libmcrypt.x86_64 0:2.5.8-9.1.2.amzn1 will be installed
---> Package libtool-ltdl.x86_64 0:2.4.2-20.4.8.3.31.amzn1 will be installed
---> Package php-bcmath.x86_64 0:5.3.29-1.8.amzn1 will be installed
---> Package php-fedora-autoloader.noarch 0:1.0.0-1.el6 will be installed
---> Package php-process.x86_64 0:5.3.29-1.8.amzn1 will be installed
---> Package php-tidy.x86_64 0:5.3.29-1.8.amzn1 will be installed
--> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php-tidy-5.3.29-1.8.amzn1.x86_64
---> Package php56-cli.x86_64 0:5.6.31-1.134.amzn1 will be installed
---> Package php56-jsonc.x86_64 0:1.3.6-1.19.amzn1 will be installed
---> Package php56-pdo.x86_64 0:5.6.31-1.134.amzn1 will be installed
---> Package php56-process.x86_64 0:5.6.31-1.134.amzn1 will be installed
--> Running transaction check
---> Package libtidy.x86_64 0:0.99.0-19.20070615.1.4.amzn1 will be installed
--> Processing Conflict: php70-common-7.0.21-1.23.amzn1.x86_64 conflicts php-common < 5.5.22-1.98
--> Processing Conflict: php56-process-5.6.31-1.134.amzn1.x86_64 conflicts php-process < 5.5.22-1.98
--> Processing Conflict: php56-common-5.6.31-1.134.amzn1.x86_64 conflicts php-common < 5.5.22-1.98
--> Finished Dependency Resolution
Error: php70-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
Error: php56-process conflicts with php-process-5.3.29-1.8.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Actual error is
Error: php70-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
Error: php56-process conflicts with php-process-5.3.29-1.8.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Try this:
yum --enablerepo=remi install phpMyAdmin
If you want to access your phpMyAdmin outside of local environment then edit file /etc/httpd/conf.d/phpMyAdmin.conf to allow access.
Related
the following error occurred when installing the ffmpeg library. I found several methods on the Internet, but I couldn't solve it. Post it, I hope everyone can help, thank you very much!
[root#localhost asterisk-14.2.0]# yum install ffmpeg
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.cn99.com
* epel: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.cqu.edu.cn
* linuxtech-release: pkgrepo.linuxtech.net
* updates: mirrors.tuna.tsinghua.edu.cn
Resolving dependencies
--> Checking transaction
---> Package ffmpeg.x86_64.0.1.1.5-2.el6 will be installed
--> Processing dependency libswscale.so.2(LIBSWSCALE_2)(64bit), which is required by package ffmpeg-1.1.5-2.el6.x86_64
--> Processing dependency libswresample.so.0(LIBSWRESAMPLE_0)(64bit), which is required by package ffmpeg-1.1.5-2.el6.x86_64
--> Processing dependency libavcodec.so.54()(64bit), which is required by package ffmpeg-1.1.5-2.el6.x86_64
--> Checking transaction
---> Package ffmpeg-libs_1.1.x86_64.0.1.1.5-2.el6 will be installed
--> Processing dependency libgnutls.so.26()(64bit), which is required by package librtmp-2.3-3.el6.x86_64
--> Resolve dependencies complete
Error: Package: ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release)
Requires: libgnutls.so.26(GNUTLS_1_4)(64bit)
Error: Package: ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release)
Required: libopenjpeg.so.2() (64bit)
Error: Package: ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release)
Required: libcdio_cdda.so.0(CDIO_CDDA_0)(64bit)
Error: Package: librtmp-2.3-3.el6.x86_64 (linuxtech-release)
Requires: libgnutls.so.26(GNUTLS_1_4)(64bit)
Error: Package: ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release)
Required: libcdio_paranoia.so.0(CDIO_PARANOIA_0)(64bit)
Error: Package: ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release)
Required: libcdio_cdda.so.0() (64bit)
Error: Package: ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release)
Required: libcv.so.2.0() (64bit)
Error: Package: ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release)
Required: libgnutls.so.26() (64bit)
Error: Package: librtmp-2.3-3.el6.x86_64 (linuxtech-release)
Required: libgnutls.so.26() (64bit)
Error: Package: ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release)
Required: libcdio_paranoia.so.0() (64bit)
Error: Package: ffmpeg-libs_1.1-1.1.5-2.el6.x86_64 (linuxtech-release)
Required: libcxcore.so.2.0() (64bit)
You can try adding --skip-broken option to fix that
您可以尝试执行:rpm -Va --nofiles --nodigest
I also encountered this problem before, I solved it by using the following command, you can try it
sudo yum --skip-broken update
sudo yum clean all
sudo yum install
I am trying to install Oracle Database Express Edition (XE) Release 18.4.0.0.0 (18c) on Ubuntu 14.04 (Linux) using yum and receive the following errors:
~/my_oracle# yum localinstall oracle-database-xe-18c-1.0-1.x86_64.rpm
Setting up Local Package Process
Examining oracle-database-xe-18c-1.0-1.x86_64.rpm: oracle-database-xe-18c-1.0-1.x86_64
Marking oracle-database-xe-18c-1.0-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-xe-18c.x86_64 0:1.0-1 will be installed
--> Processing Dependency: file for package: oracle-database-xe-18c-1.0-1.x86_64
--> Processing Dependency: net-tools for package: oracle-database-xe-18c-1.0-1.x86_64
--> Processing Dependency: oracle-database-preinstall-18c for package: oracle-database-xe-18c-1.0-1.x86_64
--> Processing Dependency: /bin/sh for package: oracle-database-xe-18c-1.0-1.x86_64
--> Processing Dependency: /bin/sh for package: oracle-database-xe-18c-1.0-1.x86_64
--> Processing Dependency: /bin/sh for package: oracle-database-xe-18c-1.0-1.x86_64
--> Processing Dependency: /bin/sh for package: oracle-database-xe-18c-1.0-1.x86_64
--> Processing Dependency: /bin/sh for package: oracle-database-xe-18c-1.0-1.x86_64
--> Processing Dependency: /bin/sh for package: oracle-database-xe-18c-1.0-1.x86_64
--> Processing Dependency: /bin/sh for package: oracle-database-xe-18c-1.0-1.x86_64
--> Processing Dependency: /bin/sh for package: oracle-database-xe-18c-1.0-1.x86_64
--> Finished Dependency Resolution
Error: Package: oracle-database-xe-18c-1.0-1.x86_64 (/oracle-database-xe-18c-1.0-1.x86_64)
Requires: file
Error: Package: oracle-database-xe-18c-1.0-1.x86_64 (/oracle-database-xe-18c-1.0-1.x86_64)
Requires: net-tools
Error: Package: oracle-database-xe-18c-1.0-1.x86_64 (/oracle-database-xe-18c-1.0-1.x86_64)
Requires: oracle-database-preinstall-18c
Error: Package: oracle-database-xe-18c-1.0-1.x86_64 (/oracle-database-xe-18c-1.0-1.x86_64)
Requires: /bin/sh
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Just trying to follow instructions and unfortunately to no avail.
I am using these instructions here:
https://docs.oracle.com/en/database/oracle/oracle-database/18/xeinl/procedure-installing-oracle-database-xe.html
Oracle 18c XE edition does not support Ubuntu but you can install 12c or 11g.Lastly be careful when trying install rpms because ubuntu package management system is not rpm. You can use alien and convert rpm to deb but it's not efficient.Oracle 18c supports CentOS, Red Hat,SUSE linux distros.
https://docs.oracle.com/en/database/oracle/oracle-database/18/ladbi/operating-system-requirements-for-x86-64-linux-platforms.html#GUID-3F647617-7FF5-4EE4-BBA8-9A5E3EEC888F
Well, I don't think Oracle really supports Ubuntu. The errors say that you are missing some other packages (file, net-tools, oracle-database-preinstall-18c and strangely enough /bin/sh), so on a Red Hat based system you could simply let yum install them. My advice would be to switch to CentOS or another Red Hat based OS if you can.
If not, see for example https://askubuntu.com/questions/1095737/how-to-install-oracle-18c-xe-rpm-package-on-ubuntu-18-04 which recommends installing alien and using it to convert the rpm to a deb file, which can be installed by the native package manager. I haven't tried it personally with XE 18, but it worked with XE 11.
you will need to convert RPM into Deb package with this command:
alien --script oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
alien --script oracle-database-xe-18c-1.0–1.x86_64.rpm
Oracle 18c XE installation on Debian 10 (Buster)
I am setting up a new instance and trying to install php-imap on it with no luck.
I am using: sudo yum install php-imap
And getting the following output:
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00
amzn-updates | 2.5 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php-imap.x86_64 0:5.3.29-1.8.amzn1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.29-1.8.amzn1 for package: php-imap-5.3.29-1.8.amzn1.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.29-1.8.amzn1 will be installed
--> Processing Conflict: php72-common-7.2.13-1.7.amzn1.x86_64 conflicts php-common < 5.5.22-1.98
--> Finished Dependency Resolution
Error: php72-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Anyone have been able to install it on Amazon Linux (free tier) with Php version 7.2.13?
I am installing puppet agent 3.8.7 on cent OS 7.5. The OS was installed on a new VM and it is not connected to internet. I have created a yum repo which points to pulp repository. Below are the contents of my yum repo for puppet -
[root#server --- ~]# cat /etc/yum.repos.d/puppetlabs.repo
[puppetlabs-products]
name=Puppet Labs Products El 7 - $basearch
baseurl=http://136.243.83.142/pulp/repos/puppetlabs-products-el6
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppet
enabled=1
gpgcheck=1
[puppetlabs-deps]
name=Puppet Labs Dependencies El 7 - $basearch
baseurl=http://136.243.83.142/pulp/repos/puppetlabs-deps-el6/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppet
enabled=1
gpgcheck=1
when I run 'yum install puppet', I get below error. I have ruby 2.0 installed but the puppet packages reuquire ruby 1.8. When I checked the puppetlabs site, they mention puppet supports ruby 2.0. So, how do I proceed now, given the fact that my server is in internal domain and not connected to internet.
Below is the error I get on executing 'yum install puppet' -
[root#server --- ~]# yum install puppet
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel | 2.5 kB 00:00:00
puppetlabs-deps | 1.8 kB 00:00:00
puppetlabs-products | 1.8 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package puppet.noarch 0:3.8.7-1.el6 will be installed
--> Processing Dependency: hiera >= 1.0.0 for package: puppet-3.8.7-1.el6.noarch
--> Processing Dependency: facter >= 1:1.7.0 for package: puppet-3.8.7-1.el6.noarch
--> Processing Dependency: ruby(selinux) for package: puppet-3.8.7-1.el6.noarch
--> Processing Dependency: ruby-augeas for package: puppet-3.8.7-1.el6.noarch
--> Processing Dependency: ruby-shadow for package: puppet-3.8.7-1.el6.noarch
--> Running transaction check
---> Package facter.x86_64 1:2.4.6-1.el6 will be installed
---> Package hiera.noarch 0:1.3.4-1.el6 will be installed
---> Package puppet.noarch 0:3.8.7-1.el6 will be installed
--> Processing Dependency: ruby(selinux) for package: puppet-3.8.7-1.el6.noarch
---> Package ruby-augeas.x86_64 0:0.4.1-3.el6 will be installed
--> Processing Dependency: ruby(abi) = 1.8 for package: ruby-augeas-0.4.1-3.el6.x86_64
--> Processing Dependency: libruby.so.1.8()(64bit) for package: ruby-augeas-0.4.1-3.el6.x86_64
---> Package ruby-shadow.x86_64 1:2.2.0-2.el6 will be installed
--> Processing Dependency: libruby.so.1.8()(64bit) for package: 1:ruby-shadow-2.2.0-2.el6.x86_64
--> Finished Dependency Resolution
Error: Package: puppet-3.8.7-1.el6.noarch (puppetlabs-products)
Requires: ruby(selinux)
Error: Package: ruby-augeas-0.4.1-3.el6.x86_64 (puppetlabs-deps)
Requires: libruby.so.1.8()(64bit)
Error: Package: 1:ruby-shadow-2.2.0-2.el6.x86_64 (puppetlabs-deps)
Requires: libruby.so.1.8()(64bit)
Error: Package: ruby-augeas-0.4.1-3.el6.x86_64 (puppetlabs-deps)
Requires: ruby(abi) = 1.8
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I'm trying to get Nuget installed on an Amazon Linux image. My goal is to do some research with the AWS .NET SDK that has some support for .netcore.
I have tried three (On a fresh instance each attempt) primary installation methods.
1 - Install .netcore then compile Nuget from source.
I installed .netcore successfully following the directions here although I modified (my changes are in bold) how the updates to the path are persisted by using these steps:
# sudo yum install libunwind libicu -y
# curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?LinkID=835019
# sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
**# echo 'pathmunge /opt/dotnet' > /etc/profile.d/dotnetcore.sh**
**# chmod +x /etc/profile.d/dotnetcore.sh**
**# . /etc/profile**
I then cloned the Nuget code from here https://github.com/NuGet/NuGet.Client and ran build.sh which completed successfully but did not create an artifacts subdirectory with a Nuget executable. This method was only meant to install the NuGet CLI - not the package manager - but installed neither. Only the CLI is supported on Linux according to this site: https://docs.nuget.org/ndocs/guides/install-nuget ("The NuGet CLI is the command-line utility that works on Windows, Mac OS X, and Linux and supports all NuGet capabilities.")
2 - Install Mono and run "yum install nuget"
I successfully installed Mono by executing these steps:
# sudo yum -y install cmake bison gettext glib2 freetype fontconfig libpng
libpng-devel libX11 libX11-devel glib2-devel libexif glibc-devel
urw-fonts java
unzip gcc gcc-c++ automake autoconf libtool make bzip2 wget
# cd /usr/local/src
# sudo wget http://download.mono-project.com/sources/mono/mono-4.8.0.382.tar.bz2
# sudo tar jxf mono-4.8.0.382.tar.bz2
# cd mono-4.8.0
# sudo ./configure --prefix=/opt/mono
# sudo make
# sudo make install
After mono was installed and tested I added some repos with the following commands:
# rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
# yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
# yum-config-manager --add-repo http://download.mono-project.com/repo/centos-nightly/
I received a dependency error when I ran the yum install nuget command, the results:
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest
amzn-updates/latest
Resolving Dependencies
--> Running transaction check
---> Package nuget.noarch 0:2.12+mono-0.xamarin.1 will be installed
--> Processing Dependency: mono(Microsoft.Build.Engine) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(System.ServiceModel) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(Microsoft.Build.Framework) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(System.Xml.Linq) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(System.Runtime.Serialization) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(WindowsBase) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(Microsoft.CSharp) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(System.ComponentModel.DataAnnotations) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(Microsoft.Build) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(System.Security) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(System.ComponentModel.Composition) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(mscorlib) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(System) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(System.Core) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(System.Xml) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Processing Dependency: mono(System.Data.Services.Client) = 4.0.0.0 for package: nuget-2.12+mono-0.xamarin.1.noarch
--> Running transaction check
---> Package mono-core.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
--> Processing Dependency: mono(System.ServiceProcess) = 4.0.0.0 for package: mono-core-4.9.0.1028-0.nightly.1.x86_64
--> Processing Dependency: libgdiplus0 for package: mono-core-4.9.0.1028-0.nightly.1.x86_64
---> Package mono-data.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
---> Package mono-devel.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
--> Processing Dependency: mono-data-oracle = 4.9.0.1028 for package: mono-devel-4.9.0.1028-0.nightly.1.x86_64
--> Processing Dependency: mono-winforms = 4.9.0.1028 for package: mono-devel-4.9.0.1028-0.nightly.1.x86_64
--> Processing Dependency: libgdiplus-devel for package: mono-devel-4.9.0.1028-0.nightly.1.x86_64
--> Processing Dependency: libmonosgen-2.0.so.1()(64bit) for package: mono-devel-4.9.0.1028-0.nightly.1.x86_64
---> Package mono-wcf.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
--> Processing Dependency: mono(System.Web.Extensions) = 4.0.0.0 for package: mono-wcf-4.9.0.1028-0.nightly.1.x86_64
---> Package mono-web.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
--> Processing Dependency: mono(Mono.Data.Sqlite) = 4.0.0.0 for package: mono-web-4.9.0.1028-0.nightly.1.x86_64
---> Package mono-winfxcore.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
--> Running transaction check
---> Package libgdiplus-devel.x86_64 0:3.12-1 will be installed
---> Package libgdiplus0.x86_64 0:3.12-1 will be installed
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: libgdiplus0-3.12-1.x86_64
--> Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: libgdiplus0-3.12-1.x86_64
--> Processing Dependency: libtiff.so.5()(64bit) for package: libgdiplus0-3.12-1.x86_64
--> Processing Dependency: libcairo.so.2()(64bit) for package: libgdiplus0-3.12-1.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: libgdiplus0-3.12-1.x86_64
---> Package libmonosgen-2_0-1.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
---> Package mono-data-oracle.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
---> Package mono-data-sqlite.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
---> Package mono-extras.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
---> Package mono-mvc.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
---> Package mono-winforms.x86_64 0:4.9.0.1028-0.nightly.1 will be installed
--> Running transaction check
---> Package cairo.x86_64 0:1.12.14-6.8.amzn1 will be installed
--> Processing Dependency: libpixman-1.so.0()(64bit) for package: cairo-1.12.14-6.8.amzn1.x86_64
---> Package libgdiplus0.x86_64 0:3.12-1 will be installed
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: libgdiplus0-3.12-1.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: libgdiplus0-3.12-1.x86_64
---> Package libtiff.x86_64 0:4.0.3-25.27.amzn1 will be installed
--> Processing Dependency: libjbig.so.2.0()(64bit) for package: libtiff-4.0.3-25.27.amzn1.x86_64
--> Running transaction check
---> Package jbigkit-libs.x86_64 0:2.0-11.4.amzn1 will be installed
---> Package libgdiplus0.x86_64 0:3.12-1 will be installed
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: libgdiplus0-3.12-1.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: libgdiplus0-3.12-1.x86_64
---> Package pixman.x86_64 0:0.32.4-4.11.amzn1 will be installed
--> Finished Dependency Resolution
**Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)**
**Requires: libpng15.so.15()(64bit)**
**Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)**
**Requires: libpng15.so.15(PNG15_0)(64bit)**
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried re-installing with the --skip-broken command but nuget did not install.
At this point I tried to manually update the Libpng packages by building the latest Libpng code from here http://www.libpng.org/pub/png/libpng.html
At this point I am begining to reach the limit of my linux abilities. I was able to successfull build the libpng with
./configure
make
make install
But I am not certain the libraries where updated OR if I just now have TWO versions of libpng. I am not certain how to see which version is being used by Yum.
3 - Install .net core then run "yum install nuget"
I get the exact same error that I received in attempt #2.
Just ran on the same issue, was able to resolve it by installing manually libpng. If you are on the same environment now, at first delete current libpng.
yum remove libpng
After that you can do this in the way:
mkdir -p /tmp/dependencies
cd /tmp/dependencies
wget https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/l/libpng15-1.5.28-2.fc26.x86_64.rpm
yum install -y libpng15-1.5.28-2.fc26.x86_64.rpm
yum install -y yum-utils
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
yum clean all
yum makecache
yum install -y mono-complete nuget
cd
rm -rf /tmp/dependencies
NOTE: Make sure also you have enabled EPEL on machine.
Also could be that you didn't succeed because you didn't clear yum cache dependency.