MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.9k stars 498 forks source link

git install fails on new dietpi install #6319

Closed thomasmockridge closed 1 year ago

thomasmockridge commented 1 year ago

Details:

thomasmockridge commented 1 year ago

Works from command line:

#  apt-get install git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libperl5.32 perl perl-modules-5.32
Suggested packages:
  gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn
  gdbm-l10n perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make libtap-harness-archive-perl
Recommended packages:
  patch less ssh-client netbase
The following NEW packages will be installed:
  git git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libperl5.32 perl perl-modules-5.32
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 293 kB/13.5 MB of archives.
After this operation, 74.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf perl armhf 5.32.1-4+deb11u2 [293 kB]
Fetched 199 kB in 1s (150 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package perl-modules-5.32.
(Reading database ... 25091 files and directories currently installed.)
Preparing to unpack .../0-perl-modules-5.32_5.32.1-4+deb11u2_all.deb ...
Unpacking perl-modules-5.32 (5.32.1-4+deb11u2) ...
Selecting previously unselected package libgdbm6:armhf.
Preparing to unpack .../1-libgdbm6_1.19-2_armhf.deb ...
Unpacking libgdbm6:armhf (1.19-2) ...
Selecting previously unselected package libgdbm-compat4:armhf.
Preparing to unpack .../2-libgdbm-compat4_1.19-2_armhf.deb ...
Unpacking libgdbm-compat4:armhf (1.19-2) ...
Selecting previously unselected package libperl5.32:armhf.
Preparing to unpack .../3-libperl5.32_5.32.1-4+deb11u2_armhf.deb ...
Unpacking libperl5.32:armhf (5.32.1-4+deb11u2) ...
Selecting previously unselected package perl.
Preparing to unpack .../4-perl_5.32.1-4+deb11u2_armhf.deb ...
Unpacking perl (5.32.1-4+deb11u2) ...
Selecting previously unselected package libcurl3-gnutls:armhf.
Preparing to unpack .../5-libcurl3-gnutls_7.74.0-1.3+deb11u7_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.74.0-1.3+deb11u7) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../6-liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../7-git-man_1%3a2.30.2-1+deb11u2_all.deb ...
Unpacking git-man (1:2.30.2-1+deb11u2) ...
Selecting previously unselected package git.
Preparing to unpack .../8-git_1%3a2.30.2-1+deb11u2_armhf.deb ...
Unpacking git (1:2.30.2-1+deb11u2) ...
Setting up perl-modules-5.32 (5.32.1-4+deb11u2) ...
Setting up libcurl3-gnutls:armhf (7.74.0-1.3+deb11u7) ...
Setting up git-man (1:2.30.2-1+deb11u2) ...
Setting up libgdbm6:armhf (1.19-2) ...
Setting up libgdbm-compat4:armhf (1.19-2) ...
Setting up libperl5.32:armhf (5.32.1-4+deb11u2) ...
Setting up perl (5.32.1-4+deb11u2) ...
Setting up liberror-perl (0.17029-1) ...
Setting up git (1:2.30.2-1+deb11u2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
root@pi:~#
MichaIng commented 1 year ago

This was a temporary APT mirror issue, the package downloads fine now. In such cases, often a retry solves it, also since another mirror may be picked.

thomasmockridge commented 1 year ago

Thanks for the prompt reply - please close issue.