OctopusDeploy / OctopusTentacle

| Public | The secure, lightweight, cross-platform agent for Octopus Server which turns any computer into a worker or deployment target for automated deployments and operations runbooks.
https://octopus.com
Apache License 2.0
11 stars 16 forks source link

update rpm dependency #1021

Closed benPearce1 closed 1 month ago

benPearce1 commented 1 month ago

[sc-95170]

Background

Results

Fixes https://github.com/OctopusDeploy/Issues/issues/9060

Before

ben@bens-suse:/etc> sudo zypper install tentacle
Refreshing service 'Basesystem_Module_x86_64'.
Refreshing service 'Containers_Module_x86_64'.
Refreshing service 'Desktop_Applications_Module_x86_64'.
Refreshing service 'Development_Tools_Module_x86_64'.
Refreshing service 'Public_Cloud_Module_x86_64'.
Refreshing service 'Python_3_Module_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_x86_64'.
Refreshing service 'Server_Applications_Module_x86_64'.
Refreshing service 'Web_and_Scripting_Module_x86_64'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: 1: nothing provides 'openssl-libs' needed by the to be installed tentacle-8.2.2297-1.x86_64
 Solution 1: do not install tentacle-8.2.2297-1.x86_64
 Solution 2: break tentacle-8.2.2297-1.x86_64 by ignoring some of its dependencies

After

SLES

ben@bens-suse:/etc> sudo zypper install /tmp/tentacle-8.2.2317_pull_1021-1.x86_64.rpm
Refreshing service 'Basesystem_Module_x86_64'.
Refreshing service 'Containers_Module_x86_64'.
Refreshing service 'Desktop_Applications_Module_x86_64'.
Refreshing service 'Development_Tools_Module_x86_64'.
Refreshing service 'Public_Cloud_Module_x86_64'.
Refreshing service 'Python_3_Module_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_x86_64'.
Refreshing service 'Server_Applications_Module_x86_64'.
Refreshing service 'Web_and_Scripting_Module_x86_64'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  tentacle

The following package has no support information from its vendor:
  tentacle

1 new package to install.

Package download size:    38.2 MiB

Package install size change:
              |      93.1 MiB  required by to be installed packages
    93.1 MiB  |  -      0 B    released by to be removed packages

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y):
Retrieving: tentacle-8.2.2317_pull_1021-1.x86_64 (Plain RPM files cache)                                                                                                                                                                 (1/1),  38.2 MiB

Checking for file conflicts: ...........................[done]
To set up a Tentacle instance, run the following script:
    /opt/octopus/tentacle/configure-tentacle.sh
(1/1) Installing: tentacle-8.2.2317_pull_1021-1.x86_64 ............................[done]

image

Fedora:

[root@3d13529d827e /]# rpm -i /downloads/tentacle-8.2.2317_pull_1021-1.x86_64.rpm
warning: /downloads/tentacle-8.2.2317_pull_1021-1.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID bce1f8d1: NOKEY

To set up a Tentacle instance, run the following script:
    /opt/octopus/tentacle/configure-tentacle.sh

How to review this PR

Quality :heavy_check_mark:

Pre-requisites