This file is indexed.

/usr/share/gtk-doc/html/PackageKit/introduction-ideas-transactionid.html is in packagekit-docs 0.8.17-4ubuntu6~gcc5.4ubuntu1.

This file is owned by root:root, with mode 0o644.

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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PackageKit Reference Manual: Transaction IDs</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="PackageKit Reference Manual">
<link rel="up" href="concepts.html" title="Important Concepts">
<link rel="prev" href="introduction-ideas-transactions.html" title="Transactions">
<link rel="next" href="introduction-ideas-status.html" title="Status Values">
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="concepts.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="introduction-ideas-transactions.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="introduction-ideas-status.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="sect1">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="introduction-ideas-transactionid"></a>Transaction IDs</h2></div></div></div>
<p>
      A <code class="literal">transaction_id</code> is a unique identifier that
      identifies the present or past transaction.
      A transaction is made up of one or more sub-transactions.
      A transaction has one <code class="literal">role</code> for the entire lifetime,
      but the transaction can different values of <code class="literal">status</code>
      as the transaction is processed.
    </p>
<p>
      For example, if the user "Installed OpenOffice" and the backend has to:
    </p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>
          update libxml2 as a dependency
        </p></li>
<li class="listitem"><p>
          install java as dependency
        </p></li>
<li class="listitem"><p>
          install openoffice-bin
        </p></li>
<li class="listitem"><p>
          install openoffice-clipart
        </p></li>
</ul></div>
<p>
      This is one single transaction with the role <code class="literal">install</code>,
      with 4 different sub-transactions.
    </p>
<p>
      The <code class="literal">transaction_id</code> must be of the format
      <code class="literal">/job_identifier_data</code> where the daemon controls
      all parameters.
      <code class="literal">job</code> is a monotonically updating number and is
      retained over reboots.
      <code class="literal">identifier</code> is random data used by the daemon to
      ensure jobs started in parallel cannot race, and also to make a
      malicious client program harder to write.
      <code class="literal">data</code> can be used for ref-counting in the backend or
      for any other purpose.
      It is designed to make the life of a backend writer a little bit easier.
      An example <code class="literal">transaction_id</code> would be
      <code class="literal">/45_dafeca_checkpoint32</code>
    </p>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.20</div>
</body>
</html>