Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Prompt when downloading rpm file and installing it using ftp under linux

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Download a RPM from the server, and after the download is complete, the installation can always prompt an rpmReadSignature error, resulting in the failure to install.

It turns out that it can be solved by using a binary instruction before get.

The error message is as follows:

[root@uga-hotel] # rpm-ivh android-tools-20130123git98d0789-5.el7.x86_64.rpm

Error: android-tools-20130123git98d0789-5.el7.x86_64.rpm:rpmReadSignature function execution failed: region trailer: BAD, tag 15872 type 2047 offset 28672 count 4096

Error: cannot install android-tools-20130123git98d0789-5.el7.x86_64.rpm

The solution is as follows:

[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 >

Resolve:

[root@uga-hotel] # rpm-ivh android-tools-20130123git98d0789-2.el6.x86_64.rpm

Warning: android-tools-20130123git98d0789-2.el6.x86_64.rpm: header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY

Preparing. # # [100%]

Upgrading / installing...

1:android-tools-20130123git98d0789-## [100%]

[root@uga-hotel ~] #

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report