[Yum] yum doesn't look for provides on packages to be installed
Fajar A. Nugraha
fajar at fajar.net
Tue Oct 9 07:44:56 UTC 2007
Hi,
I'm trying to install MySQL (from MySQL.com's binary) from a local
repository
# yum -d1 install MySQL-shared MySQL-shared-compat MySQL-client MySQL-server
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
MySQL-client x86_64 5.0.45-0.glibc23 mysql
350 k
MySQL-server x86_64 5.0.45-0.glibc23 mysql
15 M
MySQL-shared-compat x86_64 5.0.45-0.glibc23 mysql
3.1 M
Installing for dependencies:
mysql x86_64 5.0.22-2.1.0.1 updates 3.0 M
perl-DBI x86_64 1.52-1.fc6 base 605 k
Transaction Summary
=============================================================================
Install 5 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 22 M
Is this ok [y/N]: y
ERROR with rpm_check_debug vs depsolve:
Package mysql conflicts with MySQL.
That's not right.
Upon further checking, MySQL-client requires :
libmysqlclient.so.15()(64bit)
libmysqlclient.so.15(libmysqlclient_15)(64bit)
which is provided by both mysql and MySQL-shared
I understand that yum will search for shortest package name to look for
providing package, but in this case I specified that I want to install
MySQL-shared on the command line. Shouldn't that be processed first?
Seeing that MySQL-shared is on command line, shouldn't it chose that
instead of mysql?
Excluding mysql works as expected.
# yum -d1 install MySQL-shared MySQL-shared-compat MySQL-client
MySQL-server --exclude mysql
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
MySQL-client x86_64 5.0.45-0.glibc23 mysql
350 k
MySQL-server x86_64 5.0.45-0.glibc23 mysql
15 M
MySQL-shared-compat x86_64 5.0.45-0.glibc23 mysql
3.1 M
Installing for dependencies:
MySQL-shared x86_64 5.0.45-0.glibc23 mysql
1.7 M
perl-DBI x86_64 1.52-1.fc6 base 605 k
Transaction Summary
=============================================================================
Install 5 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 21 M
Is this ok [y/N]: y
warning: perl-DBI-1.52-1.fc6: Header V3 DSA signature: NOKEY, key ID
37017186
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h lbkaret2.telkomhosting.com password
'new-password'
See the manual for more instructions.
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting MySQL..[ OK ]
Thank you for installing the MySQL Community Server! For Production
systems, we recommend MySQL Enterprise, which contains enterprise-ready
software, intelligent advisory services, and full production support with
scheduled service packs and more. Visit www.mysql.com/enterprise for more
information.
Installed: MySQL-client.x86_64 0:5.0.45-0.glibc23 MySQL-server.x86_64
0:5.0.45-0.glibc23 MySQL-shared-compat.x86_64 0:5.0.45-0.glibc23
Dependency Installed: MySQL-shared.x86_64 0:5.0.45-0.glibc23
perl-DBI.x86_64 0:1.52-1.fc6
Using RHEL5/yum-3.2.5
Regards,
Fajar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3229 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.baseurl.org/pipermail/yum/attachments/20071009/c98d07ae/attachment-0001.bin
More information about the Yum
mailing list