ITPub博客

首页 > 数据库 > MySQL > Error: package MySQL-Cluster-server-gpl is not relocatable

Error: package MySQL-Cluster-server-gpl is not relocatable

原创 MySQL 作者:Michael_DD 时间:2014-10-16 09:44:27 0 删除 编辑
Error: package MySQL-Cluster-server-gpl is not relocatable

rpm包安装异常,--prefix 参数不能重定位,安装到另一个目录

[root@nagiosmysql1 tmp]# rpm -ivh --prefix /mysql/  MySQL-Cluster-server-gpl-7.3.6-2.el6.x86_64.rpm
error: package MySQL-Cluster-server-gpl is not relocatable

查看包信息:

[root@nagiosmysql1 tmp]# rpm -qpi MySQL-Cluster-server-gpl-7.3.6-2.el6.x86_64.rpm
Name        : MySQL-Cluster-server-gpl     Relocations: (not relocatable)
Version     : 7.3.6                             Vendor: Oracle and/or its affiliates
Release     : 2.el6                         Build Date: 2014年07月02日 星期三 17时36分35秒
Install Date: (not installed)               Build Host: vitro45
Group       : Applications/Databases        Source RPM: MySQL-Cluster-gpl-7.3.6-2.el6.src.rpm
Size        : 642450056                        License: Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. Under GPL license as shown in the Description field.
Signature   : DSA/SHA1, 2014年07月05日 星期六 02时04分53秒, Key ID 8c718d3b5072e1f5
Packager    : MySQL Release Engineering
URL         : http://www.mysql.com/
Summary     : MySQL: a very fast and reliable SQL database server
Description :
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
and robust SQL (Structured Query Language) database server. MySQL Server
is intended for mission-critical, heavy-load production systems as well
as for embedding into mass-deployed software. MySQL is a trademark of
Oracle and/or its affiliates

The MySQL software has Dual Licensing, which means you can use the MySQL
software free of charge under the GNU General Public License
(http://www.gnu.org/licenses/). You can also purchase commercial MySQL
licenses from Oracle and/or its affiliates if you do not wish to be bound by the terms of
the GPL. See the chapter "Licensing and Support" in the manual for
further info.

The MySQL web site (http://www.mysql.com/) provides the latest news and
information about the MySQL software.  Also please see the documentation
and the manual for more information.

This package includes the MySQL server binary as well as related utilities
to run and administer a MySQL server.

If you want to access and work with the database, you have to install
package "MySQL-Cluster-client-gpl" as well!

无法修改安装目录的,也就是不能重定位,只有去掉 --prefix参数

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29500582/viewspace-1300297/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Nagvis配置参数
请登录后发表评论 登录
全部评论

注册时间:2014-02-22

  • 博文量
    326
  • 访问量
    2671972