Edoardo,
On Thu, Mar 04, 2021 at 21:13:55 CET, Edoardo Mantovani wrote:
Error: Hash sum check for gdb failed
[...]
gdb extract gdb-8.2.1.tar.xz (gdb) xz: (stdin): File format not recognized tar: Child returned status 1 tar: Error is not recoverable: exiting now
This seems to be a verbose way to tell you: Your downloaded file is corrupted. You may check if gdb-8.2.1.tar.xz is just empty, truncated or contains unexpected data (e.g., an error page). May the disk volume be full? There are so many reasons, but it seems certain the gdb-8.2.1.tar.xz you got is not the expected file.
Greets