Hi there,
Update doesn’t work for my Odroid XU4. There seems to be a problem with tzdata and/or debconf. Device works well but can’t be upgraded.
Here is the output:
Kernel version | #1 SMP PREEMPT Thu Aug 23 05:59:33 UTC 2018
Distro | stretch (index=4)
Command | G_AGUG
Exit code | 100
Software title | DietPi-Update
Steps to reproduce:
…
…
Expected behaviour:
…
Actual behaviour:
…
Extra details:
…
Additional logs:
Log file contents:
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
curl libcurl3 libcurl3-gnutls tzdata
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 1,020 kB of archives.
After this operation, 3,072 B disk space will be freed.
Get:1 > http://ftp.uk.debian.org/debian > stretch-updates/main armhf tzdata all 2018g-0+deb9u1 [270 kB]
Get:2 > https://cdn-aws.deb.debian.org/debian-security > stretch/updates/main armhf curl armhf 7.52.1-5+deb9u8 [223 kB]
Get:3 > https://cdn-aws.deb.debian.org/debian-security > stretch/updates/main armhf libcurl3 armhf 7.52.1-5+deb9u8 [264 kB]
Get:4 > https://cdn-aws.deb.debian.org/debian-security > stretch/updates/main armhf libcurl3-gnutls armhf 7.52.1-5+deb9u8 [262 kB]
debconf: Perl may be unconfigured (Unrecognized character �; marked by <-- HERE after { use 5.0<-- HERE near column 10 at /usr/share/perl/5.24/Carp.pm line 3.
Compilation failed in require at /usr/lib/arm-linux-gnueabihf/perl/5.24/IO/File.pm line 8.
BEGIN failed--compilation aborted at /usr/lib/arm-linux-gnueabihf/perl/5.24/IO/File.pm line 8.
Compilation failed in require at /usr/share/perl/5.24/FileHandle.pm line 9.
Compilation failed in require at (eval 1) line 3.
BEGIN failed--compilation aborted at (eval 1) line 3.
) -- aborting
Fetched 1,020 kB in 1s (747 kB/s)
Setting up debconf (1.5.61) ...
Unrecognized character �; marked by <-- HERE after { use 5.0<-- HERE near column 10 at /usr/share/perl/5.24/Carp.pm line 3.
Compilation failed in require at /usr/share/perl/5.24/Tie/Hash.pm line 5.
BEGIN failed--compilation aborted at /usr/share/perl/5.24/Tie/Hash.pm line 5.
Compilation failed in require at /usr/lib/arm-linux-gnueabihf/perl/5.24/POSIX.pm line 483.
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 7.
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.
dpkg: error processing package debconf (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
debconf
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get install --reinstall -y curl
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
libcurl3
The following packages will be upgraded:
curl libcurl3
2 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
Need to get 0 B/488 kB of archives.
After this operation, 0 B of additional disk space will be used.
debconf: Perl may be unconfigured (Unrecognized character \xB0; marked by ← HERE after { use 5.0<-- HERE near column 10 at /usr/share/perl/5.24/Carp.pm line 3.
Compilation failed in require at /usr/lib/arm-linux-gnueabihf/perl/5.24/IO/File.pm line 8.
BEGIN failed–compilation aborted at /usr/lib/arm-linux-gnueabihf/perl/5.24/IO/File.pm line 8.
Compilation failed in require at /usr/share/perl/5.24/FileHandle.pm line 9.
Compilation failed in require at (eval 1) line 3.
BEGIN failed–compilation aborted at (eval 1) line 3.
) – aborting
Setting up debconf (1.5.61) …
Unrecognized character \xB0; marked by ← HERE after { use 5.0<-- HERE near column 10 at /usr/share/perl/5.24/Carp.pm line 3.
Compilation failed in require at /usr/share/perl/5.24/Tie/Hash.pm line 5.
BEGIN failed–compilation aborted at /usr/share/perl/5.24/Tie/Hash.pm line 5.
Compilation failed in require at /usr/lib/arm-linux-gnueabihf/perl/5.24/POSIX.pm line 483.
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 7.
BEGIN failed–compilation aborted at /usr/share/perl5/Debconf/Template.pm line 7.
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.
dpkg: error processing package debconf (–configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
debconf
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get install --reinstall -y debconf
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 4 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for debconf:armhf
Maybe you can find the error by reading all output.
Regards
wilhil
It should list all available debconf version within your APT repos. Lets see if somehow there are conflicts.
Just checked the Debian repo. The debconf package is for all architectures, not just armhf: Debian -- Error
Perhaps apt-get install --reinstall debconf:all will do the job then, although this should be selected automatically…
apt-cache policy debconf
debconf:
Installed: 1.5.61
Candidate: 1.5.61
Version table:
*** 1.5.61 500
500 > Index of /debian/ > stretch/main armhf Packages
100 /var/lib/dpkg/status
apt-get install --reinstall debconf:all
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 4 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for debconf:armhf
Thank you for these hints.
I have 5V/4A and it works well. My HD has its own power supply. I use this odroid for more than a year. It is not the first update of my device and all went without problems.
My solution: I’ll use this system as long as possible in the current state. Whenever it will fail, I’ll do a new installation after formatting the filesystem.
Best regards
wilhil