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

Wrong depends on Debian package #130

Open
alama opened this issue Apr 11, 2019 · 6 comments
Open

Wrong depends on Debian package #130

alama opened this issue Apr 11, 2019 · 6 comments

Comments

@alama
Copy link

alama commented Apr 11, 2019

Please only create a Github issue for bugs related to the code itself. If you are
experiencing an issue with sending metrics, display graphs, errors from the agent,
etc, please contact https://cloudsupport.digitalocean.com/s/ so we can provide support

Before opening an issue, make sure there is not a similar issue already open

Describe the problem

Debian packages depends on cron when it should be cron-daemon

Steps to reproduce

Install systemd-cron to replace cron

Expected behavior

System Information

Distribution and version:
Debian 9.8

do-agent information:

Paste the entire output

/opt/digitalocean/bin/do-agent --version:
Not Found

Ubuntu, Debian

apt-cache policy do-agent:

root@gitlab:~# apt-cache policy do-agent
do-agent:
  Installed: (none)
  Candidate: 2.1.3
  Version table:
     2.1.3 500
        500 https://repos.insights.digitalocean.com/apt/do-agent main/main amd64 Packages
     2.0.2 500
        500 https://repos.insights.digitalocean.com/apt/do-agent main/main amd64 Packages
     2.0.1 500
        500 https://repos.insights.digitalocean.com/apt/do-agent main/main amd64 Packages
     2.0.0 500
        500 https://repos.insights.digitalocean.com/apt/do-agent main/main amd64 Packages
     1.1.3 500
        500 https://repos.insights.digitalocean.com/apt/do-agent main/main amd64 Packages
@blockloop
Copy link
Contributor

cron-daemon is a virtual package and has no installation candidate. I believe you have to specify either systemd-cron or cron explicitly.

https://packages.debian.org/stretch/cron-daemon

@blockloop
Copy link
Contributor

blockloop commented Apr 13, 2019

Sorry I misunderstood. You're talking about the "Depends on" within the deb package. I believe we can specify cron-daemon and have the OS select the correct package. We'll take a look at this. Thanks for reporting.

@stale
Copy link

stale bot commented Jun 13, 2019

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Jun 13, 2019
@alama
Copy link
Author

alama commented Jun 13, 2019

The do-agent package version 2.2.4 in the repos still depend on cron, not and cron-daemon

@stale stale bot removed the stale label Jun 13, 2019
@QuLogic
Copy link

QuLogic commented Mar 17, 2022

If you applied #266, then the package wouldn't need to depend on cron at all.

@RosstheRoss
Copy link

Solving this for droplet-agent was trivial (ref: digitalocean/droplet-agent#134).

Solving this for this package does not seem to be publicly possible. A cursory search does not show that building the package is done with the Makefile like it was for droplet-agent.

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

No branches or pull requests

4 participants