Resolving failed dependencies when installing an rpm file in Fedora
If you get a failed dependencies error like this when trying to install an rpm file using rpm -i
like this:
(base) [denniscahillane@localhost Downloads]$ sudo rpm -i google-chrome-stable_current_x86_64.rpm password for denniscahillane:
warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
error: Failed dependencies:
/usr/bin/lsb_release is needed by google-chrome-stable-76.0.3809.100-1.x86_64
libappindicator3.so.1()(64bit) is needed by google-chrome-stable-76.0.3809.100-1.x86_64
liberation-fonts is needed by google-chrome-stable-76.0.3809.100-1.x86_64
Use yum localinstall
instead like this:
(base) [denniscahillane@localhost Downloads]$ sudo yum localinstall google-chrome-stable_current_x86_64.rpm Last metadata expiration check: 0:20:09 ago on Tue 20 Aug 2019 08:31:53 AM EDT. Dependencies resolved. [snip]
yum localinstall
manages automatically.