Package filename.rpm is not signed
安裝軟體包的時候報錯如下:Package lgtoclnt-8.0.2-1.x86_64.rpm is not signed
[root@localhost linux_x86_64]# yum localinstall lgtoclnt-8.0.2-1.x86_64.rpm Loaded plugins: fastestmirror Setting up Local Package Process Examining lgtoclnt-8.0.2-1.x86_64.rpm: lgtoclnt-8.0.2-1.x86_64 Marking lgtoclnt-8.0.2-1.x86_64.rpm to be installed Loading mirror speeds from cached hostfile * base: mirrors.skyshe.cn * extras: mirror.bit.edu.cn * updates: mirror.bit.edu.cn Resolving Dependencies --> Running transaction check ---> Package lgtoclnt.x86_64 0:8.0.2-1 set to be updated --> Processing Dependency: libstdc++.so.5(CXXABI_1.2)(64bit) for package: lgtoclnt --> Processing Dependency: libstdc++.so.5(GLIBCPP_3.2)(64bit) for package: lgtoclnt --> Processing Dependency: libstdc++.so.5(GLIBCPP_3.2.2)(64bit) for package: lgtoclnt --> Processing Dependency: libXp.so.6()(64bit) for package: lgtoclnt --> Processing Dependency: libstdc++.so.5()(64bit) for package: lgtoclnt --> Running transaction check ---> Package compat-libstdc++-33.x86_64 0:3.2.3-61 set to be updated ---> Package libXp.x86_64 0:1.0.0-8.1.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================================================================== Installing: lgtoclnt x86_64 8.0.2-1 /lgtoclnt-8.0.2-1.x86_64 185 M Installing for dependencies: compat-libstdc++-33 x86_64 3.2.3-61 base 227 k libXp x86_64 1.0.0-8.1.el5 base 23 k Transaction Summary =============================================================================================================================================================================================== Install 3 Package(s) Upgrade 0 Package(s) Total size: 185 M Is this ok [y/N]: y Downloading Packages: Package lgtoclnt-8.0.2-1.x86_64.rpm is not signed |
解決方法:將/etc/yum.conf中"gpgcheck=1"這一行改為"gpgcheck=0"即可
[root@localhost linux_x86_64]# vi /etc/yum.conf [root@localhost linux_x86_64]# yum localinstall lgtoclnt-8.0.2-1.x86_64.rpm Loaded plugins: fastestmirror Setting up Local Package Process Examining lgtoclnt-8.0.2-1.x86_64.rpm: lgtoclnt-8.0.2-1.x86_64 Marking lgtoclnt-8.0.2-1.x86_64.rpm to be installed Loading mirror speeds from cached hostfile * base: mirrors.skyshe.cn * extras: mirrors.skyshe.cn * updates: mirrors.skyshe.cn base | 1.1 kB 00:00 extras | 2.1 kB 00:00 updates | 1.9 kB 00:00 Resolving Dependencies --> Running transaction check ---> Package lgtoclnt.x86_64 0:8.0.2-1 set to be updated --> Processing Dependency: libstdc++.so.5(CXXABI_1.2)(64bit) for package: lgtoclnt --> Processing Dependency: libstdc++.so.5(GLIBCPP_3.2)(64bit) for package: lgtoclnt --> Processing Dependency: libstdc++.so.5(GLIBCPP_3.2.2)(64bit) for package: lgtoclnt --> Processing Dependency: libXp.so.6()(64bit) for package: lgtoclnt --> Processing Dependency: libstdc++.so.5()(64bit) for package: lgtoclnt --> Running transaction check ---> Package compat-libstdc++-33.x86_64 0:3.2.3-61 set to be updated ---> Package libXp.x86_64 0:1.0.0-8.1.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================================================================== Installing: lgtoclnt x86_64 8.0.2-1 /lgtoclnt-8.0.2-1.x86_64 185 M Installing for dependencies: compat-libstdc++-33 x86_64 3.2.3-61 base 227 k libXp x86_64 1.0.0-8.1.el5 base 23 k Transaction Summary =============================================================================================================================================================================================== Install 3 Package(s) Upgrade 0 Package(s) Total size: 185 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : compat-libstdc++-33 1/3 Installing : libXp 2/3 Installing : lgtoclnt 3/3 Installed: lgtoclnt.x86_64 0:8.0.2-1 Dependency Installed: compat-libstdc++-33.x86_64 0:3.2.3-61 libXp.x86_64 0:1.0.0-8.1.el5 Complete! |
gpgchkeck= 有1和0兩個選擇,分別代表是否是否進行gpg校驗,確保下載包的完整性,是開啟,0是不開啟,一般情況可以關掉。
總結:作為一名dba有時候需要了解些作業系統的知識,否則寸步難行啊;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12679300/viewspace-1340275/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- PSQLexception: ERROR : type "signed" does not existSQLExceptionError
- 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
- ORA-04042 procedure, function, package, or package body does not existFunctionPackage
- java 包(package)JavaPackage
- alter package/procedurePackage
- Package and ClassPath (轉)Package
- gitlab-runner x509: certificate signed by unknown authorityGitlab
- 【C語言深度剖析】讀書筆記之 signed ,unsignedC語言筆記
- flutter package get 卡FlutterPackage
- Go package time 用法GoPackage
- yum error - package is a duplicate withErrorPackage
- package.jsonPackageJSON
- The DBMS_System PackagePackage
- utl_mail packageAIPackage
- Oracle 基礎 ----packageOraclePackage
- Rust Package Manager:CargoRustPackageCargo
- ps1 is not digitally signed. You cannot run this script解決方案Git
- 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
- 解決問題: go get certificate signed by unknown authority 換個代理或者Go
- [Mac OS X] 如何解決 “dtrace cannot control executables signed with restricted entitlements”?MacREST
- 如何處理Eclipse錯誤訊息 The declared package does not match the expected packageEclipsePackage