Skip to content

Feat: added deb822 support for Debian 12,13, Ubuntu 24 support onward - #1699

Open
watysay wants to merge 1 commit into
CISOfy:masterfrom
watysay:1636-add-deb822-support
Open

Feat: added deb822 support for Debian 12,13, Ubuntu 24 support onward#1699
watysay wants to merge 1 commit into
CISOfy:masterfrom
watysay:1636-add-deb822-support

Conversation

@watysay

@watysay watysay commented Dec 19, 2025

Copy link
Copy Markdown

Fix #1636
PKGS-7388 issue on detecting security repository for APT.

Added deb822 format support in APT sources list.
Used on Debian 12,13, Ubuntu 24 and onward.

Now search for "^Types: deb" in /etc/apt/sources.list.d/.sources. It's the declaration model for deb packages repository, so should be present in every declaration of repo.
Could look for "
.sources" files vs "*.list" files also (newer format vs older format).

Ubuntu did not change the security url ("security.ubuntu.com"), the search was still working (Ubuntu 24.04 clo
ud image).
Debian did ("security.debian.org" -> "debian-security"). Tested KO on Debian 12 and Debian 13.

Log before change (failing on Debian 12):

2025-12-19_10-59

Log after change:

2025-12-19_11-01

Tested on Debian 12, 13 and Ubuntu 24.04 all cloud images.

PS: This is my first PR, hope I'm doing okay. Feel free to give feedback :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PKGS-7388 - Can't find any security repository

1 participant