從服務(wù)器里下載一個(gè)RPM, 下載完成后安裝 可一直提示rpmReadSignature 錯(cuò)誤,導(dǎo)致無法安裝。
原來只要在 get 之前使用一個(gè) binary 指令就可以解決。
報(bào)錯(cuò)信息如下:
[root@uga-hotel ~]# rpm -ivh android-tools-20130123git98d0789-5.el7.x86_64.rpm
錯(cuò)誤:android-tools-20130123git98d0789-5.el7.x86_64.rpm:rpmReadSignature 函數(shù)執(zhí)行失?。簉egion trailer: BAD, tag 15872 type 2047 offset 28672 count 4096
錯(cuò)誤:不能安裝 android-tools-20130123git98d0789-5.el7.x86_64.rpm
解決方法如下:
[root@uga-hotel ~]# ftp 192.168.32.205
Connected to 192.168.32.205 (192.168.32.205).
220-FileZilla Server version 0.9.43 beta
220-written by Tim Kosse (tim.kosse@filezilla-project.org)
220 Please visit http://sourceforge.net/projects/filezilla/
Name (192.168.32.205:root): a
331 Password required for a
Password:
230 Logged on
Remote system type is UNIX.
ftp> binary
200 Type set to I
ftp> cd wangjc
250 CWD successful. "/wangjc" is current directory.
ftp>
ftp> get android-tools-20130123git98d0789-2.el6.x86_64.rpm
local: android-tools-20130123git98d0789-2.el6.x86_64.rpm remote: android-tools-20130123git98d0789-2.el6.x86_64.rpm
227 Entering Passive Mode (192,168,32,205,226,24)
150 Opening data channel for file download from server of "/wangjc/android-tools-20130123git98d0789-2.el6.x86_64.rpm"
226 Successfully transferred "/wangjc/android-tools-20130123git98d0789-2.el6.x86_64.rpm"
124880 bytes received in 2.5 secs (49.98 Kbytes/sec)
ftp>解決:
[root@uga-hotel ~]# rpm -ivh android-tools-20130123git98d0789-2.el6.x86_64.rpm
警告:android-tools-20130123git98d0789-2.el6.x86_64.rpm: 頭V3 RSA/SHA256 Signature, 密鑰 ID 0608b895: NOKEY
準(zhǔn)備中... ################################# [100%]
正在升級(jí)/安裝...
1:android-tools-20130123git98d0789-################################# [100%]
[root@uga-hotel ~]#
網(wǎng)頁(yè)題目:linux下使用ftp下載rpm文件并安裝時(shí)提示-創(chuàng)新互聯(lián)
轉(zhuǎn)載源于:http://jinyejixie.com/article16/peggg.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供App設(shè)計(jì)、云服務(wù)器、響應(yīng)式網(wǎng)站、網(wǎng)站策劃、搜索引擎優(yōu)化、App開發(fā)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容