bashclub / proxmox-zfs-postinstall

This script is designed to run on a fresh installed Proxmox server, configures `pve-no-subscription` repository, adjusts `zfs_arc_cache` and installs basic tools like `zfs-auto-snapshot` or `ifupdown2`
https://sysops.tv
117 stars 29 forks source link

zfs-auto-snapshot is not found #15

Closed md61267 closed 2 months ago

md61267 commented 1 year ago

Hi there, during the run of the script, it states: dpkg-query: no packages found matching zfs-auto-snapshot 'zfs-auto-snapshot' not installed yet, using script defaults...

TheHades commented 1 year ago

This should not be a problem because the script first checks if zfs-auto-snapshot is installed. See https://github.com/bashclub/proxmox-zfs-postinstall/blob/main/proxmox-zfs-postinstall.sh#L126

However, the installation of the tools (https://github.com/bashclub/proxmox-zfs-postinstall/blob/main/proxmox-zfs-postinstall.sh#L6) starts at line 191 (https://github.com/bashclub/proxmox-zfs-postinstall/blob/main/proxmox-zfs-postinstall.sh#L191).

It may make sense to run the apt-process first.

thorstenspille commented 2 months ago

Hi, zfs-auto-snapshot is contained in the Debian repositories since (buster / Debian 10 / Proxmox 6), if on that version or newer, there are some network or DNS issues on yout system.