Bug#666087: matlab-support: please provide a way to automatically reconfig /etc/alternatives/matlab

Sébastien Villemot sebastien at debian.org
Fri Sep 25 14:09:34 BST 2020


Control: notfound -1 0.0.19
Control: close -1 0.0.19

Le dimanche 24 mars 2013 à 16:06 +0100, Sébastien Villemot a écrit :
> Le lundi 11 février 2013 à 21:01 +0100, Michael Hanke a écrit :
> > Fortunately I discovered that this bug is still open before its first
> > anniversary ...
> > 
> > On Wed, Mar 28, 2012 at 09:07:11PM +0200, Michael Hanke wrote:
> > > On Wed, Mar 28, 2012 at 06:18:06PM +0200, Sébastien Villemot wrote:
> > > > From a user point of view, I was expecting the alternative to be updated
> > > > by the call to dpkg-reconfigure, so it would be nice if the postinst
> > > > script was doing this automatically. Maybe this could be made optional,
> > > > through a user prompt such as "Do you want to make this installation of
> > > > MATLAB the default?" (only displayed if there are already installed
> > > > alternatives).
> > > 
> > > Thanks for your detailed report -- it makes a lot of sense. I'll look
> > > into it as soon as I get a chance -- patches welcome, of course.
> > 
> > I have implemented something that should do what you are asking for, but
> > doesn't need a change in the templates. If you get a chance, please have
> > a look at this:
> > 
> > http://anonscm.debian.org/gitweb/?p=pkg-exppsy/matlab-support.git;a=commitdiff;h=c0ba294c4e0b532079bed12f05aa02834bc43fc1;hp=f8940bca21b79e072d47a34fe66e46992ba9d441
> > 
> > 
> > There are a few more bits to look at before I will make an upload -- but
> > I am planning on doing it soon.
> 
> Thanks for looking into this, and sorry for the long delay before a
> reply.
> 
> I just installed MATLAB R2013a, then did "dpkg-reconfigure
> matlab-support", configured the new MATLAB version in the debconf
> prompt, but the alternative is left unchanged and still points to R2012b
> (all this with matlab-support 0.0.19).
> 
> Am I missing something?

Actually I had not understand the proper way of managing multiple
coexisting MATLAB installations. If a wildcard is given to the
installation path, then matlab-support correctly configures the
alternative when the default choice is selected in debconf in the
following screen.

Hence closing again.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20200925/a41a49e8/attachment.sig>


More information about the debian-science-maintainers mailing list