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

Michael_DD發表於2014-10-16
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         :
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
(). 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 () 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部落格 ” ,連結:http://blog.itpub.net/29500582/viewspace-1300297/,如需轉載,請註明出處,否則將追究法律責任。

相關文章