Bug#718004: paramiko-doc: fails to upgrade from 'wheezy' - trying to overwrite /usr/share/doc-base/python-paramiko

2013-11-22 Thread Felix Geyer
Control: tags -1 patch

Proper Breaks/Replaces is missing for paramiko-doc:

diff -Nru paramiko-1.10.1/debian/control paramiko-1.10.1/debian/control
--- paramiko-1.10.1/debian/control2013-05-27 07:07:38.0 +0200
+++ paramiko-1.10.1/debian/control2013-11-22 23:40:37.0 +0100
@@ -17,6 +17,8 @@
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}
+Breaks: python-paramiko ( 1.10.1-1~)
+Replaces: python-paramiko ( 1.10.1-1~)
 Description: Make ssh v2 connections with Python (Documentation)
  This is a library for making SSH2 connections (client or server).
  Emphasis is on using SSH2 as an alternative to SSL for making secure


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#718004: paramiko-doc: fails to upgrade from 'wheezy' - trying to overwrite /usr/share/doc-base/python-paramiko

2013-11-22 Thread Debian Bug Tracking System
Processing control commands:

 tags -1 patch
Bug #718004 [paramiko-doc] paramiko-doc: fails to upgrade from 'wheezy' - 
trying to overwrite /usr/share/doc-base/python-paramiko
Added tag(s) patch.

-- 
718004: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718004
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#718004: paramiko-doc: fails to upgrade from 'wheezy' - trying to overwrite /usr/share/doc-base/python-paramiko

2013-07-27 Thread Andreas Beckmann
Package: paramiko-doc
Version: 1.10.1-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'wheezy'.
It installed fine in 'wheezy', then the upgrade to 'jessie' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

From the attached log (scroll to the bottom...):

  Selecting previously unselected package paramiko-doc.
  Unpacking paramiko-doc (from .../paramiko-doc_1.10.1-1_all.deb) ...
  dpkg: error processing /var/cache/apt/archives/paramiko-doc_1.10.1-1_all.deb 
(--unpack):
   trying to overwrite '/usr/share/doc-base/python-paramiko', which is also in 
package python-paramiko 1.7.7.1-3.1
  Errors were encountered while processing:
   /var/cache/apt/archives/paramiko-doc_1.10.1-1_all.deb


cheers,

Andreas


python-paramiko=1.7.7.1-3.1_paramiko-doc=1.10.1-1.log.gz
Description: GNU Zip compressed data