From quick glance, I see following alternative solutions for this.
Remove the specified version for this particular package
This might still break sometime in the future due other package version being removed
Pick a different base image that contains all or at least most of the packages that we are installing.
I believe there are some official ubuntu images that have these already installed, which would make it faster to build and more secure.
Problem
It seems the version specified for the
ca-certificates
package has been removed and is no longer available, which causes builds to fail.Originally posted by @ondrej-fabry in https://github.com/FDio/govpp/issues/123#issuecomment-1563955316
Solutions
From quick glance, I see following alternative solutions for this.
Remove the specified version for this particular package This might still break sometime in the future due other package version being removed
Pick a different base image that contains all or at least most of the packages that we are installing. I believe there are some official ubuntu images that have these already installed, which would make it faster to build and more secure.