# Install just stops after checking for dependencies - anyone help please?

**URL:** <https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409>\
**Category:** Help\
**Created:** [October 29, 2016, 2:32pm UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409 "2016-10-29T14:32:59Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveharman](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/8491ac/32.png) [@steveharman](https://discourse.pi-hole.net/u/steveharman)\
**Post date:** [October 29, 2016, 2:32pm UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/1 "2016-10-29T14:32:59Z")

</div>

Hi,

I've just setup a fresh install of a Pi with the latest NOOBS / Raspbian as of today. Formatted the SD card, latest NOOBS 2.0.0 and no other software installed.

I've run the Pi-Hole install script as root, all goes well until it just stops. No error, I'm just back at the command prompt.

```
./basic-install.sh
:::
::: You are root.
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with Pi-hole installation...
::: Checking for apt-utils... installed!
::: Checking for whiptail... installed!
::: Checking for git... installed!
::: Checking for dhcpcd5... installed!
::: Checking for dnsutils...root@raspberrypi:/home/pi#

```

Anyone suggest what I might be doing wrong? Without any visible error(s) I'm a bit stuck. Also tried the curl method shown on the Pi-Hole homepage - exactly the same thing happens.

Thanks,

Steve

---

<div class="post-metadata">

**Author:** ![steveharman](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/8491ac/32.png) [@steveharman](https://discourse.pi-hole.net/u/steveharman)\
**Post date:** [October 29, 2016, 2:55pm UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/2 "2016-10-29T14:55:22Z")

</div>

UPDATE: As the script seemed to be ending on 'Checking for dnsutils' I tried to manually install them with sudo apt-get install dnsutils And got this:

```
The following NEW packages will be installed:
  dnsutils
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 113 kB of archives.
After this operation, 325 kB of additional disk space will be used.
Err http://mirrordirector.raspbian.org/raspbian/ jessie/main dnsutils armhf 1:9.9.5.dfsg-9+deb8u6
  404 Not Found [IP: 2001:41c9:1:3ce::11 80]
E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/b/bind9/dnsutils_9.9.5.dfsg-9+deb8u6_armhf.deb 404 Not Found [IP: 2001:41c9:1:3ce::11 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

```

A clear 404 when attempting to install dnsutils. So I did as suggested and ran a sudo apt-get update and then tried installing dnsutils again - worked. fine this time.

Seems like the Pi-Hole script isn't handling failures to apt-get-install packages very gracefully? Certainly in my case there was nothing written to the console which gave any clues as to what was failing - I was just dropped back to the command prompt.

Anyway progressed nicely after that hiccup and I'm up and running.

Steve

---

<div class="post-metadata">

**Author:** ![DanSchaper](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/danschaper/32/91_2.png) [@DanSchaper](https://discourse.pi-hole.net/u/DanSchaper)\
**Post date:** [October 29, 2016, 3:22pm UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/3 "2016-10-29T15:22:58Z")

</div>

That's my fault, the trap is only written to catch the failure to update `apt` index, the actual error doesn't bubble up to the user. Need to get that second half of a trap to display but `apt` really should behave and follow our update call earlier in the script.

It's annoying to us and to the user, but when we just code as volunteers on free time, we either get functions out or sit and wait till they're perfect and no one gets any updates for months...

---

<div class="post-metadata">

**Author:** ![steveharman](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/s/8491ac/32.png) [@steveharman](https://discourse.pi-hole.net/u/steveharman)\
**Post date:** [October 29, 2016, 3:29pm UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/4 "2016-10-29T15:29:35Z")

</div>

No problem at all - the script worked flawlessly after the dnsutils hiccup. Excellent job!

Steve

---

<div class="post-metadata">

**Author:** ![Kameron\_Carr](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@Kameron\_Carr](https://discourse.pi-hole.net/u/Kameron_Carr)\
**Post date:** [November 26, 2016, 12:39am UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/5 "2016-11-26T00:39:02Z")

</div>

I am having the same exact problem except it stops while checking for iproute2. I have tried installing the package manually but it is already installed. I removed the package and reinstalled it but that still didn't fix the problem. Is there anything else that could be causing the script to stop while checking the dependencies?

---

<div class="post-metadata">

**Author:** ![DanSchaper](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/danschaper/32/91_2.png) [@DanSchaper](https://discourse.pi-hole.net/u/DanSchaper)\
**Post date:** [November 29, 2016, 3:24am UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/6 "2016-11-29T03:24:57Z")

</div>

Can you paste a copy of the terminal output when the script stops running? The iproute2 package is different depending on the distribution version.

---

<div class="post-metadata">

**Author:** ![Kameron\_Carr](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@Kameron\_Carr](https://discourse.pi-hole.net/u/Kameron_Carr)\
**Post date:** [December 10, 2016, 6:10am UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/7 "2016-12-10T06:10:33Z")

</div>

![](https://discourse.pi-hole.net/uploads/default/original/3X/9/2/92f8bab76e740c3c84c59f3b06536f4a49e08396.jpeg)

I tried reinstalling Raspbian but I'm still having the same problem.

---

<div class="post-metadata">

**Author:** ![jpgpi250](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jpgpi250/32/286_2.png) [@jpgpi250](https://discourse.pi-hole.net/u/jpgpi250)\
**Post date:** [December 10, 2016, 8:37am UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/8 "2016-12-10T08:37:04Z")

</div>

I recently had similar problem durring the installation of pi-hole on Raspbian Jessie Light, and found that you need to run:  
**sudo apt-get update** BEFORE the installation of pi-hole  
and  
**sudo apt-get upgrade** AFTER the installation of pihole

According to a document I found the difference is:  
UPDATE:  
Updates the list of available packages and their versions, but it does not install or  
upgrade any packages.  
UPGRADE:  
Actually installs newer versions of the packages you have. After updating the lists, the  
package manager knows about available updates for the software you have installed.

You can find my installation manual [here](http://http://users.telenet.be/MySQLplaylist/pi-hole.pdf).

---

<div class="post-metadata">

**Author:** ![jacob.salmela](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jacob.salmela/32/8_2.png) [@jacob.salmela](https://discourse.pi-hole.net/u/jacob.salmela)\
**Post date:** [December 10, 2016, 3:26pm UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/9 "2016-12-10T15:26:45Z")

</div>

This should be [fixed in the next version](https://github.com/pi-hole/pi-hole/pull/863/files). Are you running Wheezy by any chance?

---

<div class="post-metadata">

**Author:** ![Kameron\_Carr](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@Kameron\_Carr](https://discourse.pi-hole.net/u/Kameron_Carr)\
**Post date:** [December 14, 2016, 5:09am UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/10 "2016-12-14T05:09:13Z")

</div>

Yes, I am running Wheezy

---

<div class="post-metadata">

**Author:** ![eMaX](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/emax/32/295_2.png) [@eMaX](https://discourse.pi-hole.net/u/eMaX)\
**Post date:** [December 14, 2016, 9:07pm UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/11 "2016-12-14T21:07:08Z")

</div>

Had a similar problem when installing on Ubuntu 12.04. Upgraded to 16.04 LTS first, and did not have a problem there.

---

<div class="post-metadata">

**Author:** ![jacob.salmela](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jacob.salmela/32/8_2.png) [@jacob.salmela](https://discourse.pi-hole.net/u/jacob.salmela)\
**Post date:** [December 15, 2016, 2:46am UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/12 "2016-12-15T02:46:00Z")

</div>

Try doing

```auto
apt-get update
apt-get install iproute

```

on Wheezy and then run through the installer again. Repeat for any other dependencies it fails out on.

---

<div class="post-metadata">

**Author:** ![Doug\_Laidlaw](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/doug_laidlaw/32/49525_2.png) [@Doug\_Laidlaw](https://discourse.pi-hole.net/u/Doug_Laidlaw)\
**Post date:** [May 24, 2025, 10:48am UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/13 "2025-05-24T10:48:38Z")

</div>

Building on a Pi3 with DietPi as base system.Used to an RPM system I haven't run apt-get update yet.  
Installer prints "installation complete"  
(which it isn't) then can't find  
dependencies. One of these fixes should help.  
I can always try and see what happens!

---

<div class="post-metadata">

**Author:** ![Doug\_Laidlaw](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/doug_laidlaw/32/49525_2.png) [@Doug\_Laidlaw](https://discourse.pi-hole.net/u/Doug_Laidlaw)\
**Post date:** [May 24, 2025, 12:35pm UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/14 "2025-05-24T12:35:09Z")

</div>

"Should " is not the same as "does"  
Running as root user with /usr/bin in root's PATH, no commands using apt or apt-get are recognised.

---

<div class="post-metadata">

**Author:** ![Doug\_Laidlaw](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/doug_laidlaw/32/49525_2.png) [@Doug\_Laidlaw](https://discourse.pi-hole.net/u/Doug_Laidlaw)\
**Post date:** [May 24, 2025, 12:43pm UTC](https://discourse.pi-hole.net/t/install-just-stops-after-checking-for-dependencies-anyone-help-please/409/15 "2025-05-24T12:43:41Z")

</div>

This common issue seems to have been ignored for 8 years. Only a daydreamer would expect code that old to still function!  
Looking at other reports, the error seems to occur with no pattern. One user cleared the bug by updating his distro. I have just tried to install the Pi-hole on Debian, but the Internet here was chopping in and out, and I had to postpone the attempt. (The Web problem was noticeable while watching a concert, but the system buffer was able to take care of the shorter breaks.)
