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

obsoleted package in dependencies #199

Closed
madcrokodile opened this issue Dec 21, 2017 · 4 comments
Closed

obsoleted package in dependencies #199

madcrokodile opened this issue Dec 21, 2017 · 4 comments

Comments

@madcrokodile
Copy link

Package sysbench-1.0.11-1.el6.x86_64 requires obsoleted package libmysqlclient_r.so.16.
CentOS 6.8

@akopytov
Copy link
Owner

I tried installing sysbench-1.0.11-1.el6.x86_64 in a CentOS 6.9 Docker image and did not hit any issues:

$ docker pull centos:6
$ docker run -it centos:6 /bin/bash
# cat /etc/redhat-release
CentOS release 6.9 (Final)
# curl -s https://packagecloud.io/install/repositories/akopytov/sysbench/script.rpm.sh | bash
Detected operating system as centos/6.
...
The repository is setup! You can now install packages.
# yum -y install sysbench
Loaded plugins: fastestmirror, ovl
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.maxus.pro
 * extras: mirror.tversu.ru
 * updates: mirror.tversu.ru
Resolving Dependencies
--> Running transaction check
---> Package sysbench.x86_64 0:1.0.11-1.el6 will be installed
--> Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16)(64bit) for package: sysbench-1.0.11-1.el6.x86_64
--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: sysbench-1.0.11-1.el6.x86_64
--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: sysbench-1.0.11-1.el6.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: sysbench-1.0.11-1.el6.x86_64
--> Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: sysbench-1.0.11-1.el6.x86_64
--> Processing Dependency: libaio.so.1()(64bit) for package: sysbench-1.0.11-1.el6.x86_64
--> Running transaction check
---> Package libaio.x86_64 0:0.3.107-10.el6 will be installed
---> Package mysql-libs.x86_64 0:5.1.73-8.el6_8 will be installed
---> Package postgresql-libs.x86_64 0:8.4.20-8.el6_9 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
 Package                                Arch                          Version                                 Repository                                Size
=============================================================================================================================================================
Installing:
 sysbench                               x86_64                        1.0.11-1.el6                            akopytov_sysbench                        346 k
Installing for dependencies:
 libaio                                 x86_64                        0.3.107-10.el6                          base                                      21 k
 mysql-libs                             x86_64                        5.1.73-8.el6_8                          base                                     1.2 M
 postgresql-libs                        x86_64                        8.4.20-8.el6_9                          updates                                  202 k

Transaction Summary
=============================================================================================================================================================
Install       4 Package(s)

Total download size: 1.8 M
Installed size: 5.7 M
Downloading Packages:
(1/4): libaio-0.3.107-10.el6.x86_64.rpm                                                                                               |  21 kB     00:00
(2/4): mysql-libs-5.1.73-8.el6_8.x86_64.rpm                                                                                           | 1.2 MB     00:00
(3/4): postgresql-libs-8.4.20-8.el6_9.x86_64.rpm                                                                                      | 202 kB     00:00
(4/4): sysbench-1.0.11-1.el6.x86_64.rpm                                                                                               | 346 kB     00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                        816 kB/s | 1.8 MB     00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : mysql-libs-5.1.73-8.el6_8.x86_64                                                                                                          1/4
  Installing : libaio-0.3.107-10.el6.x86_64                                                                                                              2/4
  Installing : postgresql-libs-8.4.20-8.el6_9.x86_64                                                                                                     3/4
  Installing : sysbench-1.0.11-1.el6.x86_64                                                                                                              4/4
  Verifying  : postgresql-libs-8.4.20-8.el6_9.x86_64                                                                                                     1/4
  Verifying  : libaio-0.3.107-10.el6.x86_64                                                                                                              2/4
  Verifying  : sysbench-1.0.11-1.el6.x86_64                                                                                                              3/4
  Verifying  : mysql-libs-5.1.73-8.el6_8.x86_64                                                                                                          4/4

Installed:
  sysbench.x86_64 0:1.0.11-1.el6

Dependency Installed:
  libaio.x86_64 0:0.3.107-10.el6                 mysql-libs.x86_64 0:5.1.73-8.el6_8                 postgresql-libs.x86_64 0:8.4.20-8.el6_9

Complete!

Can you provide more details on the problem you are hitting?

@akopytov
Copy link
Owner

Closing for now, feel free to reopen if you can provide more details about the actual problem to solve.

@aryabchenko
Copy link

Amazon Linux 2 doesn't work out of the box:

[~]$ sudo yum -y install sysbench
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Resolving Dependencies
--> Running transaction check
---> Package sysbench.x86_64 0:1.0.17-1.el6 will be installed
--> Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16)(64bit) for package: sysbench-1.0.17-1.el6.x86_64
--> Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: sysbench-1.0.17-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: sysbench-1.0.17-1.el6.x86_64 (akopytov_sysbench)
           Requires: libmysqlclient_r.so.16()(64bit)
Error: Package: sysbench-1.0.17-1.el6.x86_64 (akopytov_sysbench)
           Requires: libmysqlclient_r.so.16(libmysqlclient_16)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

@akopytov
Copy link
Owner

Amazon Linux 2 doesn't work out of the box:

@aryabchenko Is there a workaround for your case? Trying to understand what can be done on my side to fix it.

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

No branches or pull requests

3 participants