Closed regix1 closed 1 year ago
This script will find the latest build version. Made it really easy to update from 2 to 3.
Error: N: Download is performed unsandboxed as root as file '/root/proxmox-backup-arm64/packages/proxmox-backup-docs_3.0.2-1_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
The problem is that you downloaded or build the packages in the home directory of the root user /root
apt uses the internal _apt user when installing files. This user has no access to /root and its subdirectories. To fix this the packages folder needs to be in a place where the _apt user has access to.
Server Install:
sudo apt install $(find . -type f \ ( -name "libjs-extjs_all.deb" \ -o -name "libjs-qrcodejsall.deb" \ -o -name "libproxmox-acme-pluginsall.deb" \ -o -name "pbs-i18nall.deb" \ -o -name "proxmox-backup-docsall.deb" \ -o -name "proxmox-backup-serverarm64.deb" \ -o -name "proxmox-mini-journalreaderarm64.deb" \ -o -name "proxmox-widget-toolkitall.deb" \ -o -name "pve-xtermjs*_arm64.deb" ))
Error: N: Download is performed unsandboxed as root as file '/root/proxmox-backup-arm64/packages/proxmox-backup-docs_3.0.2-1_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Potential Fix: chmod -R o+r /root/proxmox-backup-arm64/packages/