Replies: 1 comment 2 replies
-
@simar7 In general, I agree with @nE0sIghT. I haven't seen a recommendation to avoid |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hi! I just hit
AVD-DS-0024
rule in the apt-mirror2 repository with the explanation:The description looks wrong because of [1] states:
... and [2] states:
So the
upgrade
command may not remove packages in the upgrade process whiledist-upgrade
may.[1] https://wiki.debian.org/AptCLI
[2] https://manpages.debian.org/unstable/apt/apt-get.8.en.html
Desired Behavior
I beleave
AVD-DS-0024
should be removed completely.Actual Behavior
AVD-DS-0024
claimsdist-upgrade
is wrong and should not be used while there is no other way to do complete upgrade.Reproduction Steps
1. Create Docker file with the `apt-get dist-upgrade` 2. Run trivy
Target
Filesystem
Scanner
None
Output Format
None
Mode
None
Debug Output
Operating System
docker.io/aquasec/trivy
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions