Install: apt-get failure Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Richard Kimber

Install: apt-get failure

Post by Richard Kimber »

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 ... _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?
User avatar
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Install: apt-get failure

Post by Fourdee »

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:

Code: Select all

apt-get install -f
apt-get clean
Install Squeezelite:

Code: Select all

dietpi-software install 36
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Richard Kimber

Re: Install: apt-get failure

Post by Richard Kimber »

Brilliant. It's all OK now.

Many thanks.
Post Reply