Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-23790

APT proxies: "distribution" field is unused

    XMLWordPrintable

    Details

    • Notability:
      3

      Description

      When creating an apt proxy, one has to specify a "distribution" name in the repository config, but on testing this field does not appear to have any effect.

      To reproduce:

      1. In Nexus, configure an apt proxy repo pointing at http://archive.ubuntu.com/ubuntu. Specify distribution "focal".
      2. Start an Ubuntu 20.04 image.
      3. Replace /etc/apt/sources.list with a new file with this content:

      deb http://NEXUSHOST/repository/APT_REPO_ID/ focal main

      4. apt-get update
      5. apt-get download firefox
      6. Note the version of downloaded firefox
      7. Update /etc/apt/sources.list to use the bionic distro:

      deb http://NEXUSHOST/repository/APT_REPO_ID/ bionic main

      8. apt-get update
      9. rm firefox*
      10. apt-get download firefox

      Notice the difference in the firefox version between point 6 and point 10.

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Heini Dirk Heinrichs
            Last Updated By:
            Joseph Stephens
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title