-
Notifications
You must be signed in to change notification settings - Fork 1
Repository Examples
Reto Gantenbein edited this page May 20, 2026
·
5 revisions
This page lists a number of examples for Linux package repository configurations that can be defined in pkgproxy:
pkgproxy.yaml snippet:
repositories:
google-chrome:
suffixes:
- .deb
- .rpm
mirrors:
- https://dl.google.com/linux/chrome/
/etc/yum.repos.d/google-chrome.repo:
[google-chrome]
name=google-chrome
baseurl=http://<pkgproxy>:8080/google-chrome/rpm/stable/$basearch
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
enabled=1
/etc/apt/sources.list.d/google-chrome.sources:
Types: deb
URIs: http://<pkgproxy>:8080/google-chrome/deb/
Suites: stable
Components: main
Architectures: amd64
Signed-By: /usr/share/keyrings/google-chrome.gpg
Requires the manual import of the GPG key via:
curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor --yes -o /usr/share/keyrings/google-chrome.gpg
pkgproxy.yaml snippet:
repositories:
vscode:
suffixes:
- deb
- rpm
mirrors:
- https://packages.microsoft.com/
/etc/yum.repos.d/vscode.repo:
[code]
name=Visual Studio Code
baseurl=http://<pkgproxy>:8080/vscode/yumrepos/vscode
enabled=1
autorefresh=1
type=rpm-md
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
/etc/apt/sources.list.d/vscode.sources:
Types: deb
URIs: http://<pkgproxy>:8080/vscode/repos/code
Suites: stable
Components: main
Architectures: amd64,arm64,armhf
Signed-By: /usr/share/keyrings/microsoft.gpg
Requires the manual import of the GPG key via:
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft.gpg