I have a fresh centos 7 installation at azure.com and I decided to install a web server, but I'm new with Centos so I decided to follow the Digital Ocean guide How to install MySQL.
The problem is that when I use yum update it throws this error:
Error: Package: 2:postfix-2.6.6-8.el6.x86_64 (#base)
Requires: libmysqlclient.so.16()(64bit)
Removing: mysql-libs-5.1.73-8.el6_8.x86_64 (#updates)
libmysqlclient.so.16()(64bit)
Obsoleted By: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-
community)Not found
Error: Package: mysql-community-libs-compat-5.7.19-1.el7.x86_64 (mysql57-
community)
Requires: libc.so.6(GLIBC_2.17)(64bit)
Error: Package: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: 2:postfix-2.6.6-8.el6.x86_64 (#base)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Removing: mysql-libs-5.1.73-8.el6_8.x86_64 (#updates)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Obsoleted By: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-
community)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
What do I have to do to restore the dependencies?
As you can see the package is Obsoleted.
Search for the mysql and install from the found results.
do
yum search mysql
and select the version from the list.
Related
I am trying to install Chrome on RHEL 7 (64bit) machine but it's showing some errors.
Finished Dependency Resolution
Error: Package: google-chrome-stable-63.0.3239.108-1.x86_64
(google-chrome)
Requires: libnss3.so(NSS_3.22)(64bit) Error: Package: google-chrome-stable-63.0.3239.108-1.x86_64 (google-chrome)
Requires: libssl3.so(NSS_3.28)(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Please help me.
I am installing cuda-repo-rhel7-7-5-local-7.5-18.x86_64.rpm
When I executed yum install cuda the error seems to be related to
Package cuda-license-7-5 is obsoleted by cuda-libs, but obsoleting package does not provide for requirements
I tried the suggestions but they didn't work.
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
the output of
$ uname -m && cat /etc/*release
x86_64
CentOS Linux release 7.2.1511 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.2.1511 (Core)
CentOS Linux release 7.2.1511 (Core)
the full output install:
$ sudo yum install cuda
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.cs.vt.edu
* epel: download-ib01.fedoraproject.org
* extras: mirrors.lga7.us.voxel.net
* nux-dextop: mirror.li.nux.ro
* rpmforge: mirror.us.leaseweb.net
* rpmforge-extras: mirror.us.leaseweb.net
* updates: mirror.es.its.nyu.edu
Resolving Dependencies
--> Running transaction check
---> Package cuda.x86_64 1:7.5.18-3.el7.nux will be installed
--> Processing Dependency: cuda-libs(x86-64) = 1:7.5.18-3.el7.nux for package: 1:cuda-7.5.18-3.el7.nux.x86_64
--> Processing Dependency: libnvvm.so.3()(64bit) for package: 1:cuda-7.5.18-3.el7.nux.x86_64
--> Running transaction check
---> Package cuda-libs.x86_64 1:7.5.18-3.el7.nux will be installed
--> Processing Dependency: libcuda.so.1()(64bit) for package: 1:cuda-libs-7.5.18-3.el7.nux.x86_64
--> Running transaction check
---> Package cuda-driver-dev-7-5.x86_64 0:7.5-18 will be installed
--> Processing Dependency: cuda-license-7-5 = 7.5-18 for package: cuda-driver-dev-7-5-7.5-18.x86_64
Package cuda-license-7-5 is obsoleted by cuda-libs, but obsoleting package does not provide for requirements
--> Finished Dependency Resolution
Error: Package: cuda-driver-dev-7-5-7.5-18.x86_64 (cuda-7-5-local)
Requires: cuda-license-7-5 = 7.5-18
Installing: 1:cuda-libs-7.5.18-3.el7.nux.x86_64 (nux-dextop)
cuda-license-7-5 = 1:7.5.18-3.el7.nux
Available: cuda-license-7-5-7.5-18.x86_64 (cuda-7-5-local)
cuda-license-7-5 = 7.5-18
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
By default, CentOS 7 tries to download cuda7.5 (I guess it is seen by CentOs as the latest stable release)
sudo yum install cuda-devel
...
Package cuda-license-7-5 is obsoleted by cuda-libs, but obsoleting package does not provide for requirements
Instead, just install the cuda-8-0 package!
sudo yum install cuda-8-0
It does not depend on the obsolete cuda-license-7-5 package.
Note: at the end of the installation, I had some issues with the key, this can be avoided with (not recommended)
sudo yum install cuda-8-0 --nogpgcheck
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Initially, I was trying to update VLC. I ended up uninstalling it to reinstall it.
Typing yum install vlc outputs :
--> Finished Dependency Resolution
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-gdi.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libliveMedia.so.17()(64bit)
Available: live555-2013.11.26-1.el7.nux.x86_64 (nux-dextop)
libliveMedia.so.17()(64bit)
Installed: live555-2014.10.21-1.fc21.x86_64 (#rpmfusion-free)
~libliveMedia.so.36()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-codec.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-core.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libgcrypt.so.11()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libUsageEnvironment.so.1()(64bit)
Available: live555-2013.11.26-1.el7.nux.x86_64 (nux-dextop)
libUsageEnvironment.so.1()(64bit)
Installed: live555-2014.10.21-1.fc21.x86_64 (#rpmfusion-free)
~libUsageEnvironment.so.2()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-rail.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libgroupsock.so.1()(64bit)
Available: live555-2013.11.26-1.el7.nux.x86_64 (nux-dextop)
libgroupsock.so.1()(64bit)
Installed: live555-2014.10.21-1.fc21.x86_64 (#rpmfusion-free)
~libgroupsock.so.4()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-utils.so.1.0()(64bit)
Error: Package: 1:vlc-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libprojectM.so.2()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-kbd.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-channels.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libdvbpsi.so.7()(64bit)
Available: libdvbpsi-0.2.2-3.el7.nux.x86_64 (nux-dextop)
libdvbpsi.so.7()(64bit)
Installed: libdvbpsi-1.2.0-3.fc21.x86_64 (#rpmfusion-free-updates)
~libdvbpsi.so.9()(64bit)
Available: libdvbpsi-1.2.0-1.fc21.x86_64 (rpmfusion-free)
~libdvbpsi.so.9()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libgcrypt.so.11(GCRYPT_1.2)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Here is the output of uaname -a :
Linux happydev 4.1.13-100.fc21.x86_64 #1 SMP Tue Nov 10 13:13:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
I am willing to move forward, but I am not sure what to do, nor what to DuckDuckGo for. Any suggestion is most welcome !
EDIT
Most probably, the reason is that Fedora 21 is no longer maintaining its dependency to VLC. I am upgrading to Fedora 23 and will post the outcome here.
Yes, upgrading the from Fedora 21 to Fedora 23 solved the issue
To make your answer more complete, there are few things wrong:
Fedora 21 is EOL and therefore there are no more packages in the mirrors. Updating to Fedora 23 is very advisable.
You are using .el7 (RHEL7/CentOS7) packages, which might not be compatible with what you get from Fedora repositories. You should check the source of these packages and update your software sources in /etc/yum.repos.d/ not to use CentOS repository, but Fedora one.
I recently upgraded from fedora 20 to fedora 21. I am facing dependency issues when trying to install or update:
$ sudo yum -y upgrade
Loaded plugins: auto-update-debuginfo, langpacks
Resolving Dependencies
--> Running transaction check
---> Package vlc.x86_64 0:2.2.1-2.fc21 will be updated
---> Package vlc.x86_64 0:2.2.1-3.fc22 will be an update
---> Package vlc-core.x86_64 0:2.2.1-2.fc21 will be updated
---> Package vlc-core.x86_64 0:2.2.1-3.fc22 will be an update
--> Processing Dependency: libx265.so.25()(64bit) for package: vlc-core-2.2.1-3.fc22.x86_64
--> Processing Dependency: liblua-5.3.so()(64bit) for package: vlc-core-2.2.1-3.fc22.x86_64
--> Processing Dependency: libfreerdp.so.1.2()(64bit) for package: vlc-core-2.2.1-3.fc22.x86_64
--> Processing Dependency: libfreerdp-server.so.1.2()(64bit) for package: vlc-core-2.2.1-3.fc22.x86_64
---> Package x264-libs.x86_64 0:0.142-11.20141221git6a301b6.fc21 will be updated
---> Package x264-libs.x86_64 0:0.142-11.20141221git6a301b6.fc22 will be an update
--> Finished Dependency Resolution
Error: Package: vlc-core-2.2.1-3.fc22.x86_64 (rpmfusion-free-rawhide)
Requires: libfreerdp-server.so.1.2()(64bit)
Error: Package: libavdevice-2.4.9-1.fc22.x86_64 (rpmfusion-free-rawhide)
Requires: libcdio_paranoia.so.2()(64bit)
Error: Package: vlc-core-2.2.1-3.fc22.x86_64 (rpmfusion-free-rawhide)
Requires: liblua-5.3.so()(64bit)
Error: Package: libavdevice-2.4.9-1.fc22.x86_64 (rpmfusion-free-rawhide)
Requires: libcdio_cdda.so.2()(64bit)
Error: Package: vlc-core-2.2.1-3.fc22.x86_64 (rpmfusion-free-rawhide)
Requires: libx265.so.25()(64bit)
Available: x265-libs-1.2-5.fc21.x86_64 (rpmfusion-free)
libx265.so.25()(64bit)
Available: x265-libs-1.2-6.fc22.x86_64 (rpmfusion-free-rawhide)
libx265.so.25()(64bit)
Installed: x265-libs-1.6-1.fc21.x86_64 (#rpmfusion-free-updates)
~libx265.so.51()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried disabling/enabling some repos, trying to update, trying to remove some of the libraries listed above, but all in vain.
Get rid of the rpmfusion-free-rawhide repo, it's for yet unreleased Fedora 22. That should solve all your problems.
The culprit in my case was rpmfusion. I had different versions of rpmfusion-free and rpmfusion-nonfree. One of them was 21 and other was 22. So removing and installing the correct versions as follows solved the issue:
sudo yum remove rpmfusion-free-release rpmfusion-nonfree-release
Loaded plugins: auto-update-debuginfo, langpacks
Resolving Dependencies
--> Running transaction check
---> Package rpmfusion-free-release.noarch 0:22-0.1 will be erased
---> Package rpmfusion-nonfree-release.noarch 0:21-1 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================
Removing:
rpmfusion-free-release noarch 22-0.1 #rpmfusion-free-rawhide 9.7 k
rpmfusion-nonfree-release noarch 21-1 installed 9.9 k
Transaction Summary
======================================================================================================================================
Remove 2 Packages
Installed size: 20 k
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Erasing : rpmfusion-nonfree-release-21-1.noarch 1/2
Erasing : rpmfusion-free-release-22-0.1.noarch 2/2
warning: /etc/yum.repos.d/rpmfusion-free-rawhide.repo saved as /etc/yum.repos.d/rpmfusion-free-rawhide.repo.rpmsave
Verifying : rpmfusion-nonfree-release-21-1.noarch 1/2
Verifying : rpmfusion-free-release-22-0.1.noarch 2/2
Removed:
rpmfusion-free-release.noarch 0:22-0.1 rpmfusion-nonfree-release.noarch 0:21-1
Complete!
su -c 'yum localinstall http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
Password:
Loaded plugins: auto-update-debuginfo, langpacks
rpmfusion-free-release-21.noarch.rpm | 19 kB 00:00:00
Examining /var/tmp/yum-root-d5sSL9/rpmfusion-free-release-21.noarch.rpm: rpmfusion-free-release-21-1.noarch
Marking /var/tmp/yum-root-d5sSL9/rpmfusion-free-release-21.noarch.rpm to be installed
rpmfusion-nonfree-release-21.noarch.rpm | 19 kB 00:00:00
Examining /var/tmp/yum-root-d5sSL9/rpmfusion-nonfree-release-21.noarch.rpm: rpmfusion-nonfree-release-21-1.noarch
Marking /var/tmp/yum-root-d5sSL9/rpmfusion-nonfree-release-21.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rpmfusion-free-release.noarch 0:21-1 will be installed
---> Package rpmfusion-nonfree-release.noarch 0:21-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================
Installing:
rpmfusion-free-release noarch 21-1 /rpmfusion-free-release-21.noarch 9.7 k
rpmfusion-nonfree-release noarch 21-1 /rpmfusion-nonfree-release-21.noarch 9.9 k
Transaction Summary
======================================================================================================================================
Install 2 Packages
Total size: 20 k
Installed size: 20 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Installing : rpmfusion-free-release-21-1.noarch 1/2
Installing : rpmfusion-nonfree-release-21-1.noarch 2/2
Verifying : rpmfusion-nonfree-release-21-1.noarch 1/2
Verifying : rpmfusion-free-release-21-1.noarch 2/2
Installed:
rpmfusion-free-release.noarch 0:21-1 rpmfusion-nonfree-release.noarch 0:21-1
Complete!
I have been using Debian based distributions of Linux for about a year now and I want to try out Fedora. I downloaded the Electronic Lab spin but I want to install Eagle CAD, which I understand uses 32-bit libraries.
I have found some information on some other sites that all recommend using yum to install these libraries:
sudo yum install libstdc++.i686 libXrender.i686 libXrandr.i686 libXcursor.i686 freetype.i686 fontconfig.i686 libXi.i686
I tried to just install the first two listed there but I got this on the output:
Loaded plugins: fastestmirror, langpacks, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: mirror.steadfast.net
* rpmfusion-free: mirror.us.leaseweb.net
* rpmfusion-free-updates: mirror.us.leaseweb.net
* rpmfusion-nonfree: mirror.us.leaseweb.net
* rpmfusion-nonfree-updates: mirror.us.leaseweb.net
* updates: mirror.steadfast.net
Resolving Dependencies
--> Running transaction check
---> Package libXrender.i686 0:0.9.8-2.fc20 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libXrender-0.9.8-2.fc20.i686
--> Processing Dependency: libX11.so.6 for package: libXrender-0.9.8-2.fc20.i686
---> Package libstdc++.i686 0:4.8.2-7.fc20 will be installed
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.8.2-7.fc20.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.8.2-7.fc20.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.8.2-7.fc20.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.8.2-7.fc20.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.8.2-7.fc20.i686
--> Running transaction check
---> Package glibc.i686 0:2.18-11.fc20 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.18-11.fc20.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.18-11.fc20.i686
---> Package libX11.i686 0:1.6.1-1.fc20 will be installed
--> Processing Dependency: libxcb.so.1 for package: libX11-1.6.1-1.fc20.i686
---> Package libgcc.i686 0:4.8.2-7.fc20 will be installed
--> Running transaction check
---> Package libxcb.i686 0:1.9.1-3.fc20 will be installed
--> Processing Dependency: libXau.so.6 for package: libxcb-1.9.1-3.fc20.i686
---> Package nss-softokn-freebl.i686 0:3.15.3-1.fc20 will be installed
--> Running transaction check
---> Package libXau.i686 0:1.0.8-2.fc20 will be installed
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for libstdc++ which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libstdc++ of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libstdc++.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of libstdc++ installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of libstdc++ installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: libstdc++-4.8.2-7.fc20.i686 != libstdc++-4.8.2-1.fc20.x86_64
Error: Protected multilib versions: libgcc-4.8.2-7.fc20.i686 != libgcc-4.8.2-1.fc20.x86_64
Error: Protected multilib versions: nss-softokn-freebl-3.15.3-1.fc20.i686 != nss-softokn-freebl-3.15.2-2.fc20.x86_64
When I try to run the installer script provided by Cad Soft I get the following:
./eagle-lin-6.5.0.run: /tmp/eagle-setup.3796/eagle-6.5.0/bin/eagle: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
From others I am guessing this is showing up because there is something wrong with my 32-Bit libraries?
Since I am new to Fedora I am also new to the YUM package manager. I also realize that I could use KiCAD but I need Eagle for work and I would like to see if I can get this system up to speed with what I need at work.
Not that it was the fix that I was looking for, but I did get Eagle Cad installed on a fresh install of the regular Fedora 20 (64-bit) by following the link provided by rickhg12hs in the comments of the original post. I am not sure what caused all of the problems with yum and rpm db. Thank you to rickhg12hs for the help though!