This file is indexed.

prerm is in cmake 2.8.12.2-0ubuntu3.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -e

if [ "$1" = "failed-upgrade" ] && dpkg --compare-versions "$2" le 2.6.2-1; then
    # It is very likely that old-prerm failed due to emacsen-common being
    # unconfigured at this stage. The error is harmless and cannot be avoided
    # in a sane way.
    #   ERROR: emacsen-common being used before being configured.
    #   ERROR: This is likely a bug in the cmake package, which needs to
    #   ERROR: add one of the appropriate dependencies.
    #   ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz
    #   ERROR: for details
    #
    # Therefore tell the user to ignore the error and exit gracefully.
    cat >&2 <<END
NOTE: The emacsen-common error above is harmless and can be safely ignored.
NOTE: Upgrade will continue as usual.
END
    exit 0
fi