Followup-For: Bug #985066 Control: tag -1 patch The attached patch fixes the piuparts issue for me.
Andreas
diff -Nru mono-6.8.0.105+dfsg/debian/changelog mono-6.8.0.105+dfsg/debian/changelog --- mono-6.8.0.105+dfsg/debian/changelog 2020-04-08 15:11:12.000000000 +0200 +++ mono-6.8.0.105+dfsg/debian/changelog 2021-03-31 13:38:34.000000000 +0200 @@ -1,3 +1,10 @@ +mono (6.8.0.105+dfsg-4) UNRELEASED; urgency=medium + + * mono-gac: Depend on mono-runtime-common (>= 5.20) and stop messing with + /etc/mono/config manually. (Closes: #985066) + + -- Andreas Beckmann <a...@debian.org> Wed, 31 Mar 2021 13:38:34 +0200 + mono (6.8.0.105+dfsg-3) unstable; urgency=high * [2501df4] Workaround for gacutil System.Native mapping dependency diff -Nru mono-6.8.0.105+dfsg/debian/control mono-6.8.0.105+dfsg/debian/control --- mono-6.8.0.105+dfsg/debian/control 2020-02-25 22:34:26.000000000 +0100 +++ mono-6.8.0.105+dfsg/debian/control 2021-03-31 13:38:32.000000000 +0200 @@ -2971,6 +2971,7 @@ Package: mono-gac Architecture: all Depends: ${misc:Depends}, + mono-runtime-common (>= 5.20), mono-4.0-gac (= ${source:Version}) Provides: global-assembly-cache-tool Description: Mono GAC tool diff -Nru mono-6.8.0.105+dfsg/debian/mono-gac.postinst mono-6.8.0.105+dfsg/debian/mono-gac.postinst --- mono-6.8.0.105+dfsg/debian/mono-gac.postinst 2020-02-25 20:06:42.000000000 +0100 +++ mono-6.8.0.105+dfsg/debian/mono-gac.postinst 2021-03-31 13:38:31.000000000 +0200 @@ -1,10 +1,5 @@ #!/bin/sh -e -# Work around for gacutil needing /etc/mono/config >= 5.20 -if [ -e /etc/mono/config.dpkg-new ]; then - mv /etc/mono/config.dpkg-new /etc/mono/config -fi - # On upgrades we need to repopulate the GAC and framework paths # to accomodate any changes in layout #