{
    "mode": "man",
    "parameter": "deb-conffiles",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/deb-conffiles/5/json",
    "generated": "2026-09-23T18:17:46Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "deb-conffiles - package conffiles\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "DEBIAN/conffiles",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "A package declares its list of conffiles by including a conffiles file in its control archive\n(i.e. DEBIAN/conffiles during package creation).\n\nThis file contains a list of files, one per line, with an optional leading flag separated by\nwhitespace.  The conffiles must be listed as absolute pathnames.  Trailing whitespace will be\ntrimmed, but empty or whitespace-only lines are not accepted.\n\nFiles without a flag should exist in the binary package, otherwise dpkg(1) will ignore them.\n\nThere is currently only one flag supported, remove-on-upgrade, to mark that a conffile needs\nto be removed on the next upgrade (since dpkg 1.20.6).  These files must not exist in the\nbinary package, as both dpkg(1) and dpkg-deb(1) will not accept building nor processing such\nbinary packages.\n",
            "subsections": []
        },
        "EXAMPLE": {
            "content": "/etc/alternatives/README\n/etc/cron.daily/dpkg\n/etc/dpkg/dpkg.cfg\n/etc/logrotate.d/dpkg\nremove-on-upgrade /etc/some-old-file.conf\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "dpkg-deb(1), dpkg(1).\n\n1.22.6                                       2026-05-06                             deb-conffiles(5)",
            "subsections": []
        }
    },
    "summary": "deb-conffiles - package conffiles",
    "flags": [],
    "examples": [
        "/etc/alternatives/README",
        "/etc/cron.daily/dpkg",
        "/etc/dpkg/dpkg.cfg",
        "/etc/logrotate.d/dpkg",
        "remove-on-upgrade /etc/some-old-file.conf"
    ],
    "see_also": [
        {
            "name": "dpkg-deb",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/dpkg-deb/1/json"
        },
        {
            "name": "dpkg",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/dpkg/1/json"
        }
    ]
}