From Fedora Project Wiki

Revision as of 11:47, 22 February 2009 by Nim (talk | contribs) (New page: <noinclude>{{CompactHeader|fonts-sig}}</noinclude> To check an upgrade path works: # find a test Fedora system, # make sure none of the new packages are already installed<ref>It would con...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A page of the Fonts Special Interest Group

To check an upgrade path works:

  1. find a test Fedora system,
  2. make sure none of the new packages are already installed[1],
  3. install part or all of the old package set,
  4. copy the new packages to a local directory[2],
  5. run createrepo on this directory[3],
  6. point yum to it[4],
  7. try a yum update.
  8. if that fails, try to understand why, rpm -e whatever yum update installed and repeat from step 1.


You can also use:

rpm -qp --obsoletes mypackage

… to check the obsoletes declared by one of your new packages and,

yum list obsoletes

before the yum update to check what yum thinks about your new packages[5].


Notes:

  1. It would confuse the tools.
  2. If you're creating them:
    1. adapt the previous spec file or create a new one,
    2. mock/koji-build the result.
  3. createrepo <directory>
  4. Use a repo file such as this one:
    [tmp]
    name=tmp
    baseurl=file:///tmp/rpm
    enabled=1
    gpgcheck=0
  5. But that won't check scriptlets and other packaging bits so do check yum update works afterwards.


Idea.png
Fonts in Fedora
The Fonts SIG takes loving care of Fedora fonts. Please join this special interest group if you are interested in creating, improving, packaging, or just suggesting a font. Any help will be appreciated.