LoginSignup
0
0

More than 3 years have passed since last update.

(備忘録)🗃【npm】cpio: readが出たらパッケージを再ダウンロードする

Last updated at Posted at 2020-07-22

環境

CentOS 7.4.1708

やりたいこと

sudo rpm -iv --force gmp-4.3.1-13.el6.x86_64.rpm
warning: gmp-4.3.1-13.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing packages...
gmp-4.3.1-13.el6.x86_64
error: unpacking of archive failed on file /usr/share/doc/gmp-4.3.1/COPYING.LIB;5ef16eb0: cpio: read
error: gmp-4.3.1-13.el6.x86_64: install failed

「cpio: read」って表示されるのを解消し、rpmファイルをインストールする

やったこと

単純にファイルが破損して読み込めないだけだった

wgetにて対象ファイルを再ダウンロードし、
再度rpm実行でインストール成功

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0