Bug#859579: python-cvxopt-doc: fails to upgrade from 'sid' - trying to overwrite /usr/share/doc-base/cvxopt

2017-08-21 Thread Julian Gilbey
On Mon, Aug 21, 2017 at 04:40:48PM +0200, Sébastien Villemot wrote:
> On Mon, Aug 21, 2017 at 09:28:36AM +0100, Julian Gilbey wrote:

> > I have just uploaded a 3-day NMU to fix this; this package is causing
> > problems in testing with the libgsl transition.
> 
> Thanks, I am about to upload your patch, along with a few other bugfixes.

Super thanks!

   Julian



Bug#859579: python-cvxopt-doc: fails to upgrade from 'sid' - trying to overwrite /usr/share/doc-base/cvxopt

2017-08-21 Thread Sébastien Villemot
On Mon, Aug 21, 2017 at 09:28:36AM +0100, Julian Gilbey wrote:
> On Wed, Apr 05, 2017 at 01:11:48AM +0200, Andreas Beckmann wrote:
> > Package: python-cvxopt-doc
> > Version: 1.1.8+dfsg-1
> > Severity: serious
> > User: debian...@lists.debian.org
> > Usertags: piuparts

> > during a test with piuparts I noticed your package fails to upgrade from
> > 'sid' to 'experimental'.
> > It installed fine in 'sid', then the upgrade to 'experimental' fails
> > because it tries to overwrite other packages files without declaring a
> > Breaks+Replaces relation.
> 
> I have just uploaded a 3-day NMU to fix this; this package is causing
> problems in testing with the libgsl transition.

Thanks, I am about to upload your patch, along with a few other bugfixes.

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄  http://www.debian.org


signature.asc
Description: PGP signature


Bug#859579: python-cvxopt-doc: fails to upgrade from 'sid' - trying to overwrite /usr/share/doc-base/cvxopt

2017-08-21 Thread Julian Gilbey
On Wed, Apr 05, 2017 at 01:11:48AM +0200, Andreas Beckmann wrote:
> Package: python-cvxopt-doc
> Version: 1.1.8+dfsg-1
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package fails to upgrade from
> 'sid' to 'experimental'.
> It installed fine in 'sid', then the upgrade to 'experimental' fails
> because it tries to overwrite other packages files without declaring a
> Breaks+Replaces relation.

I have just uploaded a 3-day NMU to fix this; this package is causing
problems in testing with the libgsl transition.

Diff attached.

Best wishes,

   Julian
diff -Nru cvxopt-1.1.9+dfsg/debian/changelog cvxopt-1.1.9+dfsg/debian/changelog
--- cvxopt-1.1.9+dfsg/debian/changelog	2017-06-19 15:00:03.0 +
+++ cvxopt-1.1.9+dfsg/debian/changelog	2017-08-21 07:46:22.0 +
@@ -1,3 +1,11 @@
+cvxopt (1.1.9+dfsg-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Fix breakage of earlier version by adding Replaces+Breaks
+python-cvxopt (<< 1.1.8) to -doc package (closes: #859579)
+
+ -- Julian Gilbey   Mon, 21 Aug 2017 08:46:22 +0100
+
 cvxopt (1.1.9+dfsg-1) unstable; urgency=medium
 
   * New upstream version
diff -Nru cvxopt-1.1.9+dfsg/debian/control cvxopt-1.1.9+dfsg/debian/control
--- cvxopt-1.1.9+dfsg/debian/control	2017-06-19 15:00:03.0 +
+++ cvxopt-1.1.9+dfsg/debian/control	2017-08-21 07:44:14.0 +
@@ -77,6 +77,8 @@
 Depends: ${misc:Depends},
  ${sphinxdoc:Depends},
  libjs-mathjax
+Breaks: python-cvxopt (<< 1.1.8)
+Replaces: python-cvxopt (<< 1.1.8)
 Description: Python package for convex optimization (documentation)
  CVXOPT is a Python package for convex optimization. It includes
   * Python classes for storing and manipulating dense and sparse matrices


Bug#859579: python-cvxopt-doc: fails to upgrade from 'sid' - trying to overwrite /usr/share/doc-base/cvxopt

2017-04-04 Thread Andreas Beckmann
Package: python-cvxopt-doc
Version: 1.1.8+dfsg-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

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

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

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

  Selecting previously unselected package python-cvxopt-doc.
  Preparing to unpack .../10-python-cvxopt-doc_1.1.8+dfsg-1_all.deb ...
  Unpacking python-cvxopt-doc (1.1.8+dfsg-1) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-zhgQWq/10-python-cvxopt-doc_1.1.8+dfsg-1_all.deb 
(--unpack):
   trying to overwrite '/usr/share/doc-base/cvxopt', which is also in package 
python-cvxopt 1.1.4-1.5
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-zhgQWq/10-python-cvxopt-doc_1.1.8+dfsg-1_all.deb


cheers,

Andreas


python-cvxopt=1.1.4-1.5_python-cvxopt-doc=1.1.8+dfsg-1.log.gz
Description: application/gzip