]> git.proxmox.com Git - pve-manager.git/commit
report: add `apt-cache policy` to list recognized APT sources
authorAlexander Zeidler <a.zeidler@proxmox.com>
Thu, 18 Apr 2024 09:16:46 +0000 (11:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Apr 2024 20:26:59 +0000 (22:26 +0200)
commitb7e677d5780b74fd2adad563ce90020f4488e9ca
treef31f2e60787ebd7f89239732f8d9f6f47004ac45
parentf4c1565a1b3bba54f0e2e22463a91f0f4ffcad7e
report: add `apt-cache policy` to list recognized APT sources

with their details as well as pinned packages. Omit the "origin"
lines, as their value is already visible in the URLs.

 # apt-cache policy ...
 Package files:
  100 /var/lib/dpkg/status
      release a=now
  500 https://enterprise.proxmox.com/debian/pve bookworm/pve-enterprise amd64 Packages
      release o=Proxmox,a=stable,n=bookworm,l=Proxmox VE Enterprise Debian Repository,c=pve-enterprise,b=amd64
 ...
 Pinned packages:
      intel-microcode -> 3.20231114.1~deb12u1 with priority 1234

Signed-off-by: Alexander Zeidler <a.zeidler@proxmox.com>
PVE/Report.pm