Skip to content

Conversation

@evgeni
Copy link
Member

@evgeni evgeni commented Apr 28, 2025

should also prevent issues with apt::update being scheduled after we try to install the package

Notice: /Stage[main]/Grafana_alloy::Repo/Apt::Source[grafana-alloy]/Apt::Keyring[grafana-alloy]/File[/etc/apt/keyrings/grafana-alloy.asc]/ensure: defined content as '{mtime}2023-08-24 20:03:52 UTC'
Notice: /Stage[main]/Grafana_alloy::Repo/Apt::Source[grafana-alloy]/Apt::Setting[list-grafana-alloy]/File[/etc/apt/sources.list.d/grafana-alloy.list]/ensure: defined content as '{sha256}dc6973392606f49faa1e0e20863dd98b0039f09d79a5a07f20469af0b99f55f3'
Notice: /Stage[main]/Grafana_alloy/File[/etc/alloy/config.alloy]: Dependency Package[alloy] has failures: true
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install alloy' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package alloy
Error: /Stage[main]/Grafana_alloy/Package[alloy]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install alloy' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package alloy
Warning: /Stage[main]/Grafana_alloy/File[/etc/alloy/config.alloy]: Skipping because of failed dependencies
Warning: /Stage[main]/Grafana_alloy/Service[alloy]: Skipping because of failed dependencies
Notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 event

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

should also prevent issues with apt::update being scheduled after we try
to install the package
@evgeni evgeni merged commit 66a4e47 into main Apr 28, 2025
49 checks passed
@evgeni evgeni added the enhancement New feature or request label May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants