Bug#466232: patch for 446232: add conflict to fix etch-lenny upgrade

2008-03-05 Thread Daigo Moriwaki

tags 466232 fixed
thanks

Thank you for the patch. It will be included in the up-coming release.

Regards,
Daigo

--
Daigo Moriwaki
daigo at debian dot org



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#466232: patch for 446232: add conflict to fix etch-lenny upgrade

2008-03-04 Thread Josh Triplett
tags 446232 + patch
thanks

The attached patch fixes the etch-lenny upgrade of libruby1.8 and
libopenssl-ruby1.8.  The versioned Depends and Replaces here do not
provide enough of a hint for apt, but a versioned Conflicts does.  I
also took the opportunity to clean up the redundant Replaces in
libopenssl-ruby1.8.

With this patch, the upgrade proceeds cleanly on my system by
temporarily removing libopenssl-ruby1.8:

Removing libopenssl-ruby1.8 ...
Preparing to replace libruby1.8 1.8.5-4etch1 (using 
.../libruby1.8_1.8.6.111-4_i386.deb) ...
Unpacking replacement libruby1.8 ...
Selecting previously deselected package libopenssl-ruby1.8.
Unpacking libopenssl-ruby1.8 (from .../libopenssl-ruby1.8_1.8.6.111-4_i386.deb) 
...
Setting up libruby1.8 (1.8.6.111-4) ...
Setting up libopenssl-ruby1.8 (1.8.6.111-4) ...

- Josh Triplett
diff -Naur ruby1.8-1.8.6.111.orig/debian/control ruby1.8-1.8.6.111/debian/control
--- ruby1.8-1.8.6.111.orig/debian/control	2008-03-04 01:44:19.0 -0800
+++ ruby1.8-1.8.6.111/debian/control	2008-03-04 01:43:57.0 -0800
@@ -103,7 +103,8 @@
 Package: libopenssl-ruby1.8
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: libruby1.8 (= 1.8.3-2), libruby1.8 ( 1.8.6)
+Conflicts: libruby1.8 ( 1.8.6)
+Replaces: libruby1.8 ( 1.8.6)
 Description: OpenSSL interface for Ruby 1.8
  Ruby/OpenSSL makes Ruby to be able to use OpenSSL. It includes HTTP
  and TELNET protocols' SSL/TLS support.


signature.asc
Description: OpenPGP digital signature