Hi Russ (only a small addition) On Thu, Sep 20, 2012 at 10:58:04AM -0700, Russ Allbery wrote: > Salvatore Bonaccorso <carnil@debian.org> writes: > > > There seems to be a small typo in 8.6.4.1 refering to the path where > > *.shlibs files are located? It says currently: > > > The shlibs control files for all the packages currently installed on > > the system. These are normally found in /var/lib/dpkg/info/*.symbols, > > but packages should not rely on this and instead should use dpkg-query > > --control-path package shlibs if for some reason these files need to > > be examined. > > > Should that be /var/lib/dpkg/info/*.shlibs? > > Indeed, thanks. I will fix that for the next release. I noticed [1] where Guillem Jover states that the --control-path interface is going away at some point (introducing first deprecation warnings). [1]: https://lists.debian.org/debian-devel/2012/09/msg00063.html Maybe it would make sense to thus refer to --control-show in the two paragraphs, see attached patch. Regards, Salvatore
From 842f9ce85bb422252a301aac6f86bde82329a95e Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso <carnil@debian.org> Date: Thu, 20 Sep 2012 15:36:58 +0200 Subject: [PATCH 1/2] Fix typo to path to shlibs files Fix typo in "8.6.4.1 The shlibs files present on the system". Refer to /var/lib/dpkg/info/*.shlibs for the location of the shlibs files. --- policy.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy.sgml b/policy.sgml index 5760a3f..ba217e5 100644 --- a/policy.sgml +++ b/policy.sgml @@ -6694,7 +6694,7 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1) The <file>shlibs</file> control files for all the packages currently installed on the system. These are normally found - in <file>/var/lib/dpkg/info/*.symbols</file>, but + in <file>/var/lib/dpkg/info/*.shlibs</file>, but packages should not rely on this and instead should use <tt>dpkg-query --control-path <var>package</var> shlibs</tt> if for some reason these files need to be -- 1.7.10.4
From 2040ec4b4dbc6d559c6ce6224148b96293e53470 Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso <carnil@debian.org> Date: Sat, 29 Sep 2012 12:14:54 +0200 Subject: [PATCH 2/2] Use dpkg-query --control-show interface Use --control-show instead of --control-path which will dissapear at some point[1]. [1]: https://lists.debian.org/debian-devel/2012/09/msg00063.html --- policy.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/policy.sgml b/policy.sgml index ba217e5..7c8f6a0 100644 --- a/policy.sgml +++ b/policy.sgml @@ -6360,7 +6360,7 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1) normally found in <file>/var/lib/dpkg/info/*.symbols</file>, but packages should not rely on this and instead should - use <tt>dpkg-query --control-path <var>package</var> + use <tt>dpkg-query --control-show <var>package</var> symbols</tt> if for some reason these files need to be examined. </p> @@ -6696,7 +6696,7 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1) normally found in <file>/var/lib/dpkg/info/*.shlibs</file>, but packages should not rely on this and instead should - use <tt>dpkg-query --control-path <var>package</var> + use <tt>dpkg-query --control-show <var>package</var> shlibs</tt> if for some reason these files need to be examined. </p> -- 1.7.10.4
Attachment:
signature.asc
Description: Digital signature