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

[DOC] Copa pulling older libraries #406

Open
1 task
toddysm opened this issue Nov 3, 2023 · 2 comments · May be fixed by #420
Open
1 task

[DOC] Copa pulling older libraries #406

toddysm opened this issue Nov 3, 2023 · 2 comments · May be fixed by #420
Labels
documentation Improvements or additions to documentation

Comments

@toddysm
Copy link

toddysm commented Nov 3, 2023

Version of copa

No response

Expected Behavior

Expected to get the latest libraries

Actual Behavior

#6 exporting to client directory
#6 copying files 4.42kB done
#6 DONE 0.1s
time="2023-11-03T18:15:41Z" level=error msg="downloaded package libgssapi-krb5-2 version 1.20.1-2 lower than required 1.20.1-2+deb12u1 for update"
time="2023-11-03T18:15:41Z" level=error msg="downloaded package libkrb5-3 version 1.20.1-2 lower than required 1.20.1-2+deb12u1 for update"
time="2023-11-03T18:15:41Z" level=error msg="downloaded package libkrb5support0 version 1.20.1-2 lower than required 1.20.1-2+deb12u1 for update"
time="2023-11-03T18:15:41Z" level=error msg="downloaded package linux-libc-dev version 6.1.38-4 lower than required 6.1.55-1 for update"
time="2023-11-03T18:15:41Z" level=error msg="downloaded package openssl version 3.0.9-1 lower than required 3.0.11-1deb12u2 for update"
time="2023-11-03T18:15:41Z" level=error msg="downloaded package libc-bin version 2.36-9+deb12u1 lower than required 2.36-9+deb12u3 for update"
time="2023-11-03T18:15:41Z" level=error msg="downloaded package libc-dev-bin version 2.36-9+deb12u1 lower than required 2.36-9+deb12u3 for update"
time="2023-11-03T18:15:41Z" level=error msg="downloaded package libc6 version 2.36-9+deb12u1 lower than required 2.36-9+deb12u3 for update"
time="2023-11-03T18:15:41Z" level=error msg="downloaded package libc6-dev version 2.36-9+deb12u1 lower than required 2.36-9+deb12u3 for update"
time="2023-11-03T18:15:41Z" level=error msg="downloaded package libk5crypto3 version 1.20.1-2 lower than required 1.20.1-2+deb12u1 for update"
time="2023-11-03T18:15:41Z" level=error msg="downloaded package libssl3 version 3.0.9-1 lower than required 3.0.11-1
deb12u2 for update"
Error: 11 errors occurred:
  * downloaded package libgssapi-krb5-2 version 1.20.1-2 lower than required 1.20.1-2+deb12u1 for update
  * downloaded package libkrb5-3 version 1.20.1-2 lower than required 1.20.1-2+deb12u1 for update
  * downloaded package libkrb5support0 version 1.20.1-2 lower than required 1.20.1-2+deb12u1 for update
  * downloaded package linux-libc-dev version 6.1.38-4 lower than required 6.1.55-1 for update
  * downloaded package openssl version 3.0.9-1 lower than required 3.0.11-1deb12u2 for update
  * downloaded package libc-bin version 2.36-9+deb12u1 lower than required 2.36-9+deb12u3 for update
  * downloaded package libc-dev-bin version 2.36-9+deb12u1 lower than required 2.36-9+deb12u3 for update
  * downloaded package libc6 version 2.36-9+deb12u1 lower than required 2.36-9+deb12u3 for update
  * downloaded package libc6-dev version 2.36-9+deb12u1 lower than required 2.36-9+deb12u3 for update
  * downloaded package libk5crypto3 version 1.20.1-2 lower than required 1.20.1-2+deb12u1 for update
  * downloaded package libssl3 version 3.0.9-1 lower than required 3.0.11-1
deb12u2 for update

Error patching image tsmacrkubeconna23demousw2.azurecr.io/toddysm/python:3.10 with copa
2023/11/03 18:15:41 Container failed during run: patch-with_copa. No retries remaining.
failed to run step ID: patch-with_copa: exit status 1

Run ID: cc16 failed after 1m27s. Error: failed during run, err: exit status 1

Steps To Reproduce

No response

Are you willing to submit PRs to contribute to this bug fix?

  • Yes, I am willing to implement it.
@toddysm toddysm added the bug Something isn't working label Nov 3, 2023
@sozercan
Copy link
Member

sozercan commented Nov 3, 2023

@toddysm make sure to have fresh scan results. these are usually due to stale reports (basically trivy and package repo disagreement), you'll need to make sure to scan before patch every time. this is not a bug with copa.

@sozercan
Copy link
Member

sozercan commented Nov 3, 2023

synced with @toddysm offline, his issue was due to github outage and cannot repro now. this might be due to trivy's db being hosted in ghcr.

we should document this in FAQ since this might be somewhat common if scan results are stale or scanner's db is outdated.

@sozercan sozercan changed the title [BUG] Copa pulling older libraries [DOC] Copa pulling older libraries Nov 3, 2023
@sozercan sozercan added documentation Improvements or additions to documentation and removed bug Something isn't working labels Nov 3, 2023
@sozercan sozercan linked a pull request Apr 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: 🆕 New
Development

Successfully merging a pull request may close this issue.

2 participants