From Fedora Project Wiki

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 dnf to it[4],
  7. try a dnf upgrade.
  8. if that fails, try to understand why, rpm -e whatever dnf upgrade 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,

dnf list obsoletes

before the dnf upgrate to check what dnf 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 dnf upgrade 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.