New install fails ubuntu 18.04.1

Please follow the below template, it will help us to help you!

Expected Behaviour:

trying to install using curl -sSL https://install.pi-hole.net | sudo bash -x on a fresh updated 18.04.1 ubuntu server

Actual Behaviour:

paste of message
https://pastebin.com/3nc5tgFi

Debug Token:

[Replace this text with the debug token provided from running pihole -d (or running the debug script through the web interface]

Try apt-get --yes --no-install-recommends install dialog dhcpcd5 and see why that is failing to install.

root@pihole:/home/james# apt-get --yes --no-install-recommends install dialog dhcpcd5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dialog is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'dialog' has no installation candidate
E: Unable to locate package dhcpcd5
root@pihole:/home/james#

That doesn't look like we can currently support Ubuntu 18.04.1 with the current installer. We'll have to look at that platform and see what needs to be adjusted to be able to install and operate on that release.

ok, whats your recommendation for os

Debian 9 would we a good choice for installs on full server/desktop hardware.

ok ill go grab a copy. cheers

erm.....

so completely new to deb - didn't realise it handles packages differently.

so tried the curl and get this error

james@pihole:~$ curl -sSL https://install.pi-hole.net | bash
-bash: curl: command not found

now im lost i cant apt-get anything

Debian and Ubuntu both use apt and apt-get, do you get an error from apt-get update && apt-get install curl?

james@pihole:~$ apt-get update && apt-get install curl
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/

You need to call those as sudo, so sudo apt-get update && sudo apt-get install curl

james@pihole:~$ sudo apt-get update && sudo apt-get install curl
-bash: sudo: command not found
:exploding_head:

Then you need to change to the root user and install sudo from that account. Then allow your james account to be allowed to use sudo.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.