[GH-ISSUE #24] Script failing when using latest Proxmox 6 #21

Closed
opened 2026-02-27 01:57:24 +03:00 by kerem · 0 comments
Owner

Originally created by @yorch on GitHub (Jan 30, 2020).
Original GitHub issue: https://github.com/extremeshok/xshok-proxmox/issues/24

Thanks for this project, it's awesome!

I've just found an issue when running the script following the instructions on OVH, on a new Proxmox 6, the script silently fails to finish, specifically in this line:

## Install zfs-auto-snapshot
/usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::='--force-confdef' install zfs-auto-snapshot

Because the package can not be found. Reason behind it is because this line:

## Add non-free to sources
sed -i "s/main contrib/main non-free contrib/g" /etc/apt/sources.list

As contrib is not configured by default:

# See http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.html
# for how to upgrade to newer versions of the distribution.
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main

Thanks!

Originally created by @yorch on GitHub (Jan 30, 2020). Original GitHub issue: https://github.com/extremeshok/xshok-proxmox/issues/24 Thanks for this project, it's awesome! I've just found an issue when running the script following the instructions on OVH, on a new Proxmox 6, the script silently fails to finish, specifically in this [line](https://github.com/extremeshok/xshok-proxmox/blob/master/install-post.sh#L72): ```bash ## Install zfs-auto-snapshot /usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::='--force-confdef' install zfs-auto-snapshot ``` Because the package can not be found. Reason behind it is because this [line]( https://github.com/extremeshok/xshok-proxmox/blob/master/install-post.sh#L44): ```bash ## Add non-free to sources sed -i "s/main contrib/main non-free contrib/g" /etc/apt/sources.list ``` As `contrib` is not configured by default: ```bash # See http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.html # for how to upgrade to newer versions of the distribution. deb http://deb.debian.org/debian buster main deb-src http://deb.debian.org/debian buster main ``` Thanks!
kerem closed this issue 2026-02-27 01:57:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/xshok-proxmox#21
No description provided.