Please follow the below template, it will help us to help you!
Expected Behaviour:
Trying to install pi-hole on Mint 19 3.8.9
Actual Behaviour:
I get:
tom@Vicky:~$ curl -sSL https://install.pi-hole.net | bash
stty: 'standard input': Inappropriate ioctl for device
[✗] Root user check
[i] Script called with non-root privileges
The Pi-hole requires elevated privileges to install and run
Please check the installer for any concerns regarding this requirement
Make sure to download this script from a trusted source
[✓] Sudo utility check
[sudo] password for tom;
stty: 'standard input': Inappropriate ioctl for device
[✓] Root user check
[✓] Disk space check
[✗] Update local cache of available packages
Error: Unable to update package cache. Please try "apt-get update"tom@Vicky:~$ apt-get update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
tom@Vicky:
If I run the installation as root I get:
[✓] Disk space check
[✗] Update local cache of available packages
Error: Unable to update package cache. Please try "apt-get update"root@Vicky:~# apt-get update
Ign:1 Index of /linux/mint/packages tara InRelease
Hit:2 Index of /ubuntu bionic InRelease
Hit:3 Index of /ubuntu bionic-updates InRelease
Hit:4 http://linux.teamviewer.com/deb stable InRelease
Hit:5 Index of /ubuntu bionic-backports InRelease
Hit:6 Index of /linux/mint/packages tara Release
Hit:7 http://linux.teamviewer.com/deb preview InRelease
Get:8 https://brave-browser-apt-release.s3.brave.com bionic InRelease [2,824 B]
Ign:9 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:10 http://APT.spideroak.com/ubuntu-spideroak-hardy release InRelease
Hit:11 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:12 http://archive.canonical.com/ubuntu bionic InRelease
Hit:14 http://dl.google.com/linux/chrome/deb stable Release
Get:13 http://ppa.launchpad.net/mmozeiko/rclone-browser/ubuntu xenial InRelease [18.1 kB]
Get:15 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease [1,310 B]
Err:8 https://brave-browser-apt-release.s3.brave.com bionic InRelease
The following signatures were invalid: EXPKEYSIG 4FE13824E3FFC656 Brave Software support@brave.com
Err:13 http://ppa.launchpad.net/mmozeiko/rclone-browser/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 29CF6613D67DF04A
Err:15 https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 03C3AD3A7F068E5D
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://brave-browser-apt-release.s3.brave.com bionic InRelease: The following signatures were invalid: EXPKEYSIG 4FE13824E3FFC656 Brave Software support@brave.com
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en_NZ) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: GPG error: http://ppa.launchpad.net/mmozeiko/rclone-browser/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 29CF6613D67DF04A
E: The repository 'http://ppa.launchpad.net/mmozeiko/rclone-browser/ubuntu xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://mega.nz/linux/MEGAsync/xUbuntu_18.04 ./ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 03C3AD3A7F068E5D
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en_NZ) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/brave-browser.list:3 and /etc/apt/sources.list.d/google-chrome.list:3
root@Vicky:~#
I've no idea what any of that means or where I go from here.