Red Hat Bugzilla – Bug 840236
Want to install windows tffcorefonts
Last modified: 2014-01-21 18:23:14 EST
Description of problem:
Version-Release number of selected component (if applicable):
I followed this website http://www.fedorafaq.org/#installfonts I have no idea what's my component
Steps to Reproduce:
1. yum install rpm-build cabextract ttmkfdir wget
2. wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec
3. rpmbuild -ba msttcorefonts-2.0-1.spec
4. yum install --nogpgcheck /root/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
Terminal Information :
Running Transaction Check
ERROR with transaction check vs depsolve:
/usr/sbin/chkfontpath is needed by msttcorefonts-2.0-1.noarch
Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=yum
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
msttcorefonts-1.3-4.noarch has missing requires of /usr/sbin/chkfontpath
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx.2012-07-15.00-07.5ivvzI.yumtx
Want to install mscore fonts..
As it says, you already have a version of the package instaleld with the problem. So yum doesn't see it as a new problem (but rpm does).
You need to install something which provides chkfontpath, or remove/reinstall msttcorefonts (and then when installing it yum will require something which provides chkfontpath).
You can also do: --setop=recheck_installed_requires=True ... if your version of yum has that.