This file is indexed.

/usr/share/doc/debdelta-doc/html/index.html is in debdelta-doc 0.55.

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

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
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>The debdelta suite</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="NEXT"
TITLE="a delta"
HREF="x54.html"></HEAD
><BODY
CLASS="article"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="ARTICLE"
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
><A
NAME="AEN1"
>The debdelta suite</A
></H1
><H3
CLASS="author"
><A
NAME="AEN4"
>Andrea C. G. Mennucci</A
></H3
><P
CLASS="copyright"
>Copyright &copy; 2006-2011 </P
><DIV
><DIV
CLASS="abstract"
><P
></P
><A
NAME="AEN8"
></A
><P
>debdelta is an application suite designed to compute
    changes between Debian packages. These changes (that we will call
    'deltas') are similar to the output of the "diff" program in that
    they may be used to store and transmit only the changes between
    Debian packages.  This suite contains 'debdelta-upgrade', that
    downloads deltas and use them to create all Debian packages needed
    for an 'apt-get upgrade'.  </P
><P
></P
></DIV
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="index.html#AEN13"
>Overview</A
></DT
><DD
><DL
><DT
>1.1. <A
HREF="index.html#AEN16"
>debdelta</A
></DT
><DT
>1.2. <A
HREF="index.html#AEN21"
>debpatch</A
></DT
><DT
>1.3. <A
HREF="index.html#AEN27"
>debdeltas</A
></DT
><DT
>1.4. <A
HREF="index.html#AEN34"
>debdelta-upgrade</A
></DT
><DT
>1.5. <A
HREF="index.html#AEN43"
>debforensic</A
></DT
></DL
></DD
><DT
>2. <A
HREF="x54.html"
>a delta</A
></DT
><DD
><DL
><DT
>2.1. <A
HREF="x54.html#AEN58"
>the info in a delta</A
></DT
><DT
>2.2. <A
HREF="x54.html#AEN61"
>how to apply a delta</A
></DT
></DL
></DD
><DT
>3. <A
HREF="x65.html"
>debdelta-upgrade service</A
></DT
><DD
><DL
><DT
>3.1. <A
HREF="x65.html#AEN69"
>The framework</A
></DT
><DT
>3.2. <A
HREF="x65.html#AEN74"
>The goals</A
></DT
><DT
>3.3. <A
HREF="x65.html#AEN82"
>The repository structure</A
></DT
><DT
>3.4. <A
HREF="x65.html#delta_creation"
>The repository creation</A
></DT
><DT
>3.5. <A
HREF="x65.html#AEN102"
>size limit</A
></DT
><DT
>3.6. <A
HREF="x65.html#AEN106"
>/etc/debdelta/sources.conf</A
></DT
><DT
>3.7. <A
HREF="x65.html#AEN115"
>indexes</A
></DT
><DD
><DL
><DT
>3.7.1. <A
HREF="x65.html#AEN117"
>indexes of debs in APT</A
></DT
><DT
>3.7.2. <A
HREF="x65.html#no_indexes"
>no indexes of deltas in debdelta</A
></DT
></DL
></DD
><DT
>3.8. <A
HREF="x65.html#no_incremental"
>no incremental deltas</A
></DT
><DD
><DL
><DT
>3.8.1. <A
HREF="x65.html#AEN131"
>What "incremental" would be, and why it is not</A
></DT
></DL
></DD
><DT
>3.9. <A
HREF="x65.html#repo_howto"
>Repository howto</A
></DT
><DD
><DL
><DT
>3.9.1. <A
HREF="x65.html#AEN154"
>debmirror --debmarshal</A
></DT
><DT
>3.9.2. <A
HREF="x65.html#AEN167"
>hooks and repository of old_debs</A
></DT
></DL
></DD
></DL
></DD
><DT
>4. <A
HREF="x182.html"
>Goals, tricks, ideas and issues</A
></DT
><DD
><DL
><DT
>4.1. <A
HREF="x182.html#AEN184"
>exact patching</A
></DT
><DT
>4.2. <A
HREF="x182.html#AEN195"
>exact recompression</A
></DT
><DT
>4.3. <A
HREF="x182.html#AEN204"
>speed</A
></DT
><DD
><DL
><DT
>4.3.1. <A
HREF="x182.html#AEN206"
>some (old) numbers</A
></DT
><DT
>4.3.2. <A
HREF="x182.html#AEN212"
>speeding up</A
></DT
><DT
>4.3.3. <A
HREF="x182.html#AEN216"
>the 10kb trick</A
></DT
><DT
>4.3.4. <A
HREF="x182.html#predictor"
>the choice, the predictor</A
></DT
><DT
>4.3.5. <A
HREF="x182.html#AEN232"
>State of the art</A
></DT
></DL
></DD
><DT
>4.4. <A
HREF="x182.html#the_enemy_within"
>better deb compression is a worse delta</A
></DT
><DT
>4.5. <A
HREF="x182.html#long_time"
>long time recovery</A
></DT
><DT
>4.6. <A
HREF="x182.html#AEN249"
>streaming</A
></DT
><DT
>4.7. <A
HREF="x182.html#format_unzipped"
>--format=unzipped</A
></DT
><DT
>4.8. <A
HREF="x182.html#format_preunpacked"
>--format=preunpacked</A
></DT
></DL
></DD
><DT
>5. <A
HREF="x277.html"
>Todo</A
></DT
><DD
><DL
><DT
>5.1. <A
HREF="x277.html#AEN279"
>todo list</A
></DT
><DT
>5.2. <A
HREF="x277.html#getting_worse"
>things are getting worse</A
></DT
></DL
></DD
></DL
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="AEN13"
>1. Overview</A
></H1
><P
>&#13;      The debdelta application suite is really composed of different
    applications.</P
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="AEN16"
>1.1. debdelta</A
></H2
><P
>&#13;      <B
CLASS="command"
>debdelta</B
> computes the delta, that is, a file
      that encodes the difference between two Debian packages.
      
      Example:
      <PRE
CLASS="programlisting"
>&#13;	$ a=/var/cache/apt/archives 
	$ debdelta -v $a/emacs-snapshot-common_1%3a20060512-1_all.deb \
	$a/emacs-snapshot-common_1%3a20060518-1_all.deb /tmp/emacs.debdelta
      </PRE
>
      the result is:
      deb delta is  12.5% of deb ; that is, 15452kB would be saved
    </P
></DIV
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="AEN21"
>1.2. debpatch</A
></H2
><P
>&#13;      <B
CLASS="command"
>debpatch</B
> 
      can use the delta file and a copy of the old Debian package
      to recreate the new Debian package.  (This process is called "applying
      the delta file"). If the old Debian package is not available, but is
      installed in the host, it can use the installed data; in this case,
      '/' is used in lieu of the old .deb.
    </P
><P
>&#13;      Example:
      <PRE
CLASS="programlisting"
>&#13;	$ debpatch -A  /tmp/emacs.debdelta / /tmp/emacs.deb
      </PRE
>
    </P
></DIV
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="AEN27"
>1.3. debdeltas</A
></H2
><P
>&#13;      <B
CLASS="command"
>debdeltas</B
>
      can be used to generate deltas for many debs at once.
      It will generate delta files with names such as
      <TT
CLASS="filename"
>package_old-version_new-version_architecture.debdelta</TT
>.
      
      If the delta exceeds ~70% of the deb, 'debdeltas' will delete it
      and leave a stamp of the form
      <TT
CLASS="filename"
>package_old-version_new-version_architecture.debdelta-too-big</TT
>.

      Example usages are in the man page; see also <A
HREF="x65.html#repo_howto"
>Section 3.9</A
>.
    </P
></DIV
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="AEN34"
>1.4. debdelta-upgrade</A
></H2
><P
>&#13;      <B
CLASS="command"
>debdelta-upgrade</B
>
      will download necessary deltas
      and apply them to create debs for a
      successive  <B
CLASS="command"
>apt-get upgrade</B
>.

      The deltas are available for upgrades in
      'stable' , 'stable-security' , 'testing', 'unstable' and 'experimental',
      for i386 and amd64.

      Example usage:
      <PRE
CLASS="programlisting"
>&#13;	# apt-get update &#38;&#38; debdelta-upgrade &#38;&#38; apt-get upgrade
      </PRE
>
      If run by a non-root user, debs are saved in /tmp/archives : do not
      forget to move them in <TT
CLASS="filename"
>/var/cache/apt/archives</TT
>
    </P
><P
>&#13;      debdelta-upgrade will also download .debs for which no delta is
      available (this is done in parallel to patching, to maximize
      speed). See the explanation of "debdelta-upgrade --deb-policy" in the
      man page for more informations and customization on which debs get downloaded.
    </P
><P
>&#13;      More informations are in next sections.
    </P
></DIV
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="AEN43"
>1.5. debforensic</A
></H2
><P
>&#13;      <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
> There is also another bunch of code 
      (that though was never distributed.... it is available in the GIT repo).
      </I
></SPAN
>. 
      <B
CLASS="command"
>debforensics</B
> creates
      and uses sqlite databases containing information regarding
      debian binary packages. <B
CLASS="command"
>debforensics --add</B
>
      will scan debian packages and add the list of files (and SHA1 hashes
      of them) to the database. <B
CLASS="command"
>debforensics --scan</B
>
      will check a file against multiple databases, to see if that file is part
      of any package.  <B
CLASS="command"
>debforensics --forensic</B
>
      will scan a filesystem and list files that are part of a package, and
      files that are not (or are missplaced, or have strange permissions....).
    </P
><P
>&#13;      If debdelta-upgrade fails to apply a delta, and '-d' is passed,
      then a debug file is generated, and  then debforensic may be used
      to understand what went wrong (theoretically).</P
><DIV
CLASS="important"
><P
></P
><TABLE
CLASS="important"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/important.gif"
HSPACE="5"
ALT="Important"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Beware: a full database for main/amd64 is 
       ~350MBs, without indexes. So in practice currently I cannot keep
        a database in my host.</P
></TD
></TR
></TABLE
></DIV
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x54.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>a delta</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>