{
    "mode": "man",
    "parameter": "update-catalog",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/update-catalog/8/json",
    "generated": "2026-06-15T13:47:27Z",
    "synopsis": "update-catalog [options] --add centralizedcatalog ordinarycatalog\nupdate-catalog [options] --remove centralizedcatalog ordinarycatalog\nupdate-catalog [options] --update-super",
    "sections": {
        "NAME": {
            "content": "update-catalog - create or update entry in SGML catalog file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "update-catalog [options] --add centralizedcatalog ordinarycatalog\n\nupdate-catalog [options] --remove centralizedcatalog ordinarycatalog\n\nupdate-catalog [options] --update-super\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "update-catalog  inserts,  updates or removes entries in the SGML centralized catalogs located\nin /etc/sgml.  To change the SGML super catalog located in /etc/sgml/catalog modify  the  di‐\nrectory  contents of /etc/sgml to contain new files or symbolic links having a .cat extension\nor remove (or move) existing centralized catalogs and regenerate the super catalog using  the\n--update-super option.  See section SUPER CATALOG for details on the generation process.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "--add  Adds an entry for the ordinarycatalog in the centralizedcatalog.\n",
            "subsections": [
                {
                    "name": "--remove",
                    "content": "Removes the entry for the ordinarycatalog from the centralizedcatalog.\n",
                    "long": "--remove"
                },
                {
                    "name": "--update-super",
                    "content": "Regenerates  the SGML super catalog from the contents of the /etc/sgml directory.  See\nsection SUPER CATALOG for details on the super catalog generation.\n",
                    "long": "--update-super"
                },
                {
                    "name": "--quiet",
                    "content": "Prevents the usual diagnostic output.\n\n--test Prevents the update of the catalog and writes the resulting SGML catalog  to  standard\noutput.\n",
                    "long": "--quiet"
                },
                {
                    "name": "--version",
                    "content": "Displays the version information and exits.\n\n--help Display the usage information and exits.\n",
                    "long": "--version"
                }
            ]
        },
        "SUPER CATALOG": {
            "content": "The  super-catalog located in /etc/sgml/catalog cannot be directly modified.  It is generated\nby the  update-catalog  --update-super  command.   The  generation  considers  files  in  the\n/etc/sgml  directory  that have a .cat extension.  For instance files ending in .old or .dis‐\nabled are not considered.  Before adding a catalog to the super catalog it is parsed and ver‐\nified in order to not corrupt the super catalog.  All referenced catalogs are verified to ac‐\ntually exist.  If the check fails, a message is printed and the complete catalog is  ignored.\nThis check ensures that a catalog from a package, which is removed but not purged, is removed\nfrom the super catalog.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Ardo van Rangelrooij <ardo@debian.org>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright © 2001-2004 Ardo van Rangelrooij Copyright © 2012 Helmut Grohne\n\nThis is free software; see the GNU General Public Licence version 2 or later for copying con‐\nditions.  There is no warranty.\n\n\n\nDebian Project                                June 2004                            UPDATE-CATALOG(8)",
            "subsections": []
        }
    },
    "summary": "update-catalog - create or update entry in SGML catalog file",
    "flags": [
        {
            "flag": "",
            "long": "--remove",
            "arg": null,
            "description": "Removes the entry for the ordinarycatalog from the centralizedcatalog."
        },
        {
            "flag": "",
            "long": "--update-super",
            "arg": null,
            "description": "Regenerates the SGML super catalog from the contents of the /etc/sgml directory. See section SUPER CATALOG for details on the super catalog generation."
        },
        {
            "flag": "",
            "long": "--quiet",
            "arg": null,
            "description": "Prevents the usual diagnostic output. --test Prevents the update of the catalog and writes the resulting SGML catalog to standard output."
        },
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "Displays the version information and exits. --help Display the usage information and exits."
        }
    ],
    "examples": [],
    "see_also": []
}