Package: dpkg-dev
Version: 1.15.7.2
Severity: minor
deb-control(5) has been updated for new 3.9 policy but it is not perfect
yet. I attach a sure fix as patch and discuss other points below:
Question: Do we need tomention Breaks in below in place of Conflicts or list
both?
Replaces: <package list>
List of packages files from which this one replaces. This is
used for allowing this package to overwrite the files of another
package and is usually used with the Conflicts field to force
removal of the other package, if this one also has the same
files as the conflicted package.
Anyway, I am just trying to catch up with new policy and found this manpage to
document Breaks. Thanks.
Osamu
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dpkg-dev depends on:
ii base-files 5.8 Debian base system miscellaneous f
ii binutils 2.20.1-12 The GNU assembler, linker and bina
ii bzip2 1.0.5-4 high-quality block-sorting file co
ii libdpkg-perl 1.15.7.2 Dpkg perl modules
ii make 3.81-8 An utility for Directing compilati
ii patch 2.6-2 Apply a diff file to an original
ii xz-utils 4.999.9beta+20100713-1 XZ-format compression utilities
Versions of packages dpkg-dev recommends:
ii build-essential 11.5 Informational list of build-essent
ii fakeroot 1.14.4-1 Gives a fake root environment
ii gcc [c-compiler] 4:4.4.4-2 The GNU C compiler
ii gcc-4.4 [c-compiler] 4.4.4-7 The GNU C compiler
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
ii gpgv 1.4.10-4 GNU privacy guard - signature veri
ii libalgorithm-merge-perl 0.08-1 Perl module for three-way merge of
Versions of packages dpkg-dev suggests:
ii debian-keyring 2010.06.08 GnuPG (and obsolete PGP) keys of D
-- no debconf information
diff -Nru dpkg-1.15.7.2-orig/man/deb-control.5 dpkg-1.15.7.2/man/deb-control.5
--- dpkg-1.15.7.2-orig/man/deb-control.5 2010-05-19 14:55:01.000000000 +0900
+++ dpkg-1.15.7.2/man/deb-control.5 2010-07-26 23:10:34.907753070 +0900
@@ -185,16 +185,20 @@
`|' to separate the list.
.LP
The syntax of
+.BR Breaks ,
.BR Conflicts ,
.B Replaces
and
.B Provides
is a list of package names, separated by commas (and optional whitespace).
In the
+.B Breaks
+and
.B Conflicts
-field, the comma should be read as `OR'. An optional version can also be
+fields, the comma should be read as `OR'. An optional version can also be
given with the same syntax as above for the
-.B Conflicts
+.BR Breaks ,
+.BR Conflicts ,
and
.B Replaces
fields.