error:package mysql-client is not relocatable
rpm -ivh MySQL-client-5.5.17-1.linux2.6.i386.rpm --prefix=/mysql
提示錯誤:error:package mysql-client is not relocatable
解決方法:rpm -qpi MySQL-client-5.5.17-1.linux2.6.i386.rpm |head
error:package mysql-client is not relocatable
error:package mysql-client is not relocatable
[root@mysql ~]# rpm -qpi MySQL-server-5.6.26-1.el6.x86_64.rpm |head
warning: MySQL-server-5.6.26-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Name : MySQL-server Relocations: (not relocatable)
Version : 5.6.26 Vendor: Oracle and/or its affiliates
Release : 1.el6 Build Date: Wed 15 Jul 2015 05:43:40 AM CST
Install Date: (not installed) Build Host: viking16
Group : Applications/Databases Source RPM: MySQL-5.6.26-1.el6.src.rpm
Size : 249581924 License: Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. Under GPL license as shown in the Description field.
Signature : DSA/SHA1, Thu 16 Jul 2015 01:17:32 AM CST, Key ID 8c718d3b5072e1f5
Packager : MySQL Release Engineering <mysql-build@oss.oracle.com>
URL : /> Summary : MySQL: a very fast and reliable SQL database server
[root@mysql ~]#
從結果看到
Relocations: (not relocatable)
是無法修改安裝目錄的,也就是不能重定位,只有去掉 --prefix引數了。
提示錯誤:error:package mysql-client is not relocatable
解決方法:rpm -qpi MySQL-client-5.5.17-1.linux2.6.i386.rpm |head
error:package mysql-client is not relocatable
error:package mysql-client is not relocatable
[root@mysql ~]# rpm -qpi MySQL-server-5.6.26-1.el6.x86_64.rpm |head
warning: MySQL-server-5.6.26-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Name : MySQL-server Relocations: (not relocatable)
Version : 5.6.26 Vendor: Oracle and/or its affiliates
Release : 1.el6 Build Date: Wed 15 Jul 2015 05:43:40 AM CST
Install Date: (not installed) Build Host: viking16
Group : Applications/Databases Source RPM: MySQL-5.6.26-1.el6.src.rpm
Size : 249581924 License: Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. Under GPL license as shown in the Description field.
Signature : DSA/SHA1, Thu 16 Jul 2015 01:17:32 AM CST, Key ID 8c718d3b5072e1f5
Packager : MySQL Release Engineering <mysql-build@oss.oracle.com>
URL : /> Summary : MySQL: a very fast and reliable SQL database server
[root@mysql ~]#
從結果看到
Relocations: (not relocatable)
是無法修改安裝目錄的,也就是不能重定位,只有去掉 --prefix引數了。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24742969/viewspace-1806125/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Error: package MySQL-Cluster-server-gpl is not relocatableErrorPackageMySqlServer
- yum error - package is a duplicate withErrorPackage
- R安裝package報ERROR: a 'NAMESPACE' file is requiredPackageErrornamespaceUI
- not an rpm package (or package manifest):Package
- not an rpm package (or package manifest)Package
- packagePackage
- Package Specification 和 Package Body 及 Package有什麼區別? (轉)Package
- 深入安卓Package Manager和Package Installer安卓Package
- 建立packagePackage
- Package ssh is not available, but is referred to by another package 錯誤PackageAI
- oracle安裝包遇到Error: Package: gcc-4.8.5-11.el7.x86_64 (base)問題OracleErrorPackageGC
- ORA-04042 procedure, function, package, or package body does not existFunctionPackage
- java 包(package)JavaPackage
- alter package/procedurePackage
- Package and ClassPath (轉)Package
- flutter package get 卡FlutterPackage
- Go package time 用法GoPackage
- package.jsonPackageJSON
- The DBMS_System PackagePackage
- utl_mail packageAIPackage
- Oracle 基礎 ----packageOraclePackage
- Rust Package Manager:CargoRustPackageCargo
- java中不帶package和帶package的編譯執行方式JavaPackage編譯
- 包頭(Package)與包體(Package body)的學習與應用Package
- Laravel Package 中文文件LaravelPackage
- Android APIs (Package Index)AndroidAPIPackageIndex
- Go package(1) time 用法GoPackage
- github package的使用教程GithubPackage
- PL/SQL 09 包 packageSQLPackage
- create a nodejs npm packageNodeJSNPMPackage
- SSIS Package 命名規則Package
- deploy package outside of jbossPackageIDE
- Java_util_package(轉)JavaPackage
- 在OpenWrt中新增packagePackage
- 如何處理Eclipse錯誤訊息 The declared package does not match the expected packageEclipsePackage
- package.json詳解PackageJSON
- package.json 詳解PackageJSON
- golang package time 用法詳解GolangPackage