The Debian Package is not available #10434
-
DescriptionBy installing trivy like described in the documentation I get the following error: $ LANG=C sudo apt-get install trivy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
trivy
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 48.3 MB of archives.
After this operation, 1307 kB disk space will be freed.
Err:1 https://aquasecurity.github.io/trivy-repo/deb noble/main amd64 trivy amd64 0.69.4
404 Not Found [IP: 185.199.110.153 443]
E: Failed to fetch https://aquasecurity.github.io/trivy-repo/deb/pool/main/t/trivy/trivy_0.69.4_amd64.deb 404 Not Found [IP: 185.199.110.153 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
```
### Desired Behavior
Should install/update trivy
### Actual Behavior
Broken Installation, could not get trivy debian poackage.
### Reproduction Steps
```bash
sudo apt-get install wget gnupg
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg --dearmor | sudo tee /usr/share/keyrings/trivy.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb generic main" | sudo tee -a /etc/apt/sources.list.d/trivy.list
sudo apt-get update
sudo apt-get install trivy
```
### Target
Git Repository
### Scanner
None
### Output Format
None
### Mode
None
### Debug Output
```bash
It's not a trivy problem itself.
```
### Operating System
Debian 12
### Version
```bash
0.69.4
```
### Checklist
- [ ] Run `trivy clean --all`
- [ ] Read [the troubleshooting](https://trivy.dev/docs/latest/references/troubleshooting/) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
@alinex the version 0.69.4 was compromised, see Trivy ecosystem supply chain temporarily compromised |
Beta Was this translation helpful? Give feedback.
-
|
The recommendation is to use 0.69.3 or earlier, but: I resorted to installing the 0.69.3 DEB downloaded from GitHub, but now upgrades are broken on my entire system until Trivy publishes a new tag: |
Beta Was this translation helpful? Give feedback.
-
|
Hello all I tried to add repo in ubuntu image and repo works correctly: |
Beta Was this translation helpful? Give feedback.
-
|
Cleaning out |
Beta Was this translation helpful? Give feedback.
Cleaning out
/var/lib/apt/lists/*trivy*got me unstuck: