Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate package libgconf-2-4 when provisioning the package building environment #456

Closed
rauldpm opened this issue Oct 14, 2024 · 4 comments · Fixed by #457
Closed
Assignees
Labels
level/task Task issue type/bug Bug issue

Comments

@rauldpm
Copy link
Member

rauldpm commented Oct 14, 2024

Describe the bug

The package generation is failing due to the following dependency error

Unable to locate package libgconf-2-4

To Reproduce
Steps to reproduce the behavior:

  1. Run the GHA action https://github.com/wazuh/wazuh-indexer/actions/runs/11332275619/job/31514052126 for the v4.10.0-alpha2 tag

Expected behavior
The package should be created without error

Plugins
Default

Screenshots
Not needed, check links

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context

GHA action: https://github.com/wazuh/wazuh-indexer/actions/runs/11332275619/job/31514052126

 Reading state information...
Package libasound2 is a virtual package provided by:
  liboss4-salsa-asound2 4.2-build2020-1ubuntu3
  libasound2t64 1.2.11-1build2 (= 1.2.11-1build2)

E: Package 'libasound2' has no installation candidate
E: Unable to locate package libgconf-2-4
Error: Process completed with exit code 100.
@rauldpm rauldpm added level/task Task issue type/bug Bug issue labels Oct 14, 2024
@wazuhci wazuhci moved this to Triage in Release 4.10.0 Oct 14, 2024
@f-galland f-galland self-assigned this Oct 14, 2024
@wazuhci wazuhci moved this from Triage to In progress in Release 4.10.0 Oct 14, 2024
@f-galland
Copy link
Member

The docker based build environments do seem to work on the tag, but they are using ubuntu jammy.

The github actions scripts are using ubuntu:latest, so dependencies might have changed with the recent release of 24.10 Oracular Oriole.

I'm testing this under a virtual machine to confirm this is actually the case.

@f-galland
Copy link
Member

It looks like the latest tag from ubuntu points to noble (24.04) still.

@f-galland
Copy link
Member

A docker environment pulling ubuntu:latest confirms this:

Package libasound2 is a virtual package provided by:
  liboss4-salsa-asound2 4.2-build2020-1ubuntu3
  libasound2t64 1.2.11-1build2 (= 1.2.11-1build2)
You should explicitly select one to install.

E: Package 'libasound2' has no installation candidate
E: Unable to locate package libgconf-2-4
root@ubuntu2404:~# cat /etc/os-release 
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

@f-galland
Copy link
Member

It looks like removing libasound2, libgconf-2.4 and freeglut3 from the dependency list fixes the issue with no noticeable downsides.

@f-galland f-galland linked a pull request Oct 14, 2024 that will close this issue
3 tasks
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.10.0 Oct 14, 2024
@wazuhci wazuhci moved this from Pending review to Done in Release 4.10.0 Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants