[Pkg-shinken-maint] Bug#776489: shinken: no smooth upgrade from wheezy: the old packages are kept installed

Andreas Beckmann anbe at debian.org
Wed Jan 28 16:08:19 UTC 2015


Package: shinken
Version: 2.0.3-3
Severity: serious
Tags: patch
User: debian-qa at 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, i.e.
the old packages from wheezy are kept installed rather than upgraded.

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

  Starting 2
  Investigating (0) shinken-common [ amd64 ] < none -> 2.0.3-3 > ( net )
  Broken shinken-common:amd64 Breaks on shinken-core [ amd64 ] < 0.6.5-2 > ( net ) (< 1.4)
    Considering shinken-core:amd64 5 as a solution to shinken-common:amd64 1
    Holding Back shinken-common:amd64 rather than change shinken-core:amd64
  Investigating (0) shinken-mod-webui [ amd64 ] < none -> 1.0-1 > ( net )
  Broken shinken-mod-webui:amd64 Depends on shinken-common [ amd64 ] < none -> 2.0.3-3 > ( net )
    Considering shinken-common:amd64 1 as a solution to shinken-mod-webui:amd64 0
    Holding Back shinken-mod-webui:amd64 rather than change shinken-common:amd64
  Investigating (0) shinken-mod-pickle-retention-file-generic [ amd64 ] < none -> 1.4.1-2 > ( net )
  Broken shinken-mod-pickle-retention-file-generic:amd64 Depends on shinken-common [ amd64 ] < none -> 2.0.3-3 > ( net )
    Considering shinken-common:amd64 1 as a solution to shinken-mod-pickle-retention-file-generic:amd64 0
    Holding Back shinken-mod-pickle-retention-file-generic:amd64 rather than change shinken-common:amd64
  Investigating (0) shinken [ amd64 ] < 0.6.5-2 -> 2.0.3-3 > ( net )
  Broken shinken:amd64 Depends on shinken-common [ amd64 ] < none -> 2.0.3-3 > ( net ) (= 2.0.3-3)
    Considering shinken-common:amd64 1 as a solution to shinken:amd64 -1
    Holding Back shinken:amd64 rather than change shinken-common:amd64
   Try to Re-Instate (1) shinken:amd64
  Done
  The following NEW packages will be installed:
[...]
  The following packages have been kept back:
    shinken
  The following packages will be upgraded:
[...]

The attached patch fixes this by readding an empty dummy shinken-core package.

Afterwards the problemresolver does this:

  Starting 2
  Investigating (0) shinken-poller [ amd64 ] < 0.6.5-2 > ( net )
  Broken shinken-poller:amd64 Depends on shinken-core [ amd64 ] < 0.6.5-2 -> 2.0.3-4 > ( net ) (= 0.6.5-2)
    Considering shinken-core:amd64 7 as a solution to shinken-poller:amd64 -2
    Removing shinken-poller:amd64 rather than change shinken-core:amd64
  Investigating (0) shinken-receiver [ amd64 ] < 0.6.5-2 > ( net )
  Broken shinken-receiver:amd64 Depends on shinken-core [ amd64 ] < 0.6.5-2 -> 2.0.3-4 > ( net ) (= 0.6.5-2)
    Considering shinken-core:amd64 7 as a solution to shinken-receiver:amd64 -2
    Removing shinken-receiver:amd64 rather than change shinken-core:amd64
  Investigating (0) shinken-broker [ amd64 ] < 0.6.5-2 > ( net )
  Broken shinken-broker:amd64 Depends on shinken-core [ amd64 ] < 0.6.5-2 -> 2.0.3-4 > ( net ) (= 0.6.5-2)
    Considering shinken-core:amd64 7 as a solution to shinken-broker:amd64 -2
    Removing shinken-broker:amd64 rather than change shinken-core:amd64
  Investigating (0) shinken-scheduler [ amd64 ] < 0.6.5-2 > ( net )
  Broken shinken-scheduler:amd64 Depends on shinken-core [ amd64 ] < 0.6.5-2 -> 2.0.3-4 > ( net ) (= 0.6.5-2)
    Considering shinken-core:amd64 7 as a solution to shinken-scheduler:amd64 -2
    Removing shinken-scheduler:amd64 rather than change shinken-core:amd64
  Investigating (0) shinken-reactionner [ amd64 ] < 0.6.5-2 > ( net )
  Broken shinken-reactionner:amd64 Depends on shinken-core [ amd64 ] < 0.6.5-2 -> 2.0.3-4 > ( net ) (= 0.6.5-2)
    Considering shinken-core:amd64 7 as a solution to shinken-reactionner:amd64 -2
    Removing shinken-reactionner:amd64 rather than change shinken-core:amd64
  Investigating (0) shinken-discovery [ amd64 ] < 0.6.5-2 > ( net )
  Broken shinken-discovery:amd64 Depends on shinken-core [ amd64 ] < 0.6.5-2 -> 2.0.3-4 > ( net ) (= 0.6.5-2)
    Considering shinken-core:amd64 7 as a solution to shinken-discovery:amd64 -2
    Removing shinken-discovery:amd64 rather than change shinken-core:amd64
  Investigating (0) shinken-arbiter [ amd64 ] < 0.6.5-2 > ( net )
  Broken shinken-arbiter:amd64 Depends on shinken-core [ amd64 ] < 0.6.5-2 -> 2.0.3-4 > ( net ) (= 0.6.5-2)
    Considering shinken-core:amd64 7 as a solution to shinken-arbiter:amd64 -2
    Removing shinken-arbiter:amd64 rather than change shinken-core:amd64
  Done
  The following packages will be REMOVED:
    shinken-arbiter shinken-broker shinken-discovery shinken-poller
    shinken-reactionner shinken-receiver shinken-scheduler
  The following NEW packages will be installed:
[...]
  The following packages will be upgraded:
[...]


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shinken_2.0.3-3.log.gz
Type: application/gzip
Size: 44648 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shinken-maint/attachments/20150128/6db7bde9/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shinken_2.0.3-4.dsc.diff
Type: text/x-diff
Size: 1179 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shinken-maint/attachments/20150128/6db7bde9/attachment-0001.diff>


More information about the Pkg-shinken-maint mailing list