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.
安装软件包的时候报错如下: 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有时候需要了解些操作系统的知识,否则寸步难行啊;
相关文章
|
缓存 关系型数据库 MySQL
解决CentOS执行yum命令出现File contains parsing errors:file:///etc/yum.repos.d/CentOS-Base.repo
解决CentOS执行yum命令出现File contains parsing errors:file:///etc/yum.repos.d/CentOS-Base.repo
解决CentOS执行yum命令出现File contains parsing errors:file:///etc/yum.repos.d/CentOS-Base.repo
装R包(package)error:(as ‘lib’ is unspecified)installation of package had non-zero exit status]
装R包(package)error:(as ‘lib’ is unspecified)installation of package had non-zero exit status]
No package ‘glib-2.0‘ found/No package ‘gobject-2.0‘ found
No package ‘glib-2.0‘ found/No package ‘gobject-2.0‘ found
212 0
|
Ubuntu Shell
解决dpkg: warning: files list file for package(libboost-dev libpcl-dev)
解决dpkg: warning: files list file for package(libboost-dev libpcl-dev)
288 0
No package 'libxml-2.0' found
No package 'libxml-2.0' found
328 0
解决办法:.No package ‘freetype2‘ found
解决办法:.No package ‘freetype2‘ found
370 0
Package ffnvcodec was not found in the pkg-config search path
Package ffnvcodec was not found in the pkg-config search path
173 0
Package sqlite3 was not found in the pkg-config search path.add the directory containing `sqlite3.pc
Package sqlite3 was not found in the pkg-config search path.add the directory containing `sqlite3.pc
186 0
|
iOS开发 MacOS
报错:No package ‘openssl‘ found
报错:No package ‘openssl‘ found
362 0
|
Linux Windows
SVN更新被Locked,Can't open file 'folder/.svn/tmp/text-base/file.svn-base'
SVN更新被Locked,Can't open file 'folder/.svn/tmp/text-base/file.svn-base'
177 0
SVN更新被Locked,Can't open file 'folder/.svn/tmp/text-base/file.svn-base'