• how do I get the Debian installer to require a specific OS version

    From Keith Proctor@21:1/5 to All on Sat Feb 4 00:10:01 2023
    Gosh, I haven't worked with list servers in ages so I'm not sure if I'm doing this correctly.

    I'm trying to help my installer team find an answer to this issue:

    We have 2 Debian installers for Ubuntu. Let's say one requires Ubuntu 20.0.4 and the other is for a range of previous versions. Is there a way to force each installer notify the user that they are using the wrong version of our installer on the wrong OS?
    I saw a preinst script or a controller section but no clear way to specify the OS version that the installer is valid for.

    Currently we get an 'unmet dependencies' message which doesn't describe the issue. We don't want the user to use -f to force the dependencies as installing older components is not generally a good idea.

    Keith Proctor
    keefers@me.com




    <html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class="s-prose js-post-body" itemprop="text" style="caret-
    color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: var(--theme-post-body-font-family); font-style: inherit; font-variant-caps: inherit; margin: 0px; padding: 0px; border: 0px; font-stretch: inherit; line-height: var(--_pr-lh); font-size: var(--_pr-fs)
    ; vertical-align: baseline; box-sizing: inherit; --_pr-fs: calc(var(--su-static16) - var(--su-static1)); --_pr-lh: 1.5; --_pr-blockquote-ml: 1em; --_pr-blockquote-mt: 0; --_pr-blockquote-before-bg: var(--black-150); --_pr-code-fs: var(--fs-body1); --_pr-
    h1-fs: var(--fs-headline1); --_pr-h2-fs: var(--fs-title); --_pr-h3-fs: var(--fs-subheading); --_pr-h4-fs: var(--fs-body3); --_pr-h5-fs: var(--fs-body2); --_pr-h6-fs: var(--fs-body1); --_pr-hr-bg: var(--black-100); --_pr-img-mb: 1.1em; --_pr-kbd-bc:
    transparent; --_pr-kbd-bs: 0 var(--su-static1) var(--su-static1) hsla(210,8%,5%,0.8); --_pr-spoiler-cursor: pointer; --_pr-spoiler-after-t: 1em; --_pr-soiler-after-o: unset; --_pr-soiler-child-o: 0; --_pr-soiler-child-visibility: hidden; --s-prose-
    spacing: 1.1em; --s-prose-spacing-condensed: calc(1.1em / 2); overflow-wrap: break-word; width: 486.5px; --_pr-kbd-btc: hsl(210,8%,45%);"><p style="margin: 0px 0px 1.1em; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant-
    caps: inherit; font-stretch: inherit; line-height: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both; --_pr-img-mb: 0;">Gosh, I haven't worked with list servers in ages so I'm not sure if I'm&nbsp;<span style="font-
    family: inherit; font-style: inherit; font-variant-caps: inherit;">doing this correctly.</span></p><p style="margin: 0px 0px 1.1em; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit;
    line-height: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both; --_pr-img-mb: 0;">I'm trying to help my installer team find an answer to this issue:</p><p style="margin: 0px 0px 1.1em; padding: 0px; border: 0px; font-
    family: inherit; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both; --_pr-img-mb: 0;">We have 2 Debian installers for Ubuntu. Let's
    say one requires Ubuntu 20.0.4 and the other is for a range of previous versions. Is there a way to force each installer notify the user that they are using the wrong version of our installer on the wrong OS? I saw a preinst script or a controller
    section but no clear way to specify the OS version that the installer is valid for.</p><p style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit;
    font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both; --_pr-img-mb: 0;">Currently we get an 'unmet dependencies' message which doesn't describe the issue. We don't want the user to use -f to force the dependencies as installing
    older components is not generally a good idea.</p></div><div class="mt24 mb12" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: inherit; font-style: inherit; font-variant-caps: inherit; margin-right: 0px; margin-left: 0px; padding: 0px;
    border: 0px; font-stretch: inherit; line-height: inherit; font-size: 13px; vertical-align: baseline; box-sizing: inherit; margin-top: var(--su24) !important; margin-bottom: var(--su12) !important;"><div class="post-taglist d-flex gs4 gsy fd-column"
    style="margin: calc(var(--su4) / 2 * -1); padding: 0px; border: 0px; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI Adjusted&quot;, &quot;Segoe UI&quot;, &quot;Liberation Sans&quot;, sans-serif; font-stretch: inherit; line-height: inherit;
    vertical-align: baseline; box-sizing: inherit; clear: both; caret-color: rgb(231, 233, 235); color: rgb(231, 233, 235); flex-direction: column !important; display: flex !important;"><div class="d-flex ps-relative fw-wrap" style="margin: calc(var(--su4) /
    2); padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit; flex-wrap: wrap !important; display: flex !important;
    position: relative !important;"></div></div><br class="Apple-interchange-newline"></div><div>
    <div>Keith Proctor</div><div>keefers@me.com</div><div><br></div><br class="Apple-interchange-newline">

    </div>

    <br></body></html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)