4.3 FTL Update Fails

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

Expected Behaviour:

Running pihole -up updated everything except for FTL

Actual Behaviour:

Rebooted rpi and attempted to run pihole -up and pihole -r Receive following error:

Unrecognized character \xD2; marked by <-- HERE after DEXpO<-- HERE near column 6 at /usr/share/perl/5.24/Text/Tabs.pm line 6.
Compilation failed in require at /usr/share/perl/5.24/Text/Wrap.pm line 35.
BEGIN failed--compilation aborted at /usr/share/perl/5.24/Text/Wrap.pm line 35.
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 10.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.

Debug Token:

https://tricorder.pi-hole.net/l4hzbc0n7t!

You have an issue with your system that is unrelated to Pi-hole, probably triggered by updating the package cache or installing packages.

Any ideas what next steps I can take?

Google the issue, see if other people have had it and already found the solution. It looks like it has something to do with perl and debconf.

1 Like
pi@noads:~ $ dpkg -S Tabs.pm Wrap.pm Template.pm Question.pm Config.pm Log.pm Db.pm | grep /usr/share/
perl-modules-5.24: /usr/share/perl/5.24.1/Text/Tabs.pm
perl-modules-5.24: /usr/share/perl/5.24.1/Text/Wrap.pm
liburi-template-perl: /usr/share/perl5/URI/Template.pm
debconf: /usr/share/perl5/Debconf/Template.pm
debconf: /usr/share/perl5/Debconf/Question.pm
perl-modules-5.24: /usr/share/perl/5.24.1/Net/Config.pm
perl-modules-5.24: /usr/share/perl/5.24.1/CPAN/HandleConfig.pm
libhttp-message-perl: /usr/share/perl5/HTTP/Config.pm
debconf: /usr/share/perl5/Debconf/Config.pm
perl-modules-5.24: /usr/share/perl/5.24.1/ExtUtils/MakeMaker/Config.pm
debconf: /usr/share/perl5/Debconf/Log.pm
debconf: /usr/share/perl5/Debconf/Db.pm

pi@noads:~ $ apt policy perl-modules-5.24 liburi-template-perl debconf libhttp-message-perl
perl-modules-5.24:
  Installed: 5.24.1-3+deb9u5
  Candidate: 5.24.1-3+deb9u5
  Version table:
 *** 5.24.1-3+deb9u5 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
        100 /var/lib/dpkg/status
liburi-template-perl:
  Installed: 0.22-0.1
  Candidate: 0.22-0.1
  Version table:
 *** 0.22-0.1 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
        100 /var/lib/dpkg/status
debconf:
  Installed: 1.5.61
  Candidate: 1.5.61
  Version table:
 *** 1.5.61 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
        100 /var/lib/dpkg/status
libhttp-message-perl:
  Installed: 6.11-1
  Candidate: 6.11-1
  Version table:
 *** 6.11-1 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
        100 /var/lib/dpkg/status

Try reinstall them all:

sudo apt install --reinstall perl-modules-5.24 liburi-template-perl debconf libhttp-message-perl

This is what I get now:

sudo apt install --reinstall perl-modules-5.24 liburi-template-perl debconf libhttp-message-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 build-essential : Depends: libc6-dev but it is not going to be installed or
                            libc-dev
 libfreetype6-dev : Depends: libc6-dev but it is not going to be installed or
                             libc-dev
 libstdc++-6-dev : Depends: libc6-dev (>= 2.13-5) but it is not going to be installed
 zlib1g-dev : Depends: libc6-dev but it is not going to be installed or
                       libc-dev
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

libc6-dev is giving you troubles.

Whats policy ?

apt policy libc6-dev

And what if not installed, you try install it:

sudo apt install libc6-dev

Policy:

libc6-dev:
  Installed: (none)
  Candidate: 2.24-11+deb9u4
  Version table:
     2.24-11+deb9u4 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages

Install gives:

The following packages have unmet dependencies:
 libc6-dev : Depends: libc6 (= 2.24-11+deb9u4) but 2.24-11+deb9u3 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

sudo apt install libc6-dev=2.24-11+deb9u4

sudo apt install --reinstall perl-modules-5.24 liburi-template-perl debconf libhttp-message-perl

Tried that one already, unfortunately it gives the same exact error message as when I ran sudo apt install libc6-dev

What message ?

The following packages have unmet dependencies:
 libc6-dev : Depends: libc6 (= 2.24-11+deb9u4) but 2.24-11+deb9u3 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Oops my mistake.
And below ?

apt policy libc6

libc6:
  Installed: 2.24-11+deb9u3
  Candidate: 2.24-11+deb9u4
  Version table:
     2.24-11+deb9u4 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
 *** 2.24-11+deb9u3 100
        100 /var/lib/dpkg/status

sudo apt install libc=2.24-11+deb9u4

That give me

The following packages have unmet dependencies:
 build-essential : Depends: libc6-dev but it is not going to be installed or
                            libc-dev
 libfreetype6-dev : Depends: libc6-dev but it is not going to be installed or
                             libc-dev
 libstdc++-6-dev : Depends: libc6-dev (>= 2.13-5) but it is not going to be installed
 zlib1g-dev : Depends: libc6-dev but it is not going to be installed or
                       libc-dev
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Chicken egg.
Something amiss with your distro.
Post some more and maybe someone else knows:

lsb_release -a

sudo grep -v '^#\|^$' -R /etc/apt/sources.list*

Thanks for checking, appreciate the time.

No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 9.8 (stretch)
Release:        9.8
Codename:       stretch
/etc/apt/sources.list:deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
/etc/apt/sources.list.d/rpimonitor.list:deb http://giteduberger.fr rpimonitor/
/etc/apt/sources.list.d/raspi.list:deb http://archive.raspberrypi.org/debian/ stretch main ui
1 Like

I know is of little help but I've just now run a:

sudo apt update && sudo apt upgrade && sudo reboot

Run a pihole -up and rebooted to be sure.
Everyting came up and is running dandy on my Pi-1B:

pi@noads:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 9.9 (stretch)
Release:        9.9
Codename:       stretch

pi@noads:~ $ sudo grep -v '^#\|^$' -R /etc/apt/sources.list*
/etc/apt/sources.list:deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
/etc/apt/sources.list.d/raspi.list:deb http://archive.raspberrypi.org/debian/ stretch main ui

pi@noads:~ $ pihole -v
  Pi-hole version is v4.3 (Latest: v4.3)
  AdminLTE version is v4.3 (Latest: v4.3)
  FTL version is v4.3 (Latest: v4.3)

pi@noads:~ $ apt policy libc6
libc6:
  Installed: 2.24-11+deb9u4
  Candidate: 2.24-11+deb9u4
  Version table:
 *** 2.24-11+deb9u4 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
        100 /var/lib/dpkg/status

pi@noads:~ $ apt policy libc6-dev
libc6-dev:
  Installed: 2.24-11+deb9u4
  Candidate: 2.24-11+deb9u4
  Version table:
 *** 2.24-11+deb9u4 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
        100 /var/lib/dpkg/status

Ps. you might want to try below one again as I noticed I made a typo before:

sudo apt install libc6=2.24-11+deb9u4

I have a secondary pi-hole setup on Ubuntu as a VM. Thinking about wiping this and re-installing it from scratch. Will have to check if I'm able to do a proper backup and restore of pihole settings first if I can't fix this.

Edit. I ran the above command and noticed your spelling error, so I corrected it and ran it.