openSUSE:Standards Rpm Metadata UpdateInfo

Jump to: navigation, search


The updateinfo.xml file

The authoritative definition of the XML schema is updateinfo.rnc in the zypp source repository.

Example

<updates>
  <update from="rel-eng@fedoraproject.org" status="stable" type="security" version="1.4">
    <id>FEDORA-2007-4594</id>
    <title>imlib-1.9.15-6.fc8</title>
    <release>Fedora 8</release>
    <issued date="2007-12-28 16:42:30"/>
    <references>
      <reference href="https://bugzilla.redhat.com/show_bug.cgi?id=426091" id="426091" title="CVE-2007-3568 imlib: infinite loop DoS using crafted BMP image" type="bugzilla"/>
    </references>
    <description>This update includes a fix for a denial-of-service issue (CVE-2007-3568) whereby an attacker who could get an imlib-using user to view a  specially-crafted BMP imag
    <pkglist>
      <collection short="F8">
        <name>Fedora 8</name>
        <package arch="ppc64" name="imlib-debuginfo" release="6.fc8" src="http://download.fedoraproject.org/pub/fedora/linux/updates/8/ppc64/imlib-debuginfo-1.9.15-6.fc8.ppc64.rpm"
          <filename>imlib-debuginfo-1.9.15-6.fc8.ppc64.rpm</filename>
          <reboot_suggested>True</reboot_suggested>
        </package>
      </collection>
    </pkglist>
  </update>
</updates>

Documentation of fields

The authoritative definition of the XML schema is [1] in the zypp source repository.


updates

update

  • from
  • status
  • type
  • version

id

String. Unique identification of the update.

title

String. Short, single-line summary of the update.

release

String. Product/distribution release name, e.g. Fedora 8 or SUSE Linux Enterprise Server 11.

issued

Integer. Number of seconds since Epoch specifying date and time of publishing the update. 2 forms are allowed:

 <issued date="1238171951"/>

or

 <issued>1238171951</issued>

references

reference
  • href
  • id
  • title
  • type

description

pkglist

collection

  • short
name
package
  • arch
  • name
  • release
  • src
  • version
filename

String. File name of the package.

 <filename>kernel-default-2.6.27.25-0.1.1.x86_64.rpm</filename>
reboot_suggested

Integer. 1 if update tool should suggest/automatically reboot the system after applying the update. Typical example is kernel update.

 <reboot_suggested>1</reboot_suggested>
restart_suggested

Integer. 1 if update tool should suggest/automatically restart itself after applying the update. Typical example is libzypp update. This functionality can be used also to fix update stack issues before applying other updates.

 <restart_suggested>1</restart_suggested>