Skip to content

Instantly share code, notes, and snippets.

View yktoo's full-sized avatar
🇺🇦

Dmitry Kann yktoo

🇺🇦
View GitHub Profile
@yktoo
yktoo / deb822.md
Created May 26, 2025 07:18
Create new-format (deb822) Debian .sources file
  1. Download a Release.key file if there's no key file in a keyring yet, and save it into a .gpg file.
  2. gpg --import /path/to/file
  3. The above command will display key ID. Use it to export as an armored key: gpg --export --armor <keyid>
  4. Create a .sources file, indenting the key and the endmarker with one space and prefixing it with a line containing a dot (.). Example:
Types: deb
URIs: http://download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_25.04/