Thanks for your answer. I have not provide logs because i haven't see how attach the log file. The log file shows the following error:

= = = = = = = = = = = = = = = = = = = = =
Getting sources for 'lr-nestopia' : NES emu - Nestopia (enhanced) port for libretro
= = = = = = = = = = = = = = = = = = = = =

git clone --depth 1 "https://github.com/libretro/nestopia.git" "/home/juan/RetroPie-Setup/tmp/build/lr-nestopia"
Clonar en «/home/juan/RetroPie-Setup/tmp/build/lr-nestopia»...
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
~/RetroPie-Setup
Error running 'git clone --depth 1 https://github.com/libretro/nestopia.git /home/juan/RetroPie-Setup/tmp/build/lr-nestopia' - returned 128

Thanks.