This file is indexed.

/usr/share/doc/ubuntu-policy/policy.html/footnotes.html is in ubuntu-policy 3.8.2.0ubuntu1.

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
  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
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">

<html>

<head>

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">

<title>Ubuntu Policy Manual - Footnotes</title>

<link href="index.html" rel="start">
<link href=".html" rel="prev">
<link href=".html" rel="next">
<link href="index.html#contents" rel="contents">
<link href="index.html#copyright" rel="copyright">
<link href="ch-scope.html" rel="chapter" title="1 About this manual">
<link href="ch-archive.html" rel="chapter" title="2 The Ubuntu Archive">
<link href="ch-binary.html" rel="chapter" title="3 Binary packages">
<link href="ch-source.html" rel="chapter" title="4 Source packages">
<link href="ch-controlfields.html" rel="chapter" title="5 Control files and their fields">
<link href="ch-maintainerscripts.html" rel="chapter" title="6 Package maintainer scripts and installation procedure">
<link href="ch-relationships.html" rel="chapter" title="7 Declaring relationships between packages">
<link href="ch-sharedlibs.html" rel="chapter" title="8 Shared libraries">
<link href="ch-opersys.html" rel="chapter" title="9 The Operating System">
<link href="ch-files.html" rel="chapter" title="10 Files">
<link href="ch-customized-programs.html" rel="chapter" title="11 Customized programs">
<link href="ch-docs.html" rel="chapter" title="12 Documentation">
<link href="ap-pkg-scope.html" rel="appendix" title="A Introduction and scope of these appendices">
<link href="ap-pkg-binarypkg.html" rel="appendix" title="B Binary packages (from old Packaging Manual)">
<link href="ap-pkg-sourcepkg.html" rel="appendix" title="C Source packages (from old Packaging Manual)">
<link href="ap-pkg-controlfields.html" rel="appendix" title="D Control files and their fields (from old Packaging Manual)">
<link href="ap-pkg-conffiles.html" rel="appendix" title="E Configuration file handling (from old Packaging Manual)">
<link href="ap-pkg-alternatives.html" rel="appendix" title="F Alternative versions of an interface - <code>update-alternatives</code> (from old Packaging Manual)">
<link href="ap-pkg-diversions.html" rel="appendix" title="G Diversions - overriding a package's version of a file (from old Packaging Manual)">
<link href="ch-scope.html#s1.1" rel="section" title="1.1 Scope">
<link href="ch-scope.html#s1.2" rel="section" title="1.2 New versions of this document">
<link href="ch-scope.html#s-authors" rel="section" title="1.3 Authors and Maintainers">
<link href="ch-scope.html#s-related" rel="section" title="1.4 Related documents">
<link href="ch-scope.html#s-definitions" rel="section" title="1.5 Definitions">
<link href="ch-archive.html#s-ulp" rel="section" title="2.1 The Ubuntu Licensing Policy">
<link href="ch-archive.html#s-sections" rel="section" title="2.2 Archive areas">
<link href="ch-archive.html#s-pkgcopyright" rel="section" title="2.3 Copyright considerations">
<link href="ch-archive.html#s-subsections" rel="section" title="2.4 Sections">
<link href="ch-archive.html#s-priorities" rel="section" title="2.5 Priorities">
<link href="ch-binary.html#s3.1" rel="section" title="3.1 The package name">
<link href="ch-binary.html#s-versions" rel="section" title="3.2 The version of a package">
<link href="ch-binary.html#s3.3" rel="section" title="3.3 The maintainer of a package">
<link href="ch-binary.html#s-descriptions" rel="section" title="3.4 The description of a package">
<link href="ch-binary.html#s3.5" rel="section" title="3.5 Dependencies">
<link href="ch-binary.html#s-virtual_pkg" rel="section" title="3.6 Virtual packages">
<link href="ch-binary.html#s3.7" rel="section" title="3.7 Base system">
<link href="ch-binary.html#s3.8" rel="section" title="3.8 Essential packages">
<link href="ch-binary.html#s-maintscripts" rel="section" title="3.9 Maintainer Scripts">
<link href="ch-source.html#s-standardsversion" rel="section" title="4.1 Standards conformance">
<link href="ch-source.html#s-pkg-relations" rel="section" title="4.2 Package relationships">
<link href="ch-source.html#s4.3" rel="section" title="4.3 Changes to the upstream sources">
<link href="ch-source.html#s-dpkgchangelog" rel="section" title="4.4 Ubuntu changelog: <code>debian/changelog</code>">
<link href="ch-source.html#s-dpkgcopyright" rel="section" title="4.5 Copyright: <code>debian/copyright</code>">
<link href="ch-source.html#s4.6" rel="section" title="4.6 Error trapping in makefiles">
<link href="ch-source.html#s-timestamps" rel="section" title="4.7 Time Stamps">
<link href="ch-source.html#s-restrictions" rel="section" title="4.8 Restrictions on objects in source packages">
<link href="ch-source.html#s-debianrules" rel="section" title="4.9 Main building script: <code>debian/rules</code>">
<link href="ch-source.html#s-substvars" rel="section" title="4.10 Variable substitutions: <code>debian/substvars</code>">
<link href="ch-source.html#s-debianwatch" rel="section" title="4.11 Optional upstream source location: <code>debian/watch</code>">
<link href="ch-source.html#s-debianfiles" rel="section" title="4.12 Generated files list: <code>debian/files</code>">
<link href="ch-source.html#s-embeddedfiles" rel="section" title="4.13 Convenience copies of code">
<link href="ch-source.html#s-readmesource" rel="section" title="4.14 Source package handling: <code>debian/README.source</code>">
<link href="ch-controlfields.html#s-controlsyntax" rel="section" title="5.1 Syntax of control files">
<link href="ch-controlfields.html#s-sourcecontrolfiles" rel="section" title="5.2 Source package control files -- <code>debian/control</code>">
<link href="ch-controlfields.html#s-binarycontrolfiles" rel="section" title="5.3 Binary package control files -- <code>DEBIAN/control</code>">
<link href="ch-controlfields.html#s-debiansourcecontrolfiles" rel="section" title="5.4 Debian source control files -- <samp>.dsc</samp>">
<link href="ch-controlfields.html#s-debianchangesfiles" rel="section" title="5.5 Debian changes files -- <code>.changes</code>">
<link href="ch-controlfields.html#s-controlfieldslist" rel="section" title="5.6 List of fields">
<link href="ch-controlfields.html#s5.7" rel="section" title="5.7 User-defined fields">
<link href="ch-maintainerscripts.html#s6.1" rel="section" title="6.1 Introduction to package maintainer scripts">
<link href="ch-maintainerscripts.html#s-idempotency" rel="section" title="6.2 Maintainer scripts idempotency">
<link href="ch-maintainerscripts.html#s-controllingterminal" rel="section" title="6.3 Controlling terminal for maintainer scripts">
<link href="ch-maintainerscripts.html#s-exitstatus" rel="section" title="6.4 Exit status">
<link href="ch-maintainerscripts.html#s-mscriptsinstact" rel="section" title="6.5 Summary of ways maintainer scripts are called">
<link href="ch-maintainerscripts.html#s-unpackphase" rel="section" title="6.6 Details of unpack phase of installation or upgrade">
<link href="ch-maintainerscripts.html#s-configdetails" rel="section" title="6.7 Details of configuration">
<link href="ch-maintainerscripts.html#s-removedetails" rel="section" title="6.8 Details of removal and/or configuration purging">
<link href="ch-relationships.html#s-depsyntax" rel="section" title="7.1 Syntax of relationship fields">
<link href="ch-relationships.html#s-binarydeps" rel="section" title="7.2 Binary Dependencies - <samp>Depends</samp>, <samp>Recommends</samp>, <samp>Suggests</samp>, <samp>Enhances</samp>, <samp>Pre-Depends</samp>">
<link href="ch-relationships.html#s-breaks" rel="section" title="7.3 Packages which break other packages - <samp>Breaks</samp>">
<link href="ch-relationships.html#s-conflicts" rel="section" title="7.4 Conflicting binary packages - <samp>Conflicts</samp>">
<link href="ch-relationships.html#s-virtual" rel="section" title="7.5 Virtual packages - <samp>Provides</samp>">
<link href="ch-relationships.html#s-replaces" rel="section" title="7.6 Overwriting files and replacing packages - <samp>Replaces</samp>">
<link href="ch-relationships.html#s-sourcebinarydeps" rel="section" title="7.7 Relationships between source and binary packages - <samp>Build-Depends</samp>, <samp>Build-Depends-Indep</samp>, <samp>Build-Conflicts</samp>, <samp>Build-Conflicts-Indep</samp>">
<link href="ch-sharedlibs.html#s-sharedlibs-runtime" rel="section" title="8.1 Run-time shared libraries">
<link href="ch-sharedlibs.html#s-sharedlibs-support-files" rel="section" title="8.2 Shared library support files">
<link href="ch-sharedlibs.html#s-sharedlibs-static" rel="section" title="8.3 Static libraries">
<link href="ch-sharedlibs.html#s-sharedlibs-dev" rel="section" title="8.4 Development files">
<link href="ch-sharedlibs.html#s-sharedlibs-intradeps" rel="section" title="8.5 Dependencies between the packages of the same library">
<link href="ch-sharedlibs.html#s-sharedlibs-shlibdeps" rel="section" title="8.6 Dependencies between the library and other packages - the <samp>shlibs</samp> system">
<link href="ch-opersys.html#s9.1" rel="section" title="9.1 File system hierarchy">
<link href="ch-opersys.html#s9.2" rel="section" title="9.2 Users and groups">
<link href="ch-opersys.html#s-sysvinit" rel="section" title="9.3 System run levels and <code>init.d</code> scripts">
<link href="ch-opersys.html#s9.4" rel="section" title="9.4 Console messages from <code>init.d</code> scripts">
<link href="ch-opersys.html#s9.5" rel="section" title="9.5 Cron jobs">
<link href="ch-opersys.html#s-menus" rel="section" title="9.6 Menus">
<link href="ch-opersys.html#s-mime" rel="section" title="9.7 Multimedia handlers">
<link href="ch-opersys.html#s9.8" rel="section" title="9.8 Keyboard configuration">
<link href="ch-opersys.html#s9.9" rel="section" title="9.9 Environment variables">
<link href="ch-opersys.html#s-doc-base" rel="section" title="9.10 Registering Documents using doc-base">
<link href="ch-files.html#s10.1" rel="section" title="10.1 Binaries">
<link href="ch-files.html#s-libraries" rel="section" title="10.2 Libraries">
<link href="ch-files.html#s10.3" rel="section" title="10.3 Shared libraries">
<link href="ch-files.html#s-scripts" rel="section" title="10.4 Scripts">
<link href="ch-files.html#s10.5" rel="section" title="10.5 Symbolic links">
<link href="ch-files.html#s10.6" rel="section" title="10.6 Device files">
<link href="ch-files.html#s-config-files" rel="section" title="10.7 Configuration files">
<link href="ch-files.html#s10.8" rel="section" title="10.8 Log files">
<link href="ch-files.html#s10.9" rel="section" title="10.9 Permissions and owners">
<link href="ch-customized-programs.html#s-arch-spec" rel="section" title="11.1 Architecture specification strings">
<link href="ch-customized-programs.html#s11.2" rel="section" title="11.2 Daemons">
<link href="ch-customized-programs.html#s11.3" rel="section" title="11.3 Using pseudo-ttys and modifying wtmp, utmp and lastlog">
<link href="ch-customized-programs.html#s11.4" rel="section" title="11.4 Editors and pagers">
<link href="ch-customized-programs.html#s-web-appl" rel="section" title="11.5 Web servers and applications">
<link href="ch-customized-programs.html#s-mail-transport-agents" rel="section" title="11.6 Mail transport, delivery and user agents">
<link href="ch-customized-programs.html#s11.7" rel="section" title="11.7 News system configuration">
<link href="ch-customized-programs.html#s11.8" rel="section" title="11.8 Programs for the X Window System">
<link href="ch-customized-programs.html#s-perl" rel="section" title="11.9 Perl programs and modules">
<link href="ch-customized-programs.html#s-emacs" rel="section" title="11.10 Emacs lisp programs">
<link href="ch-customized-programs.html#s11.11" rel="section" title="11.11 Games">
<link href="ch-docs.html#s12.1" rel="section" title="12.1 Manual pages">
<link href="ch-docs.html#s12.2" rel="section" title="12.2 Info documents">
<link href="ch-docs.html#s12.3" rel="section" title="12.3 Additional documentation">
<link href="ch-docs.html#s12.4" rel="section" title="12.4 Preferred documentation formats">
<link href="ch-docs.html#s-copyrightfile" rel="section" title="12.5 Copyright information">
<link href="ch-docs.html#s12.6" rel="section" title="12.6 Examples">
<link href="ch-docs.html#s-changelogs" rel="section" title="12.7 Changelog files">
<link href="ap-pkg-binarypkg.html#s-pkg-bincreating" rel="section" title="B.1 Creating package files - <code>dpkg-deb</code>">
<link href="ap-pkg-binarypkg.html#s-pkg-controlarea" rel="section" title="B.2 Package control information files">
<link href="ap-pkg-binarypkg.html#s-pkg-controlfile" rel="section" title="B.3 The main control information file: <samp>control</samp>">
<link href="ap-pkg-binarypkg.html#sB.4" rel="section" title="B.4 Time Stamps">
<link href="ap-pkg-sourcepkg.html#s-pkg-sourcetools" rel="section" title="C.1 Tools for processing source packages">
<link href="ap-pkg-sourcepkg.html#s-pkg-sourcetree" rel="section" title="C.2 The Debianised source tree">
<link href="ap-pkg-sourcepkg.html#s-pkg-sourcearchives" rel="section" title="C.3 Source packages as archives">
<link href="ap-pkg-sourcepkg.html#sC.4" rel="section" title="C.4 Unpacking a Debian source package without <code>dpkg-source</code>">
<link href="ap-pkg-controlfields.html#sD.1" rel="section" title="D.1 Syntax of control files">
<link href="ap-pkg-controlfields.html#sD.2" rel="section" title="D.2 List of fields">
<link href="ap-pkg-conffiles.html#sE.1" rel="section" title="E.1 Automatic handling of configuration files by <code>dpkg</code>">
<link href="ap-pkg-conffiles.html#sE.2" rel="section" title="E.2 Fully-featured maintainer script configuration handling">
<link href="ch-archive.html#s-main" rel="subsection" title="2.2.1 The main archive area">
<link href="ch-archive.html#s-restricted" rel="subsection" title="2.2.2 The restricted archive area">
<link href="ch-archive.html#s-universe" rel="subsection" title="2.2.3 The universe archive area">
<link href="ch-archive.html#s-multiverse" rel="subsection" title="2.2.4 The multiverse archive area">
<link href="ch-binary.html#s3.2.1" rel="subsection" title="3.2.1 Version numbers based on dates">
<link href="ch-binary.html#s-synopsis" rel="subsection" title="3.4.1 The single line synopsis">
<link href="ch-binary.html#s-extendeddesc" rel="subsection" title="3.4.2 The extended description">
<link href="ch-binary.html#s-maintscriptprompt" rel="subsection" title="3.9.1 Prompting in maintainer scripts">
<link href="ch-source.html#s-debianrules-options" rel="subsection" title="4.9.1 <code>debian/rules</code> and <samp>DEB_BUILD_OPTIONS</samp>">
<link href="ch-controlfields.html#s-f-Source" rel="subsection" title="5.6.1 <samp>Source</samp>">
<link href="ch-controlfields.html#s-f-Maintainer" rel="subsection" title="5.6.2 <samp>Maintainer</samp>">
<link href="ch-controlfields.html#s-f-Uploaders" rel="subsection" title="5.6.3 <samp>Uploaders</samp>">
<link href="ch-controlfields.html#s-f-Changed-By" rel="subsection" title="5.6.4 <samp>Changed-By</samp>">
<link href="ch-controlfields.html#s-f-Section" rel="subsection" title="5.6.5 <samp>Section</samp>">
<link href="ch-controlfields.html#s-f-Priority" rel="subsection" title="5.6.6 <samp>Priority</samp>">
<link href="ch-controlfields.html#s-f-Package" rel="subsection" title="5.6.7 <samp>Package</samp>">
<link href="ch-controlfields.html#s-f-Architecture" rel="subsection" title="5.6.8 <samp>Architecture</samp>">
<link href="ch-controlfields.html#s-f-Essential" rel="subsection" title="5.6.9 <samp>Essential</samp>">
<link href="ch-controlfields.html#s5.6.10" rel="subsection" title="5.6.10 Package interrelationship fields: <samp>Depends</samp>, <samp>Pre-Depends</samp>, <samp>Recommends</samp>, <samp>Suggests</samp>, <samp>Breaks</samp>, <samp>Conflicts</samp>, <samp>Provides</samp>, <samp>Replaces</samp>, <samp>Enhances</samp>">
<link href="ch-controlfields.html#s-f-Standards-Version" rel="subsection" title="5.6.11 <samp>Standards-Version</samp>">
<link href="ch-controlfields.html#s-f-Version" rel="subsection" title="5.6.12 <samp>Version</samp>">
<link href="ch-controlfields.html#s-f-Description" rel="subsection" title="5.6.13 <samp>Description</samp>">
<link href="ch-controlfields.html#s-f-Distribution" rel="subsection" title="5.6.14 <samp>Distribution</samp>">
<link href="ch-controlfields.html#s-f-Date" rel="subsection" title="5.6.15 <samp>Date</samp>">
<link href="ch-controlfields.html#s-f-Format" rel="subsection" title="5.6.16 <samp>Format</samp>">
<link href="ch-controlfields.html#s-f-Urgency" rel="subsection" title="5.6.17 <samp>Urgency</samp>">
<link href="ch-controlfields.html#s-f-Changes" rel="subsection" title="5.6.18 <samp>Changes</samp>">
<link href="ch-controlfields.html#s-f-Binary" rel="subsection" title="5.6.19 <samp>Binary</samp>">
<link href="ch-controlfields.html#s-f-Installed-Size" rel="subsection" title="5.6.20 <samp>Installed-Size</samp>">
<link href="ch-controlfields.html#s-f-Files" rel="subsection" title="5.6.21 <samp>Files</samp>">
<link href="ch-controlfields.html#s-f-Closes" rel="subsection" title="5.6.22 <samp>Closes</samp>">
<link href="ch-controlfields.html#s-f-Launchpad-Bugs-Fixed" rel="subsection" title="5.6.23 <samp>Launchpad-Bugs-Fixed</samp>">
<link href="ch-controlfields.html#s-f-Homepage" rel="subsection" title="5.6.24 <samp>Homepage</samp>">
<link href="ch-relationships.html#s7.6.1" rel="subsection" title="7.6.1 Overwriting files in other packages">
<link href="ch-relationships.html#s7.6.2" rel="subsection" title="7.6.2 Replacing whole packages, forcing their removal">
<link href="ch-sharedlibs.html#s-ldconfig" rel="subsection" title="8.1.1 <samp>ldconfig</samp>">
<link href="ch-sharedlibs.html#s8.6.1" rel="subsection" title="8.6.1 The <samp>shlibs</samp> files present on the system">
<link href="ch-sharedlibs.html#s8.6.2" rel="subsection" title="8.6.2 How to use <code>dpkg-shlibdeps</code> and the <code>shlibs</code> files">
<link href="ch-sharedlibs.html#s-shlibs" rel="subsection" title="8.6.3 The <code>shlibs</code> File Format">
<link href="ch-sharedlibs.html#s8.6.4" rel="subsection" title="8.6.4 Providing a <code>shlibs</code> file">
<link href="ch-sharedlibs.html#s-shlibslocal" rel="subsection" title="8.6.5 Writing the <code>debian/shlibs.local</code> file">
<link href="ch-opersys.html#s-fhs" rel="subsection" title="9.1.1 File System Structure">
<link href="ch-opersys.html#s9.1.2" rel="subsection" title="9.1.2 Site-specific programs">
<link href="ch-opersys.html#s9.1.3" rel="subsection" title="9.1.3 The system-wide mail directory">
<link href="ch-opersys.html#s9.2.1" rel="subsection" title="9.2.1 Introduction">
<link href="ch-opersys.html#s9.2.2" rel="subsection" title="9.2.2 UID and GID classes">
<link href="ch-opersys.html#s-/etc/init.d" rel="subsection" title="9.3.1 Introduction">
<link href="ch-opersys.html#s9.3.2" rel="subsection" title="9.3.2 Writing the scripts">
<link href="ch-opersys.html#s9.3.3" rel="subsection" title="9.3.3 Interfacing with the initscript system">
<link href="ch-opersys.html#s9.3.3.1" rel="subsection" title="9.3.3.1 Managing the links">
<link href="ch-opersys.html#s9.3.3.2" rel="subsection" title="9.3.3.2 Running initscripts">
<link href="ch-opersys.html#s9.3.4" rel="subsection" title="9.3.4 Boot-time initialization">
<link href="ch-opersys.html#s9.3.5" rel="subsection" title="9.3.5 Example">
<link href="ch-files.html#s10.7.1" rel="subsection" title="10.7.1 Definitions">
<link href="ch-files.html#s10.7.2" rel="subsection" title="10.7.2 Location">
<link href="ch-files.html#s10.7.3" rel="subsection" title="10.7.3 Behavior">
<link href="ch-files.html#s10.7.4" rel="subsection" title="10.7.4 Sharing configuration files">
<link href="ch-files.html#s10.7.5" rel="subsection" title="10.7.5 User configuration files (&quot;dotfiles&quot;)">
<link href="ch-files.html#s10.9.1" rel="subsection" title="10.9.1 The use of <code>dpkg-statoverride</code>">
<link href="ch-customized-programs.html#s11.8.1" rel="subsection" title="11.8.1 Providing X support and package priorities">
<link href="ch-customized-programs.html#s11.8.2" rel="subsection" title="11.8.2 Packages providing an X server">
<link href="ch-customized-programs.html#s11.8.3" rel="subsection" title="11.8.3 Packages providing a terminal emulator">
<link href="ch-customized-programs.html#s11.8.4" rel="subsection" title="11.8.4 Packages providing a window manager">
<link href="ch-customized-programs.html#s11.8.5" rel="subsection" title="11.8.5 Packages providing fonts">
<link href="ch-customized-programs.html#s11.8.6" rel="subsection" title="11.8.6 Application defaults files">
<link href="ch-customized-programs.html#s11.8.7" rel="subsection" title="11.8.7 Installation directory issues">
<link href="ch-customized-programs.html#s11.8.8" rel="subsection" title="11.8.8 The OSF/Motif and OpenMotif libraries">
<link href="ch-customized-programs.html#s11.8.9" rel="subsection" title="11.8.9 Icon caching">
<link href="ap-pkg-sourcepkg.html#s-pkg-dpkg-source" rel="subsection" title="C.1.1 <code>dpkg-source</code> - packs and unpacks Debian source packages">
<link href="ap-pkg-sourcepkg.html#s-pkg-dpkg-buildpackage" rel="subsection" title="C.1.2 <code>dpkg-buildpackage</code> - overall package-building control script">
<link href="ap-pkg-sourcepkg.html#s-pkg-dpkg-gencontrol" rel="subsection" title="C.1.3 <code>dpkg-gencontrol</code> - generates binary package control files">
<link href="ap-pkg-sourcepkg.html#s-pkg-dpkg-shlibdeps" rel="subsection" title="C.1.4 <code>dpkg-shlibdeps</code> - calculates shared library dependencies">
<link href="ap-pkg-sourcepkg.html#s-pkg-dpkg-distaddfile" rel="subsection" title="C.1.5 <code>dpkg-distaddfile</code> - adds a file to <code>debian/files</code>">
<link href="ap-pkg-sourcepkg.html#s-pkg-dpkg-genchanges" rel="subsection" title="C.1.6 <code>dpkg-genchanges</code> - generates a <code>.changes</code> upload control file">
<link href="ap-pkg-sourcepkg.html#s-pkg-dpkg-parsechangelog" rel="subsection" title="C.1.7 <code>dpkg-parsechangelog</code> - produces parsed representation of a changelog">
<link href="ap-pkg-sourcepkg.html#s-pkg-dpkg-architecture" rel="subsection" title="C.1.8 <code>dpkg-architecture</code> - information about the build and host system">
<link href="ap-pkg-sourcepkg.html#s-pkg-debianrules" rel="subsection" title="C.2.1 <code>debian/rules</code> - the main building script">
<link href="ap-pkg-sourcepkg.html#s-pkg-dpkgchangelog" rel="subsection" title="C.2.2 <code>debian/changelog</code>">
<link href="ap-pkg-sourcepkg.html#sC.2.2.1" rel="subsection" title="C.2.2.1 Defining alternative changelog formats">
<link href="ap-pkg-sourcepkg.html#s-pkg-srcsubstvars" rel="subsection" title="C.2.3 <code>debian/substvars</code> and variable substitutions">
<link href="ap-pkg-sourcepkg.html#sC.2.4" rel="subsection" title="C.2.4 <code>debian/files</code>">
<link href="ap-pkg-sourcepkg.html#sC.2.5" rel="subsection" title="C.2.5 <code>debian/tmp</code>">
<link href="ap-pkg-sourcepkg.html#sC.4.1" rel="subsection" title="C.4.1 Restrictions on objects in source packages">
<link href="ap-pkg-controlfields.html#s-pkg-f-Filename" rel="subsection" title="D.2.1 <samp>Filename</samp> and <samp>MSDOS-Filename</samp>">
<link href="ap-pkg-controlfields.html#s-pkg-f-Size" rel="subsection" title="D.2.2 <samp>Size</samp> and <samp>MD5sum</samp>">
<link href="ap-pkg-controlfields.html#s-pkg-f-Status" rel="subsection" title="D.2.3 <samp>Status</samp>">
<link href="ap-pkg-controlfields.html#s-pkg-f-Config-Version" rel="subsection" title="D.2.4 <samp>Config-Version</samp>">
<link href="ap-pkg-controlfields.html#s-pkg-f-Conffiles" rel="subsection" title="D.2.5 <samp>Conffiles</samp>">
<link href="ap-pkg-controlfields.html#sD.2.6" rel="subsection" title="D.2.6 Obsolete fields">

</head>

<body>

<hr>

<h1>
Ubuntu Policy Manual
<br>Footnotes</h1>

<h2><a href="ch-scope.html#fr1" name="f1">1</a></h2>

<p>
Informally, the criteria used for inclusion is that the material meet one of
the following requirements:
</p>
<dl>
<dt>Standard interfaces</dt>
<dd>
<p>
The material presented represents an interface to the packaging system that is
mandated for use, and is used by, a significant number of packages, and
therefore should not be changed without peer review.  Package maintainers can
then rely on this interfaces not changing, and the package management software
authors need to ensure compatibility with these interface definitions.
(Control file and changelog file formats are examples.)
</p>
</dd>
<dt>Chosen Convention</dt>
<dd>
<p>
If there are a number of technically viable choices that can be made, but one
needs to select one of these options for inter-operability.  The version number
format is one example.
</p>
</dd>
</dl>

<p>
Please note that these are not mutually exclusive; selected conventions often
become parts of standard interfaces.
</p>

<h2><a href="ch-scope.html#fr2" name="f2">2</a></h2>

<p>
Compare RFC 2119.  Note, however, that these words are used in a different way
in this document.
</p>

<h2><a href="ch-archive.html#fr3" name="f3">3</a></h2>

<p>
The Ubuntu archive software uses the term &quot;component&quot; internally and
in the Release file format to refer to the division of an archive.  The Debian
Social Contract simply refers to &quot;areas.&quot; This document uses
terminology similar to the Social Contract.
</p>

<h2><a href="ch-archive.html#fr4" name="f4">4</a></h2>

<p>
It is possible that there are policy requirements which the package is unable
to meet, for example, if the source is unavailable.  These situations will need
to be handled on a case-by-case basis.
</p>

<h2><a href="ch-archive.html#fr5" name="f5">5</a></h2>

<p>
It is possible that there are policy requirements which the package is unable
to meet, for example, if the source is unavailable.  These situations will need
to be handled on a case-by-case basis.
</p>

<h2><a href="ch-archive.html#fr6" name="f6">6</a></h2>

<p>
Packages that originally came from the Debian archive will often not have
<samp>Section</samp> fields matching the archive area selected for them in
Ubuntu.  There is no need to change the package just for this; the maintainers
of the Ubuntu archive can and will override its placement.
</p>

<h2><a href="ch-archive.html#fr7" name="f7">7</a></h2>

<p>
This is an important criterion because we are trying to produce, amongst other
things, a free Unix.
</p>

<h2><a href="ch-binary.html#fr8" name="f8">8</a></h2>

<p>
The detailed procedure for doing this gracefully can be found in the Debian
Developer's Reference, see <a href="ch-scope.html#s-related">Related documents,
Section 1.4</a>.
</p>

<h2><a href="ch-binary.html#fr9" name="f9">9</a></h2>

<p>
This is in response to a poll of Debian maintainers, documented in the <code><a
href="http://wiki.ubuntu.com/DebianMaintainerField">DebianMaintainerField
specification</a></code>.
</p>

<h2><a href="ch-binary.html#fr10" name="f10">10</a></h2>

<p>
The blurb that comes with a program in its announcements and/or
<code>README</code> files is rarely suitable for use in a description.  It is
usually aimed at people who are already in the community where the package is
used.
</p>

<h2><a href="ch-binary.html#fr11" name="f11">11</a></h2>

<p>
Essential is needed in part to avoid unresolvable dependency loops on upgrade.
If packages add unnecessary dependencies on packages in this set, the chances
that there <strong>will</strong> be an unresolvable dependency loop caused by
forcing these Essential packages to be configured first before they need to be
is greatly increased.  It also increases the chances that frontends will be
unable to <strong>calculate</strong> an upgrade path, even if one exists.
</p>

<p>
Also, functionality is rarely ever removed from the Essential set, but
<em>packages</em> have been removed from the Essential set when the
functionality moved to a different package.  So depending on these packages
<em>just in case</em> they stop being essential does way more harm than good.
</p>

<h2><a href="ch-binary.html#fr12" name="f12">12</a></h2>

<p>
The control.tar.gz inside the .deb.  See <code>deb(5)</code>.
</p>

<h2><a href="ch-binary.html#fr13" name="f13">13</a></h2>

<p>
<code>Debconf</code> or another tool that implements the Debian Configuration
Management Specification will also be installed, and any versioned dependencies
on it will be satisfied before preconfiguration begins.
</p>

<h2><a href="ch-source.html#fr14" name="f14">14</a></h2>

<p>
See the file <code>upgrading-checklist</code> for information about policy
which has changed between different versions of this document.
</p>

<h2><a href="ch-source.html#fr15" name="f15">15</a></h2>

<p>
Rationale:
</p>
<ul>
<li>
<p>
This allows maintaining the list separately from the policy documents (the list
does not need the kind of control that the policy documents do).
</p>
</li>
<li>
<p>
Having a separate package allows one to install the build-essential packages on
a machine, as well as allowing other packages such as tasks to require
installation of the build-essential packages using the depends relation.
</p>
</li>
<li>
<p>
The separate package allows bug reports against the list to be categorized
separately from the policy management process in the BTS.
</p>
</li>
</ul>

<h2><a href="ch-source.html#fr16" name="f16">16</a></h2>

<p>
The reason for this is that dependencies change, and you should list all those
packages, and <em>only</em> those packages that <em>you</em> need directly.
What others need is their business.  For example, if you only link against
<code>libimlib</code>, you will need to build-depend on
<code>libimlib2-dev</code> but not against any <samp>libjpeg*</samp> packages,
even though <samp>libimlib2-dev</samp> currently depends on them: installation
of <code>libimlib2-dev</code> will automatically ensure that all of its
run-time dependencies are satisfied.
</p>

<h2><a href="ch-source.html#fr17" name="f17">17</a></h2>

<p>
Mistakes in changelogs are usually best rectified by making a new changelog
entry rather than &quot;rewriting history&quot; by editing old changelog
entries.
</p>

<h2><a href="ch-source.html#fr18" name="f18">18</a></h2>

<p>
Although there is nothing stopping an author who is also the Ubuntu maintainer
from using this changelog for all their changes, it will have to be renamed if
the Ubuntu and upstream maintainers become different people.  In such a case,
however, it might be better to maintain the package as a non-native package.
</p>

<h2><a href="ch-source.html#fr19" name="f19">19</a></h2>

<p>
To be precise, the string should match the following Perl regular expression:
</p>

<pre>
     /closes:\s*(?:bug)?\#?\s?\d+(?:,\s*(?:bug)?\#?\s?\d+)*/i
</pre>

<p>
Then all of the bug numbers listed will be closed by the archive maintenance
script (<code>katie</code>) using the <var>version</var> of the changelog
entry.
</p>

<h2><a href="ch-source.html#fr20" name="f20">20</a></h2>

<p>
To be precise, the string should match the following Perl regular expression:
</p>

<pre>
     /lp:\s+\#\d+(?:,\s*\#\d+)*/i
</pre>

<p>
Then all of the bug numbers listed will be closed by the archive maintenance
software using the <var>version</var> of the changelog entry.
</p>

<h2><a href="ch-source.html#fr21" name="f21">21</a></h2>

<p>
This is generated by <samp>date -R</samp>.
</p>

<h2><a href="ch-source.html#fr22" name="f22">22</a></h2>

<p>
The rationale is that there is some information conveyed by knowing the age of
the file, for example, you could recognize that some documentation is very old
by looking at the modification time, so it would be nice if the modification
time of the upstream source would be preserved.
</p>

<h2><a href="ch-source.html#fr23" name="f23">23</a></h2>

<p>
This is not currently detected when building source packages, but only when
extracting them.
</p>

<p>
Hard links may be permitted at some point in the future, but would require a
fair amount of work.
</p>

<h2><a href="ch-source.html#fr24" name="f24">24</a></h2>

<p>
Setgid directories are allowed.
</p>

<h2><a href="ch-source.html#fr25" name="f25">25</a></h2>

<p>
Another common way to do this is for <samp>build</samp> to depend on
<code>build-stamp</code> and to do nothing else, and for the
<code>build-stamp</code> target to do the building and to <samp>touch
build-stamp</samp> on completion.  This is especially useful if the build
routine creates a file or directory called <samp>build</samp>; in such a case,
<samp>build</samp> will need to be listed as a phony target (i.e., as a
dependency of the <samp>.PHONY</samp> target).  See the documentation of
<code>make</code> for more information on phony targets.
</p>

<h2><a href="ch-source.html#fr26" name="f26">26</a></h2>

<p>
The <code>fakeroot</code> package often allows one to build a package correctly
even without being root.
</p>

<h2><a href="ch-source.html#fr27" name="f27">27</a></h2>

<p>
Some packages support any delimiter, but whitespace is the easiest to parse
inside a makefile and avoids ambiguity with flag values that contain commas.
</p>

<h2><a href="ch-source.html#fr28" name="f28">28</a></h2>

<p>
Packages built with <samp>make</samp> can often implement this by passing the
<samp>-j</samp><var>n</var> option to <samp>make</samp>.
</p>

<h2><a href="ch-source.html#fr29" name="f29">29</a></h2>

<p>
<code>files.new</code> is used as a temporary file by
<code>dpkg-gencontrol</code> and <code>dpkg-distaddfile</code> - they write a
new version of <samp>files</samp> here before renaming it, to avoid leaving a
corrupted copy if an error occurs.
</p>

<h2><a href="ch-source.html#fr30" name="f30">30</a></h2>

<p>
For example, parts of the GNU build system work like this.
</p>

<h2><a href="ch-source.html#fr31" name="f31">31</a></h2>

<p>
Having multiple copies of the same code in Ubuntu is inefficient, often creates
either static linking or shared library conflicts, and, most importantly,
increases the difficulty of handling security vulnerabilities in the duplicated
code.
</p>

<h2><a href="ch-controlfields.html#fr32" name="f32">32</a></h2>

<hr>

<p>
<code>dpkg</code>'s internal databases are in a similar format.
</p>

<h2><a href="ch-controlfields.html#fr33" name="f33">33</a></h2>

<p>
The paragraphs are also sometimes referred to as stanzas.
</p>

<h2><a href="ch-controlfields.html#fr34" name="f34">34</a></h2>

<p>
It is customary to leave a space after the package name if a version number is
specified.
</p>

<h2><a href="ch-controlfields.html#fr35" name="f35">35</a></h2>

<p>
This is the most often used setting, and is recommended for new packages that
aren't <samp>Architecture: all</samp>.
</p>

<h2><a href="ch-controlfields.html#fr36" name="f36">36</a></h2>

<p>
This is a setting used for a minority of cases where the program is not
portable.  Generally, it should not be used for new packages.
</p>

<h2><a href="ch-controlfields.html#fr37" name="f37">37</a></h2>

<p>
In the past, people specified the full version number in the Standards-Version
field, for example &quot;2.3.0.0&quot;.  Since minor patch-level changes don't
introduce new policy, it was thought it would be better to relax policy and
only require the first 3 components to be specified, in this example
&quot;2.3.0&quot;.  All four components may still be used if someone wishes to
do so.
</p>

<h2><a href="ch-controlfields.html#fr38" name="f38">38</a></h2>

<p>
Alphanumerics are <samp>A-Za-z0-9</samp> only.
</p>

<h2><a href="ch-controlfields.html#fr39" name="f39">39</a></h2>

<p>
One common use of <samp>~</samp> is for upstream pre-releases.  For example,
<samp>1.0~beta1~svn1245</samp> sorts earlier than <samp>1.0~beta1</samp>, which
sorts earlier than <samp>1.0</samp>.
</p>

<h2><a href="ch-controlfields.html#fr40" name="f40">40</a></h2>

<p>
Completely empty lines will not be rendered as blank lines.  Instead, they will
cause the parser to think you're starting a whole new record in the control
file, and will therefore likely abort with an error.
</p>

<h2><a href="ch-controlfields.html#fr41" name="f41">41</a></h2>

<p>
Current distribution names are:
</p>
<dl>
<dt><em>stable</em></dt>
<dd>
<p>
This is the current &quot;released&quot; version of Debian GNU/Linux.  Once the
distribution is <em>stable</em> only security fixes and other major bug fixes
are allowed.  When changes are made to this distribution, the release number is
increased (for example: 2.2r1 becomes 2.2r2 then 2.2r3, etc).
</p>
</dd>
<dt><em>unstable</em></dt>
<dd>
<p>
This distribution value refers to the <em>developmental</em> part of the Debian
distribution tree.  New packages, new upstream versions of packages and bug
fixes go into the <em>unstable</em> directory tree.  Download from this
distribution at your own risk.
</p>
</dd>
<dt><em>testing</em></dt>
<dd>
<p>
This distribution value refers to the <em>testing</em> part of the Debian
distribution tree.  It receives its packages from the unstable distribution
after a short time lag to ensure that there are no major issues with the
unstable packages.  It is less prone to breakage than unstable, but still
risky.  It is not possible to upload packages directly to <em>testing</em>.
</p>
</dd>
<dt><em>frozen</em></dt>
<dd>
<p>
From time to time, the <em>testing</em> distribution enters a state of
&quot;code-freeze&quot; in anticipation of release as a <em>stable</em>
version.  During this period of testing only fixes for existing or
newly-discovered bugs will be allowed.  The exact details of this stage are
determined by the Release Manager.
</p>
</dd>
<dt><em>experimental</em></dt>
<dd>
<p>
The packages with this distribution value are deemed by their maintainers to be
high risk.  Oftentimes they represent early beta or developmental packages from
various sources that the maintainers want people to try, but are not ready to
be a part of the other parts of the Debian distribution tree.  Download at your
own risk.
</p>
</dd>
</dl>

<p>
You should list <em>all</em> distributions that the package should be installed
into.
</p>

<p>
More information is available in the Debian Developer's Reference, section
&quot;The Debian archive&quot;.
</p>

<h2><a href="ch-controlfields.html#fr42" name="f42">42</a></h2>

<p>
Other urgency values are supported with configuration changes in the archive
software but are not used in Ubuntu.  The urgency affects how quickly a package
will be considered for inclusion into the <samp>testing</samp> distribution and
gives an indication of the importance of any fixes included in the upload.
<samp>Emergency</samp> and <samp>critical</samp> are treated as synonymous.
</p>

<h2><a href="ch-controlfields.html#fr43" name="f43">43</a></h2>

<p>
A space after each comma is conventional.
</p>

<h2><a href="ch-controlfields.html#fr44" name="f44">44</a></h2>

<p>
That is, the parts which are not the <samp>.dsc</samp>.
</p>

<h2><a href="ch-maintainerscripts.html#fr45" name="f45">45</a></h2>

<p>
This is so that if an error occurs, the user interrupts <code>dpkg</code> or
some other unforeseen circumstance happens you don't leave the user with a
badly-broken package when <code>dpkg</code> attempts to repeat the action.
</p>

<h2><a href="ch-maintainerscripts.html#fr46" name="f46">46</a></h2>

<p>
Part of the problem is due to what is arguably a bug in <code>dpkg</code>.
</p>

<h2><a href="ch-maintainerscripts.html#fr47" name="f47">47</a></h2>

<p>
Historical note: Truly ancient (pre-1997) versions of <code>dpkg</code> passed
<samp>&lt;unknown&gt;</samp> (including the angle brackets) in this case.  Even
older ones did not pass a second argument at all, under any circumstance.  Note
that upgrades using such an old dpkg version are unlikely to work for other
reasons, even if this old argument behavior is handled by your postinst script.
</p>

<h2><a href="ch-relationships.html#fr48" name="f48">48</a></h2>

<p>
Replaces is a one way relationship -- you have to install the replacing package
after the replaced package.
</p>

<h2><a href="ch-relationships.html#fr49" name="f49">49</a></h2>

<p>
If you make &quot;build-arch&quot; or &quot;binary-arch&quot;, you need
Build-Depends.  If you make &quot;build-indep&quot; or
&quot;binary-indep&quot;, you need Build-Depends and Build-Depends-Indep.  If
you make &quot;build&quot; or &quot;binary&quot;, you need both.
</p>

<p>
There is no Build-Depends-Arch; this role is essentially met with
Build-Depends.  Anyone building the <samp>build-indep</samp> and binary-indep
targets is basically assumed to be building the whole package anyway and so
installs all build dependencies.  The autobuilders use <samp>dpkg-buildpackage
-B</samp>, which calls <samp>build</samp> (not <samp>build-arch</samp>, since
it does not yet know how to check for its existence) and
<samp>binary-arch</samp>.
</p>

<p>
The purpose of the original split, I recall, was so that the autobuilders
wouldn't need to install extra packages needed only for the binary-indep
targets.  But without a build-arch/build-indep split, this didn't work, since
most of the work is done in the build target, not in the binary target.
</p>

<h2><a href="ch-sharedlibs.html#fr50" name="f50">50</a></h2>

<p>
Since it is common place to install several versions of a package that just
provides shared libraries, it is a good idea that the library package should
not contain any extraneous non-versioned files, unless they happen to be in
versioned directories.
</p>

<h2><a href="ch-sharedlibs.html#fr51" name="f51">51</a></h2>

<p>
The soname is the shared object name: it's the thing that has to match exactly
between building an executable and running it for the dynamic linker to be able
run the program.  For example, if the soname of the library is
<code>libfoo.so.6</code>, the library package would be called
<code>libfoo6</code>.
</p>

<h2><a href="ch-sharedlibs.html#fr52" name="f52">52</a></h2>

<p>
The package management system requires the library to be placed before the
symbolic link pointing to it in the <code>.deb</code> file.  This is so that
when <code>dpkg</code> comes to install the symlink (overwriting the previous
symlink pointing at an older version of the library), the new shared library is
already in place.  In the past, this was achieved by creating the library in
the temporary packaging directory before creating the symlink.  Unfortunately,
this was not always effective, since the building of the tar file in the
<code>.deb</code> depended on the behavior of the underlying file system.  Some
file systems (such as reiserfs) reorder the files so that the order of creation
is forgotten.  Since version 1.7.0, <code>dpkg</code> reorders the files itself
as necessary when building a package.  Thus it is no longer important to
concern oneself with the order of file creation.
</p>

<h2><a href="ch-sharedlibs.html#fr53" name="f53">53</a></h2>

<p>
These are currently
</p>
<ul>
<li>
<p>
/usr/local/lib
</p>
</li>
<li>
<p>
/usr/lib/libc5-compat
</p>
</li>
<li>
<p>
/lib/libc5-compat
</p>
</li>
</ul>

<h2><a href="ch-sharedlibs.html#fr54" name="f54">54</a></h2>

<p>
During install or upgrade, the preinst is called before the new files are
installed, so calling &quot;ldconfig&quot; is pointless.  The preinst of an
existing package can also be called if an upgrade fails.  However, this happens
during the critical time when a shared libs may exist on-disk under a temporary
name.  Thus, it is dangerous and forbidden by current policy to call
&quot;ldconfig&quot; at this time.
</p>

<p>
When a package is installed or upgraded, &quot;postinst configure&quot; runs
after the new files are safely on-disk.  Since it is perfectly safe to invoke
ldconfig unconditionally in a postinst, it is OK for a package to simply put
ldconfig in its postinst without checking the argument.  The postinst can also
be called to recover from a failed upgrade.  This happens before any new files
are unpacked, so there is no reason to call &quot;ldconfig&quot; at this point.
</p>

<p>
For a package that is being removed, prerm is called with all the files intact,
so calling ldconfig is useless.  The other calls to &quot;prerm&quot; happen in
the case of upgrade at a time when all the files of the old package are
on-disk, so again calling &quot;ldconfig&quot; is pointless.
</p>

<p>
postrm, on the other hand, is called with the &quot;remove&quot; argument just
after the files are removed, so this is the proper time to call
&quot;ldconfig&quot; to notify the system of the fact that the shared libraries
from the package are removed.  The postrm can be called at several other times.
At the time of &quot;postrm purge&quot;, &quot;postrm abort-install&quot;, or
&quot;postrm abort-upgrade&quot;, calling &quot;ldconfig&quot; is useless
because the shared lib files are not on-disk.  However, when &quot;postrm&quot;
is invoked with arguments &quot;upgrade&quot;, &quot;failed-upgrade&quot;, or
&quot;disappear&quot;, a shared lib may exist on-disk under a temporary
filename.
</p>

<h2><a href="ch-sharedlibs.html#fr55" name="f55">55</a></h2>

<p>
For example, a <code><var>package-name</var>-config</code> script or
<code>pkg-config</code> configuration files.
</p>

<h2><a href="ch-sharedlibs.html#fr56" name="f56">56</a></h2>

<p>
Previously, <samp>${Source-Version}</samp> was used, but its name was confusing
and it has been deprecated since dpkg 1.13.19.
</p>

<h2><a href="ch-sharedlibs.html#fr57" name="f57">57</a></h2>

<p>
In the past, the shared libraries linked to were determined by calling
<code>ldd</code>, but now <code>objdump</code> is used to do this.  The only
change this makes to package building is that <code>dpkg-shlibdeps</code> must
also be run on shared libraries, whereas in the past this was unnecessary.  The
rest of this footnote explains the advantage that this method gives.
</p>

<p>
We say that a binary <samp>foo</samp> <em>directly</em> uses a library
<samp>libbar</samp> if it is explicitly linked with that library (that is, it
uses the flag <samp>-lbar</samp> during the linking stage).  Other libraries
that are needed by <samp>libbar</samp> are linked <em>indirectly</em> to
<samp>foo</samp>, and the dynamic linker will load them automatically when it
loads <samp>libbar</samp>.  A package should depend on the libraries it
directly uses, and the dependencies for those libraries should automatically
pull in the other libraries.
</p>

<p>
Unfortunately, the <code>ldd</code> program shows both the directly and
indirectly used libraries, meaning that the dependencies determined included
both direct and indirect dependencies.  The use of <code>objdump</code> avoids
this problem by determining only the directly used libraries.
</p>

<p>
A good example of where this helps is the following.  We could update
<samp>libimlib</samp> with a new version that supports a new graphics format
called dgf (but retaining the same major version number).  If we used the old
<code>ldd</code> method, every package that uses <samp>libimlib</samp> would
need to be recompiled so it would also depend on <samp>libdgf</samp> or it
wouldn't run due to missing symbols.  However with the new system, packages
using <samp>libimlib</samp> can rely on <samp>libimlib</samp> itself having the
dependency on <samp>libdgf</samp> and so they would not need rebuilding.
</p>

<h2><a href="ch-sharedlibs.html#fr58" name="f58">58</a></h2>

<p>
An example may help here.  Let us say that the source package <samp>foo</samp>
generates two binary packages, <samp>libfoo2</samp> and
<samp>foo-runtime</samp>.  When building the binary packages, the two packages
are created in the directories <code>debian/libfoo2</code> and
<code>debian/foo-runtime</code> respectively.  (<code>debian/tmp</code> could
be used instead of one of these.) Since <samp>libfoo2</samp> provides the
<samp>libfoo</samp> shared library, it will require a <samp>shlibs</samp> file,
which will be installed in <code>debian/libfoo2/DEBIAN/shlibs</code>,
eventually to become <code>/var/lib/dpkg/info/libfoo2.shlibs</code>.  Then when
<code>dpkg-shlibdeps</code> is run on the executable
<code>debian/foo-runtime/usr/bin/foo-prog</code>, it will examine the
<code>debian/libfoo2/DEBIAN/shlibs</code> file to determine whether
<samp>foo-prog</samp>'s library dependencies are satisfied by any of the
libraries provided by <samp>libfoo2</samp>.  For this reason,
<code>dpkg-shlibdeps</code> must only be run once all of the individual binary
packages' <samp>shlibs</samp> files have been installed into the build
directory.
</p>

<h2><a href="ch-sharedlibs.html#fr59" name="f59">59</a></h2>

<p>
If you are using <samp>debhelper</samp>, the <code>dh_shlibdeps</code> program
will do this work for you.  It will also correctly handle multi-binary
packages.
</p>

<h2><a href="ch-sharedlibs.html#fr60" name="f60">60</a></h2>

<p>
<code>dh_shlibdeps</code> from the <samp>debhelper</samp> suite will
automatically add this option if it knows it is processing a udeb.
</p>

<h2><a href="ch-sharedlibs.html#fr61" name="f61">61</a></h2>

<p>
This can be determined using the command
</p>
<pre>
     objdump -p /usr/lib/libz.so.1.1.3 | grep SONAME
</pre>

<h2><a href="ch-sharedlibs.html#fr62" name="f62">62</a></h2>

<p>
This is what <code>dh_makeshlibs</code> in the <samp>debhelper</samp> suite
does.  If your package also has a udeb that provides a shared library,
<code>dh_makeshlibs</code> can automatically generate the <samp>udeb:</samp>
lines if you specify the name of the udeb with the <samp>--add-udeb</samp>
option.
</p>

<h2><a href="ch-opersys.html#fr63" name="f63">63</a></h2>

<p>
For example, using the <samp>RAMRUN</samp> and <samp>RAMLOCK</samp> options in
<code>/etc/default/rcS</code>.
</p>

<h2><a href="ch-files.html#fr64" name="f64">64</a></h2>

<p>
If you are using GCC, <samp>-fPIC</samp> produces code with relocatable
position independent code, which is required for most architectures to create a
shared library, with i386 and perhaps some others where non position
independent code is permitted in a shared library.
</p>

<p>
Position independent code may have a performance penalty, especially on
<samp>i386</samp>.  However, in most cases the speed penalty must be measured
against the memory wasted on the few architectures where non position
independent code is even possible.
</p>

<h2><a href="ch-files.html#fr65" name="f65">65</a></h2>

<p>
Some of the reasons why this might be required is if the library contains hand
crafted assembly code that is not relocatable, the speed penalty is excessive
for compute intensive libs, and similar reasons.
</p>

<h2><a href="ch-files.html#fr66" name="f66">66</a></h2>

<p>
Some of the reasons for linking static libraries with the <samp>-fPIC</samp>
flag are if, for example, one needs a Perl API for a library that is under
rapid development, and has an unstable API, so shared libraries are pointless
at this phase of the library's development.  In that case, since Perl needs a
library with relocatable code, it may make sense to create a static library
with relocatable code.  Another reason cited is if you are distilling various
libraries into a common shared library, like <samp>mklibs</samp> does in the
Debian installer project.
</p>

<h2><a href="ch-files.html#fr67" name="f67">67</a></h2>

<p>
You might also want to use the options <samp>--remove-section=.comment</samp>
and <samp>--remove-section=.note</samp> on both shared libraries and
executables, and <samp>--strip-debug</samp> on static libraries.
</p>

<h2><a href="ch-files.html#fr68" name="f68">68</a></h2>

<p>
A common example are the so-called &quot;plug-ins&quot;, internal shared
objects that are dynamically loaded by programs using <code>dlopen(3)</code>.
</p>

<h2><a href="ch-files.html#fr69" name="f69">69</a></h2>

<p>
Although <code>libtool</code> is fully capable of linking against shared
libraries which don't have <samp>.la</samp> files, as it is a mere shell script
it can add considerably to the build time of a <code>libtool</code>-using
package if that shell script has to derive all this information from first
principles for each library every time it is linked.  With the advent of
<code>libtool</code> version 1.4 (and to a lesser extent <code>libtool</code>
version 1.3), the <code>.la</code> files also store information about
inter-library dependencies which cannot necessarily be derived after the
<code>.la</code> file is deleted.
</p>

<h2><a href="ch-files.html#fr70" name="f70">70</a></h2>

<p>
Single UNIX Specification, version 3, which is also IEEE 1003.1-2004 (POSIX),
and is available on the World Wide Web from <code><a
href="http://www.unix.org/version3/online.html">The Open Group</a></code> after
free registration.
</p>

<h2><a href="ch-files.html#fr71" name="f71">71</a></h2>

<p>
These features are in widespread use in the Linux community and are implemented
in all of bash, dash, and ksh, the most common shells users may wish to use as
<code>/bin/sh</code>.
</p>

<h2><a href="ch-files.html#fr72" name="f72">72</a></h2>

<p>
This notification could be done via a (low-priority) debconf message, or an
echo (printf) statement.
</p>

<h2><a href="ch-files.html#fr73" name="f73">73</a></h2>

<p>
Rationale: There are two problems with hard links.  The first is that some
editors break the link while editing one of the files, so that the two files
may unwittingly become unlinked and different.  The second is that
<code>dpkg</code> might break the hard link while upgrading
<samp>conffile</samp>s.
</p>

<h2><a href="ch-files.html#fr74" name="f74">74</a></h2>

<p>
The traditional approach to log files has been to set up <em>ad hoc</em> log
rotation schemes using simple shell scripts and cron.  While this approach is
highly customizable, it requires quite a lot of sysadmin work.  Even though the
original Ubuntu system helped a little by automatically installing a system
which can be used as a template, this was deemed not enough.
</p>

<p>
The use of <code>logrotate</code>, a program developed by Red Hat, is better,
as it centralizes log management.  It has both a configuration file
(<code>/etc/logrotate.conf</code>) and a directory where packages can drop
their individual log rotation configurations (<code>/etc/logrotate.d</code>).
</p>

<h2><a href="ch-files.html#fr75" name="f75">75</a></h2>

<p>
When a package is upgraded, and the owner or permissions of a file included in
the package has changed, dpkg arranges for the ownership and permissions to be
correctly set upon installation.  However, this does not extend to directories;
the permissions and ownership of directories already on the system does not
change on install or upgrade of packages.  This makes sense, since otherwise
common directories like <samp>/usr</samp> would always be in flux.  To
correctly change permissions of a directory the package owns, explicit action
is required, usually in the <samp>postinst</samp> script.  Care must be taken
to handle downgrades as well, in that case.
</p>

<h2><a href="ch-files.html#fr76" name="f76">76</a></h2>

<p>
Ordinary files installed by <code>dpkg</code> (as opposed to
<samp>conffile</samp>s and other similar objects) normally have their
permissions reset to the distributed permissions when the package is
reinstalled.  However, the use of <code>dpkg-statoverride</code> overrides this
default behavior.  If you use this method, you should remember to describe
<code>dpkg-statoverride</code> in the package documentation; being a relatively
new addition to Debian, it is probably not yet well-known.
</p>

<h2><a href="ch-customized-programs.html#fr77" name="f77">77</a></h2>

<p>
Currently, the strings are: i386 ia64 alpha amd64 armeb arm hppa m32r m68k mips
mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc darwin-i386
darwin-ia64 darwin-alpha darwin-amd64 darwin-armeb darwin-arm darwin-hppa
darwin-m32r darwin-m68k darwin-mips darwin-mipsel darwin-powerpc darwin-ppc64
darwin-s390 darwin-s390x darwin-sh3 darwin-sh3eb darwin-sh4 darwin-sh4eb
darwin-sparc freebsd-i386 freebsd-ia64 freebsd-alpha freebsd-amd64
freebsd-armeb freebsd-arm freebsd-hppa freebsd-m32r freebsd-m68k freebsd-mips
freebsd-mipsel freebsd-powerpc freebsd-ppc64 freebsd-s390 freebsd-s390x
freebsd-sh3 freebsd-sh3eb freebsd-sh4 freebsd-sh4eb freebsd-sparc kfreebsd-i386
kfreebsd-ia64 kfreebsd-alpha kfreebsd-amd64 kfreebsd-armeb kfreebsd-arm
kfreebsd-hppa kfreebsd-m32r kfreebsd-m68k kfreebsd-mips kfreebsd-mipsel
kfreebsd-powerpc kfreebsd-ppc64 kfreebsd-s390 kfreebsd-s390x kfreebsd-sh3
kfreebsd-sh3eb kfreebsd-sh4 kfreebsd-sh4eb kfreebsd-sparc knetbsd-i386
knetbsd-ia64 knetbsd-alpha knetbsd-amd64 knetbsd-armeb knetbsd-arm knetbsd-hppa
knetbsd-m32r knetbsd-m68k knetbsd-mips knetbsd-mipsel knetbsd-powerpc
knetbsd-ppc64 knetbsd-s390 knetbsd-s390x knetbsd-sh3 knetbsd-sh3eb knetbsd-sh4
knetbsd-sh4eb knetbsd-sparc netbsd-i386 netbsd-ia64 netbsd-alpha netbsd-amd64
netbsd-armeb netbsd-arm netbsd-hppa netbsd-m32r netbsd-m68k netbsd-mips
netbsd-mipsel netbsd-powerpc netbsd-ppc64 netbsd-s390 netbsd-s390x netbsd-sh3
netbsd-sh3eb netbsd-sh4 netbsd-sh4eb netbsd-sparc openbsd-i386 openbsd-ia64
openbsd-alpha openbsd-amd64 openbsd-armeb openbsd-arm openbsd-hppa openbsd-m32r
openbsd-m68k openbsd-mips openbsd-mipsel openbsd-powerpc openbsd-ppc64
openbsd-s390 openbsd-s390x openbsd-sh3 openbsd-sh3eb openbsd-sh4 openbsd-sh4eb
openbsd-sparc hurd-i386 hurd-ia64 hurd-alpha hurd-amd64 hurd-armeb hurd-arm
hurd-hppa hurd-m32r hurd-m68k hurd-mips hurd-mipsel hurd-powerpc hurd-ppc64
hurd-s390 hurd-s390x hurd-sh3 hurd-sh3eb hurd-sh4 hurd-sh4eb hurd-sparc
</p>

<h2><a href="ch-customized-programs.html#fr78" name="f78">78</a></h2>

<p>
The Ubuntu base system already provides an editor and a pager program.
</p>

<h2><a href="ch-customized-programs.html#fr79" name="f79">79</a></h2>

<p>
If it is not possible to establish both locks, the system shouldn't wait for
the second lock to be established, but remove the first lock, wait a (random)
time, and start over locking again.
</p>

<h2><a href="ch-customized-programs.html#fr80" name="f80">80</a></h2>

<p>
You will need to depend on <samp>liblockfile1 (&gt;&gt;1.01)</samp> to use
these functions.
</p>

<h2><a href="ch-customized-programs.html#fr81" name="f81">81</a></h2>

<p>
There are two traditional permission schemes for mail spools: mode 600 with all
mail delivery done by processes running as the destination user, or mode 660
and owned by group mail with mail delivery done by a process running as a
system user in group mail.  Historically, Debian required mode 660 mail spools
to enable the latter model, but that model has become increasingly uncommon and
the principle of least privilege indicates that mail systems that use the first
model should use permissions of 600.  If delivery to programs is permitted,
it's easier to keep the mail system secure if the delivery agent runs as the
destination user.  Debian Policy therefore permits either scheme.
</p>

<h2><a href="ch-customized-programs.html#fr82" name="f82">82</a></h2>

<p>
This implements current practice, and provides an actual policy for usage of
the <samp>xserver</samp> virtual package which appears in the virtual packages
list.  In a nutshell, X servers that interface directly with the display and
input hardware or via another subsystem (e.g., GGI) should provide
<samp>xserver</samp>.  Things like <samp>Xvfb</samp>, <samp>Xnest</samp>, and
<samp>Xprt</samp> should not.
</p>

<h2><a href="ch-customized-programs.html#fr83" name="f83">83</a></h2>

<p>
&quot;New terminal window&quot; does not necessarily mean a new top-level X
window directly parented by the window manager; it could, if the terminal
emulator application were so coded, be a new &quot;view&quot; in a
multiple-document interface (MDI).
</p>

<h2><a href="ch-customized-programs.html#fr84" name="f84">84</a></h2>

<p>
For the purposes of Ubuntu Policy, a &quot;font for the X Window System&quot;
is one which is accessed via X protocol requests.  Fonts for the Linux console,
for PostScript renderer, or any other purpose, do not fit this definition.  Any
tool which makes such fonts available to the X Window System, however, must
abide by this font policy.
</p>

<h2><a href="ch-customized-programs.html#fr85" name="f85">85</a></h2>

<p>
This is because the X server may retrieve fonts from the local file system or
over the network from an X font server; the Ubuntu package system is empowered
to deal only with the local file system.
</p>

<h2><a href="ch-customized-programs.html#fr86" name="f86">86</a></h2>

<p>
Note that this mechanism is not the same as using app-defaults; app-defaults
are tied to the client binary on the local file system, whereas X resources are
stored in the X server and affect all connecting clients.
</p>

<h2><a href="ch-customized-programs.html#fr87" name="f87">87</a></h2>

<p>
These libraries used to be all symbolic links.  However, with
<samp>X11R7</samp>, <samp>/usr/include/X11</samp> and <samp>/usr/lib/X11</samp>
are now real directories, and packages <strong>should</strong> ship their files
here instead of in <samp>/usr/X11R6/{include,lib}/X11</samp>.  <samp>x11-common
(&gt;= 1:7.0.0)</samp> is the package responsible for converting these symlinks
into directories.
</p>

<h2><a href="ch-customized-programs.html#fr88" name="f88">88</a></h2>

<p>
OSF/Motif and OpenMotif are collectively referred to as &quot;Motif&quot; in
this policy document.
</p>

<h2><a href="ch-customized-programs.html#fr89" name="f89">89</a></h2>

<p>
If you are using <samp>debhelper</samp>, the <code>dh_icons</code> program will
do this work for you.
</p>

<h2><a href="ch-docs.html#fr90" name="f90">90</a></h2>

<p>
It is not very hard to write a man page.  See the <code><a
href="http://www.schweikhardt.net/man_page_howto.html">Man-Page-HOWTO</a></code>,
<code>man(7)</code>, the examples created by <code>debmake</code> or
<code>dh_make</code>, the helper programs <code>help2man</code>, or the
directory <code>/usr/share/doc/man-db/examples</code>.
</p>

<h2><a href="ch-docs.html#fr91" name="f91">91</a></h2>

<p>
Supporting this in <code>man</code> often requires unreasonable processing time
to find a manual page or to report that none exists, and moves knowledge into
man's database that would be better left in the file system.  This support is
therefore deprecated and will cease to be present in the future.
</p>

<h2><a href="ch-docs.html#fr92" name="f92">92</a></h2>

<p>
<code>man</code> will automatically detect whether UTF-8 is in use.  In future,
all manual pages will be required to use UTF-8.
</p>

<h2><a href="ch-docs.html#fr93" name="f93">93</a></h2>

<p>
At the time of writing, Chinese and Portuguese are the main languages with such
differences, so <code>pt_BR</code>, <code>zh_CN</code>, and <code>zh_TW</code>
are all allowed.
</p>

<h2><a href="ch-docs.html#fr94" name="f94">94</a></h2>

<p>
The system administrator should be able to delete files in
<code>/usr/share/doc/</code> without causing any programs to break.
</p>

<h2><a href="ch-docs.html#fr95" name="f95">95</a></h2>

<p>
Please note that this does not override the section on changelog files below,
so the file <code>/usr/share/<var>package</var>/changelog.Debian.gz</code> must
refer to the changelog for the current version of <var>package</var> in
question.  In practice, this means that the sources of the target and the
destination of the symlink must be the same (same source package and version).
</p>

<h2><a href="ch-docs.html#fr96" name="f96">96</a></h2>

<p>
At this phase of the transition, we no longer require a symbolic link in
<code>/usr/doc/</code>.  At a later point, policy shall change to make the
symbolic links a bug.
</p>

<h2><a href="ch-docs.html#fr97" name="f97">97</a></h2>

<p>
The rationale: The important thing here is that HTML docs should be available
in <em>some</em> package, not necessarily in the main binary package.
</p>

<h2><a href="ch-docs.html#fr98" name="f98">98</a></h2>

<p>
In particular, <code>/usr/share/common-licenses/BSD</code>,
<code>/usr/share/common-licenses/Apache-2.0</code>,
<code>/usr/share/common-licenses/Artistic</code>,
<code>/usr/share/common-licenses/GPL-2</code>,
<code>/usr/share/common-licenses/GPL-3</code>,
<code>/usr/share/common-licenses/LGPL-2</code>,
<code>/usr/share/common-licenses/LGPL-2.1</code>,
<code>/usr/share/common-licenses/LGPL-3</code>,
<code>/usr/share/common-licenses/GFDL-1.2</code>, and
<code>/usr/share/common-licenses/GFDL-1.3</code> respectively.
</p>

<h2><a href="ch-docs.html#fr99" name="f99">99</a></h2>

<p>
Rationale: People should not have to look in places for upstream changelogs
merely because they are given different names or are distributed in HTML
format.
</p>

<h2><a href="ap-pkg-scope.html#fr100" name="f100">100</a></h2>

<p>
<code>dpkg</code> is targeted primarily at Debian GNU/Linux and Ubuntu, but may
work on or be ported to other systems.
</p>

<h2><a href="ap-pkg-sourcepkg.html#fr101" name="f101">101</a></h2>

<p>
This is so that the control file which is produced has the right permissions
</p>

<h2><a href="ap-pkg-sourcepkg.html#fr102" name="f102">102</a></h2>

<p>
They may be specified either in the locations in the source tree where they are
created or in the locations in the temporary build tree where they are
installed prior to binary package creation.
</p>

<h2><a href="ap-pkg-sourcepkg.html#fr103" name="f103">103</a></h2>

<p>
At the time of writing, an example for this was the <code>xmms</code> package,
with Depends used for the xmms executable, Recommends for the plug-ins and
Suggests for even more optional features provided by unzip.
</p>

<h2><a href="ap-pkg-sourcepkg.html#fr104" name="f104">104</a></h2>

<p>
This is not currently detected when building source packages, but only when
extracting them.
</p>

<h2><a href="ap-pkg-sourcepkg.html#fr105" name="f105">105</a></h2>

<p>
Hard links may be permitted at some point in the future, but would require a
fair amount of work.
</p>

<h2><a href="ap-pkg-sourcepkg.html#fr106" name="f106">106</a></h2>

<p>
Setgid directories are allowed.
</p>

<h2><a href="ap-pkg-sourcepkg.html#fr107" name="f107">107</a></h2>

<p>
Renaming a file is not treated specially - it is seen as the removal of the old
file (which generates a warning, but is otherwise ignored), and the creation of
the new one.
</p>

<hr>

<p>
Ubuntu Policy Manual
</p>

<address>
version 3.8.2.0ubuntu1, 2009-06-19<br>
<br>
<a href="ch-scope.html#s-authors">The Debian Policy Mailing List</a><br>
<a href="ch-scope.html#s-authors">The Ubuntu Developers Mailing List</a><br>
<br>
</address>
<hr>

</body>

</html>