Skip to content

Commit 22e31dd

Browse files
committed
add to versioned
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
1 parent 81f9f0b commit 22e31dd

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

website/docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ This error means that the package manager is trying to install a version of the
9090

9191
- Scanner reports are not up to date. Make sure to run the scanner with the latest vulnerability database. If you are using Trivy, it is recommended to pull the latest version of the Trivy DB, and not rely on cached or stale versions.
9292

93-
To verify the package version discrepencies, you can compare the package version provided by the package repositories and the scanner reports. Follow the Trivy documentation on [how to find the security advisory data sources](https://aquasecurity.github.io/trivy/dev/community/contribute/discussion/#false-detection), and then compare the package version in the scanner report with the applicable security advisory, and applicable package repository.
93+
To verify the package version discrepancies, you can compare the package version provided by the package repositories and the scanner reports. Follow the Trivy documentation on [how to find the security advisory data sources](https://aquasecurity.github.io/trivy/dev/community/contribute/discussion/#false-detection), and then compare the package version in the scanner report with the applicable security advisory, and applicable package repository.
9494

9595
If you are continuing to see this and the package repositories and vulnerability databases are not updated, you can either:
9696

website/versioned_docs/version-v0.9.x/faq.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,22 @@ export EXPERIMENTAL_BUILDKIT_SOURCE_POLICY=source-policy.json
8282
8383
For more information on source policies, see [Buildkit Source Policies](https://docs.docker.com/build/building/env-vars/#experimental_buildkit_source_policy).
8484

85+
## I am getting "downloaded package <name> version <version> lower than required <version> for update" error when trying to patch an image. What does this mean?
86+
87+
This error means that the package manager is trying to install a version of the package that is lower than the version that was required from the scanner report. This can happen for a few reasons:
88+
89+
- Package repositories are not updated to the latest version of the package. For example, sometimes there is a lag between when a CVE is detected by Trivy using Red Hat vulnerability database and when it is available in the package repositories for CentOS.
90+
91+
- Scanner reports are not up to date. Make sure to run the scanner with the latest vulnerability database. If you are using Trivy, it is recommended to pull the latest version of the Trivy DB, and not rely on cached or stale versions.
92+
93+
To verify the package version discrepancies, you can compare the package version provided by the package repositories and the scanner reports. Follow the Trivy documentation on [how to find the security advisory data sources](https://aquasecurity.github.io/trivy/dev/community/contribute/discussion/#false-detection), and then compare the package version in the scanner report with the applicable security advisory, and applicable package repository.
94+
95+
If you are continuing to see this and the package repositories and vulnerability databases are not updated, you can either:
96+
97+
- use `--ignore-errors` flag or [filter the applicable vulnerability in the scanner](troubleshooting.md#filtering-vulnerabilities).
98+
99+
- update all packages without any scanner reports. This can be done by not providing a scanner report to copa, and copa will update all packages to the latest version available in the package repositories.
100+
85101
## Can I use Dependabot with Copa patched images?
86102
Yes, see [best practices](best-practices.md#dependabot) to learn more about using Dependabot with Copa patched images.
87103

0 commit comments

Comments
 (0)