From chopzwei, 1 Year ago, written in Plain Text.
  1. # rpm --root /mnt -i http://mirror.centos.org/centos/7/os/x86_64/Packages/centos-release-7-5.1804.el7.centos.x86_64.rpm
  2. rpm: RPM should not be used directly install RPM packages, use Alien instead!
  3. rpm: However assuming you know what you are doing...
  4. warning: /mnt/var/tmp/rpm-tmp.sTEbA8: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
  5. error: Failed dependencies:
  6.         /bin/sh is needed by centos-release-7-5.1804.el7.centos.x86_64
  7.         coreutils is needed by centos-release-7-5.1804.el7.centos.x86_64
  8.         grep is needed by centos-release-7-5.1804.el7.centos.x86_64
  9.  
  10.  
captcha