Bug#621050: Document dependencies needed to use multiarch paths
Package: debian-policy
Version: 3.9.1.0
Severity: wishlist
User: debian-policy@packages.debian.org
Usertags: informative
Steve Langasek wrote[1]:
> Since we don't want to wait until the next release cycle before being able
> to proceed to step 5, this does mean that a transitional dependency is
> needed to ensure a multiarch-compatible ld.so is unpacked before libraries
> unpack to /lib/i386-linux-gnu.
[...]
> If you think this is important to document in policy anyway, I can prepare a
> patch.
How about something like this? Based roughly on
http://lists.debian.org/debian-devel/2011/04/msg00036.html
[1] http://bugs.debian.org/619186
---
policy.sgml | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/policy.sgml b/policy.sgml
index ec605c6..fc831fc 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -6163,10 +6163,19 @@ install -m644 debian/shlibs.<var>package</var> debian/<var>package</var>/DEBIAN/
containing 32-bit x86 libraries may not install these
libraries to <file>/usr/lib/i386-linux-gnu</file>.
<footnote>
- This is necessary in order to reserve the directories for
- use in cross-installation of library packages from other
- architectures, as part of the planned deployment of
- <tt>multiarch</tt>.
+ <p>
+ This is necessary in order to reserve the directories for
+ use in cross-installation of library packages from other
+ architectures, as part of the planned deployment of
+ <tt>multiarch</tt>.
+ </p>
+ <p>
+ Packages installing libraries to these directories
+ will need to declare a "Pre-Depends" relationship
+ against <package>multiarch-support</package> to ensure
+ the libraries are visible to ld.so during partial
+ upgrades from Debian 6.0 (squeeze) and earlier.
+ </p>
</footnote>
</p>
<p>
--
1.7.5.rc0
Reply to: