#775878 libmono-corlib4.5-cil: possible dpkg trigger cycle

#775878#5
Date:
2015-01-21 04:05:33 UTC
From:
To:
Hi,

during a test with piuparts I noticed your package fails to upgrade from
'wheezy'.

That failing upgrade scenario is an upgrade of education-standalone
with --install-recommends from wheezy to jessie. That's a lot of
packages.

According to http://debian.semistable.com/debgraph.out.html mono is
responsible for a lot of circular dependencies :-(

  dpkg: dependency problems prevent configuration of libmono-system-xml4.0-cil:
   libmono-system-xml4.0-cil depends on libmono-corlib4.5-cil (>= 3.2.8); however:
    Package libmono-corlib4.5-cil is not configured yet.

  dpkg: error processing package libmono-system-xml4.0-cil (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of libmono-system-security4.0-cil:
   libmono-system-security4.0-cil depends on libmono-corlib4.5-cil (>= 3.2.8); however:
    Package libmono-corlib4.5-cil is not configured yet.
   libmono-system-security4.0-cil depends on libmono-system-xml4.0-cil (>= 3.2.1); however:
    Package libmono-system-xml4.0-cil is not configured yet.

  dpkg: error processing package libmono-system-security4.0-cil (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of libmono-system-configuration4.0-cil:
   libmono-system-configuration4.0-cil depends on libmono-corlib4.5-cil (>= 3.2.8); however:
    Package libmono-corlib4.5-cil is not configured yet.
   libmono-system-configuration4.0-cil depends on libmono-system-security4.0-cil (>= 1.0); however:
    Package libmono-system-security4.0-cil is not configured yet.
   libmono-system-configuration4.0-cil depends on libmono-system-xml4.0-cil (>= 3.2.1); however:
    Package libmono-system-xml4.0-cil is not configured yet.
   libmono-system-configuration4.0-cil depends on mono-runtime (>= 3.2.8); however:
    Package mono-runtime is not configured yet.
   libmono-system-configuration4.0-cil depends on mono-runtime (<< 3.2.9); however:
    Package mono-runtime is not configured yet.

  dpkg: error processing package libmono-system-configuration4.0-cil (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of libmono-system4.0-cil:
   libmono-system4.0-cil depends on libmono-corlib4.5-cil (>= 3.2.8); however:
    Package libmono-corlib4.5-cil is not configured yet.
   libmono-system4.0-cil depends on libmono-system-configuration4.0-cil (>= 1.0); however:
    Package libmono-system-configuration4.0-cil is not configured yet.
   libmono-system4.0-cil depends on libmono-system-xml4.0-cil (>= 3.2.1); however:
    Package libmono-system-xml4.0-cil is not configured yet.
   libmono-system4.0-cil depends on mono-runtime (>= 3.2.8); however:
    Package mono-runtime is not configured yet.
   libmono-system4.0-cil depends on mono-runtime (<< 3.2.9); however:
    Package mono-runtime is not configured yet.

  dpkg: error processing package libmono-system4.0-cil (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of libmono-security4.0-cil:
   libmono-security4.0-cil depends on libmono-corlib4.5-cil (>= 3.2.8); however:
    Package libmono-corlib4.5-cil is not configured yet.
   libmono-security4.0-cil depends on libmono-system4.0-cil (>= 3.2.8); however:
    Package libmono-system4.0-cil is not configured yet.

  dpkg: error processing package libmono-security4.0-cil (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of mono-4.0-gac:
   mono-4.0-gac depends on libmono-corlib4.5-cil (>= 3.2.8); however:
    Package libmono-corlib4.5-cil is not configured yet.
   mono-4.0-gac depends on libmono-security4.0-cil (>= 3.0.6); however:
    Package libmono-security4.0-cil is not configured yet.

  dpkg: error processing package mono-4.0-gac (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of mono-gac:
   mono-gac depends on mono-4.0-gac (= 3.2.8+dfsg-9); however:
    Package mono-4.0-gac is not configured yet.

  dpkg: error processing package mono-gac (--configure):
   dependency problems - leaving unconfigured


cheers,

Andreas

#775878#10
Date:
2015-03-25 21:26:42 UTC
From:
To:
Hi Andreas,

Is this upgrade problem still reproducible?  There was an upload of dpkg
between you filing this upload.  I do realise this does not affect the
mono dependency cycle - but if the upgrade now works, then it was
probably a trigger cycle.

~Niels

#775878#15
Date:
2015-03-29 18:57:21 UTC
From:
To:
control: severity -1 important
control: retitle -1 libmono-corlib4.5-cil: possible dpkg trigger cycle

I just did a wheezy->jessie test upgrade with libmono-corlib4.0-cil
initially installed and it went fine.

Best wishes,
Mike

#775878#24
Date:
2021-05-19 05:32:10 UTC
From:
To:
[Michael Gilbert 2015-03-29]

Sadly upgrades do not split package sets the same place every time, so
the cycle can still be present even if an upgrade succeeds.

And I just noticed several mono related cycles is reported in
<URL: http://debian.semistable.com/debgraph.out.html >,  See details in
<URL: http://debian.semistable.com/dot/mono-runtime-sgen_testing.png >,
<URL: http://debian.semistable.com/dot/libmono-system-web4.0-cil_stable.png >,
<URL: http://debian.semistable.com/dot/libmono-system-servicemodel4.0a-cil_stable.png >
and <URL: http://debian.semistable.com/dot/monodoc-manual_stable.png >.
Fixing those cycles would make the mono upgrade success more
predictable.

#775878#33
Date:
2025-08-17 18:45:00 UTC
From:
To:
close 775878 6.14.1+ds-3
thanks

With Mono binary packages being consolidated into 3 packages only
(+ debug packages), such circular dependencies should be a thing of the past.