DLPX-73653 Unpin unzip package following fix for DLPX-73555#225
DLPX-73653 Unpin unzip package following fix for DLPX-73555#225smeda-delphix merged 1 commit intomasterfrom
Conversation
prakashsurya
left a comment
There was a problem hiding this comment.
I think you also need to update packages/virtualization/config.sh .. i.e.
20 PACKAGE_DEPENDENCIES="adoptopenjdk crypt-blowfish host-jdks misc-debs"
and
30 > > "$DEPDIR"/misc-debs/unzip_6.0-21ubuntu1_amd64.deb
and perhaps remove the --allow-downgrades option in lib/common.sh:
476 > > #
477 > > # We use the "--allow-downgrades" for the case of a
478 > > # package needing to install the "unzip" debian package
479 > > # that we build via the "misc-debs" linux-pkg package.
480 > > # The "misc-debs" based "unzip" package may have an
481 > > # older version than what's already installed on the
482 > > # system, so we need to "--allow-downgrades" in order to
483 > > # install that specific package; further, that specific
484 > > # package is required to build the "virtualization"
485 > > # debian packages.
486 > > #
487 > > sudo env DEBIAN_FRONTEND=noninteractive apt-get install \
488 > > > -y --allow-downgrades "$@" && return
(we could probably leave it too.. but the comment should at least be removed/altered)
|
This also brings up another potential issue.. we have the but, I don't see the if, then.. we won't install it at all, during the build of the virtualization package.. leading to that package build to fail.. e.g. due to unzip not getting installed at all, during the build.. |
|
so, I think we need to at least build the virtualization package, with this linux-pkg change.. e.g. run |
|
you should be able to test this via this Jenkins job: http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/build?delay=0sec set |
a40b3db to
8ec15d2
Compare
|
ok.. so in that run I see: so it does look like we'll get unzip installed via some transitive dependency.. so no flag day.. but it'll be good to add |
|
yes, we get unzip by default. We had issue with the default version and had to pin a specific version. So, removing this should allow it to go back to how it was before. I removed the --allow-downgrade option as well now. Started a new run. Sorry, I missed that comment before. |
|
Going ahead with the merge. The only dx-test failure seen in the run was an unrelated issue mentioned in #engineering channel |
removed the pinned unzip package as the latest one fixes DLPX-73555.
Manual verification:
Installed latest version of unzip
6.0-25ubuntu1and verified by executing -unzip -t /export/home/delphix/dlpx-app-gate/appliance/bin/jars/com.delphix.cli/cli/1.0.0/cli-1.0.0.zip(previously failing command that led to pinning down the version)
ab-pre-push - http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/721/