LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   problem using yum (http://www.linuxquestions.org/questions/fedora-35/problem-using-yum-4175439473/)

rmknox 11-30-2012 11:34 AM

problem using yum
 
Yum advises me as follows
Code:

[knox@knox ~]$ sudo yum check
Loaded plugins: auto-update-debuginfo, presto, refresh-packagekit
msttcorefonts-1.3-4.noarch has missing requires of /usr/sbin/chkfontpath
picasa-3.0.5744-02.i386 is obsoleted by picasa-3.0.5744-02.i386
Error: check all
[knox@knox ~]$

So I tried to remove mstt etc
Code:

[knox@knox ~]$ sudo yum remove msttcorefonts-1.3-4.noarch
Loaded plugins: auto-update-debuginfo, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package msttcorefonts.noarch 0:1.3-4 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================
 Package                              Arch                          Version                        Repository                        Size
===========================================================================================================================================
Removing:
 msttcorefonts                        noarch                        1.3-4                          installed                        5.9 M

Transaction Summary
===========================================================================================================================================
Remove  1 Package

Installed size: 5.9 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Error in PREUN scriptlet in rpm package msttcorefonts-1.3-4.noarch
  Verifying  : msttcorefonts-1.3-4.noarch                                                                                              1/1

Failed:
  msttcorefonts.noarch 0:1.3-4                                                                                                           

Complete!

maybe it doesn't matter?
suggestions?

also curious - it says that a version of picassa is obsoleted by itself?

suggestions?

Post Script
I've since done some research - apparently msttcorefonts is a hold over from obsolete code

https://fedoraproject.org/wiki/Relea...atureNoMoreXFS

unSpawn 11-30-2012 12:05 PM

Quote:

Originally Posted by rmknox (Post 4840316)
maybe it doesn't matter?

First of all the msttcorefonts means a package with True Type Fonts. Apart from Balmer bearing Gifts (Software Transmittable Diseases more likely ;-p) it isn't a Fedora-sanctioned RPM but downloaded from elsewhere and built according to somebody elses specs with all the implications:
Code:

]$ rpm -qp msttcorefonts-1.3-4.noarch.rpm --qf="%{name} %{vendor} %{packager} %{license}\n"
msttcorefonts (none) Daniel Resare <corefonts@resare.com> Spec file is GPL, binary rpm is gratis but non-distributable

and installing it on a recent Fedora you get:
Code:

]$ sudo yum -d0 -C install msttcorefonts-1.3-4.noarch.rpm 2>&1 | head -2
Error: Package: msttcorefonts-1.3-4.noarch (/msttcorefonts-1.3-4.noarch)
          Requires: /usr/sbin/chkfontpath

and since Fedora hasn't got 'chkfontpath' anymore it means you probably used --force to install it anyway (and use of --force means you know you're SOL ;-p).


Quote:

Originally Posted by rmknox (Post 4840316)
suggestions?

If the package still seems to be installed try
Code:

sudo rpm --force -e msttcorefonts

rmknox 11-30-2012 12:10 PM

Quote:

Originally Posted by unSpawn (Post 4840334)
First of all the msttcorefonts means a package with True Type Fonts. Apart from Balmer bearing Gifts (Software Transmittable Diseases more likely ;-p) it isn't a Fedora-sanctioned RPM but downloaded from elsewhere and built according to somebody elses specs with all the implications:
Code:

]$ rpm -qp msttcorefonts-1.3-4.noarch.rpm --qf="%{name} %{vendor} %{packager} %{license}\n"
msttcorefonts (none) Daniel Resare <corefonts@resare.com> Spec file is GPL, binary rpm is gratis but non-distributable

and installing it on a recent Fedora you get:
Code:

]$ sudo yum -d0 -C install msttcorefonts-1.3-4.noarch.rpm 2>&1 | head -2
Error: Package: msttcorefonts-1.3-4.noarch (/msttcorefonts-1.3-4.noarch)
          Requires: /usr/sbin/chkfontpath

and since Fedora hasn't got 'chkfontpath' anymore it means you probably used --force to install it anyway (and use of --force means you know you're SOL ;-p).



If the package still seems to be installed try
Code:

sudo rpm --force -e msttcorefonts

Hi unSpawn
Code:

[knox@knox ~]$ sudo sudo rpm --force -e msttcorefonts
[sudo] password for knox:
rpm: only installation and upgrading may be forced
[knox@knox ~]$

small potatoes - not doing any harm to my knowledge

again - thanks for your help

DIck


All times are GMT -5. The time now is 01:59 AM.