Skip to content

Install Aptitude task fails on brand new hosts #152

Description

@petitJAM

When provisioning a new host for the first time, the install aptitude step fails. Sshing into the server and running sudo apt update fixes the problem, so we may just need to swap the order of some stuff here.

Brett thinks this is related to the Linux version, so maybe we can put some conditional stuff in here?

TASK [common : install aptitude] **************************
fatal: [prod-worker1]: FAILED! => {"changed": false, "msg": "No package matching 'aptitude' is available"}
$ sudo apt install aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package aptitude is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'aptitude' has no installation candidate

https://github.com/tenforwardconsulting/subspace/blob/master/ansible/roles/common/tasks/main.yml#L67-L73

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions