-
Notifications
You must be signed in to change notification settings - Fork 171
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
rosdep install should have an --update flag to refresh package cache before performing install #904
Comments
I don't think this is a job for rosdep. You should ensure re-validation of the APT cache yourself. In docker, you'd write:
And, ideally:
|
Since rosdep is acting as a wrapper for |
An example can be found e.g. here: https://github.com/osrf/subt/blob/master/docker/cloudsim_sim/Dockerfile#L105-L115 . |
rosdep not only manages apt, but also other package managers, such as rpm, brew, etc. tldr: it's quite complicated to implement properly, let alone testing it. |
Our use case is in CI we use containers whose apt package cache is often stale, causing
rosdep install
to eventually fail unlessapt-get update
has run recently.I propose that
rosdep install
should have an--update
flag that will refresh the package cache if the backend package manager supports that. The equivalent of runningapt-get update && rosdep install foo
.The text was updated successfully, but these errors were encountered: