dw-0 / kiauh

Klipper Installation And Update Helper
GNU General Public License v3.0
3.4k stars 491 forks source link

Kiauh fails to install due to missing #322

Closed j-collom closed 1 year ago

j-collom commented 1 year ago

Linux Distribution

I have used Kiauh many times and this is the first failure I have seen. I am following the install instructions exactly.

Raspberry Pi4b with 4Gigs of ram OS = Raspberry pi lite - using raspberry pi imager v1.7.4

What happened

After imaging with the rasberry pi imager (https://www.raspberrypi.com/software/) I installed Git, then attempted to install Kiuah using the following command

'cd ~ && git clone https://github.com/th33xitus/kiauh.git'

I received several 404 errors regarding missing files. The complete output is below

pi@tridentpi:~ $ cd ~ && git clone https://github.com/th33xitus/kiauh.git -bash: git: command not found pi@tridentpi:~ $ sudo apt-get install git -y --fix-missing Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: git-man liberror-perl Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn The following NEW packages will be installed: git git-man liberror-perl 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 6,536 kB/6,567 kB of archives. After this operation, 33.1 MB of additional disk space will be used. Err:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf git-man all 1:2.30.2-1+deb11u1 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80] Err:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf git armhf 1:2.30.2-1+deb11u1 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80] Selecting previously unselected package liberror-perl. (Reading database ... 43727 files and directories currently installed.) Preparing to unpack .../liberror-perl_0.17029-1_all.deb ... Unpacking liberror-perl (0.17029-1) ... Setting up liberror-perl (0.17029-1) ... Processing triggers for man-db (2.9.4-2) ... E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/g/git/git-man_2.30.2-1%2bdeb11u1_all.deb 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80] git-man_2.30.2-1+deb11u2_all.deb E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/g/git/git_2.30.2-1%2bdeb11u1_armhf.deb 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]

It appears it cannot find several base Raspbian files, although the requested files are available. If your brouse the fileserver on the host URL is pointing too you can for instance find the 'missing' file.

For instance if you browse the 404'd ( Err:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf git-man all 1:2.30.2-1+deb11u1 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]) URL string you can actually (http://raspbian.raspberrypi.org/raspbian/pool/main/g/git/) find the file git-man_2.30.2-1+deb11u2_all.deb

Maybe something got fat fingered and the wrong filename??

What did you expect to happen

I expected the kuiah install command to copy all of the needed files down and do a proper install through GIT..

How to reproduce

try to use the following command cd ~ && git clone https://github.com/th33xitus/kiauh.git

Additional information

No response

j-collom commented 1 year ago

Ok I have resolved this issue this is a 'User fail' bug / issue. I ran 'sudo apt-get update' and resolved this issue.. Hard fail on my part sorry..