On 16/01/2019 14:01, Alastair McKinstry wrote:

On 16/01/2019 13:49, Andreas Beckmann wrote:
On 2019-01-16 13:58, Alastair McKinstry wrote:
Hi

Would you happen to know syntax for piuparts to enable an upgrade test
from stretch to a new (local) version?
the command line for the normal stretch2{buster,sid} test can be derived
from corresponding log file, you may have to adjust paths etc.

and then its just these three extra:
--bindmount /tmp/openmpi --testdebs-repo /tmp/openmpi
--distupgrade-to-testdebs

with some set of .debs and a Packages file in /tmp/openmpi (or anywhere
else)

I'm trying to debug and need to see whats failing in the preinst script. So I've a local 3.1.3-10 version with 'set -x' in the scripts, but can't
seem to do a stretch-> this upgrade, without putting it in sid or
experimental.
I finally got curious and looked into this last night ... I've
completely overhauled your maintainer scripts and just pushed them to a
branch anbe/alternatives
I hope I understood what your intentions were for the preinst and
reimplemented them in a more readable way. I needed some time to
understand what type of corruption you meant until I found the broken
mpi alternative status file posted by (forgot his name). Because that
code was primarily triggering on "no alternative installed".
I haven't done extensive tests, but it passes the upgrade from stretch :-)
Thanks, I'll review them.

Thanks,  this looks good.

I'll upload with these changes.

Matching changes should probably be made for mpich, the other mpi alternative.

(There is a third MPI alternative in Debian, lam, which also needs work, but i've heard nothing from its maintainer,

and the upstream is dead).


PPPS: all that was missing was a single '|| true'

--
Alastair McKinstry, <alast...@sceal.ie>, <mckins...@debian.org>, 
https://diaspora.sceal.ie/u/amckinstry
Commander Vimes didn’t like the phrase “The innocent have nothing to fear,”
 believing the innocent had everything to fear, mostly from the guilty but in 
the longer term
 even more from those who say things like “The innocent have nothing to fear.”
 - T. Pratchett, Snuff

Reply via email to