Install: apt-get failure

Installation failed with the following message:

Apt-get has failed

  • apt string = squeezelite
  • error code = 100

and the dietpi-software_apt.log says:-
E: Failed to fetch https://archive.raspberrypi.org/debian/pool/main/c/cairo/libcairo2_1.14.8-1+rpi1_armhf.deb gnutls_handshake() failed: The TLS connection was non-properly terminated.
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Other onscreen messages were:
[Failed] The apt-cache may be corrupt, apt mirror offline, or you have held broken packages - DietPi-software will exit.
Other suggestions followed:-
apt-get install -f
change apt-mirror
clear and refresh apt with apt-get update

How should I now proceed? I.e. in which order should I try the various suggestions?

If I re-start dietpi-software will it just pick up from where it left off, or do I need to start the whole installation again?

Hi Richard,

Just did a quick test here, all working fine.

Appears to be an issue with the Raspbian repo, at the time during the installation (re: TLS error).

Try checking/fixing apt errors:

apt-get install -f
apt-get clean

Install Squeezelite:

dietpi-software install 36

Brilliant. It’s all OK now.

Many thanks.