Open alber70g opened 2 months ago
I am not sure what this klipper installer does, but it looks like either a corrupted curl
binary or one of its shared libraries.
Does this work without issues?
curl --version
curl https://dietpi.com/geoip
No this doesn't work. Both give the error like before. I suppose it does corrupt curl
somehow.
I can do some debugging if you want. Let me know what you need to see. For what I know, it's only using apt-get to install stuff nothing special. That shouldn't corrupt any installed software I'd say...
Please try to reinstall curl
and its library:
sudo apt install --reinstall curl libcurl4
curl --version
Creating a bug report/issue
The full error with history
/=======================================================\ | ~~~~~~~~~~~~~~~~~ [ KIAUH ] ~~~~~~~~~~~~~~~~~ | | Klipper Installation And Update Helper | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | \=======================================================/ ###### Initializing Klipper installation ... /=======================================================\ | Please select your preferred Python version. | | The recommended version is Python 3.x. | |-------------------------------------------------------| | 1) [Python 3.x] (recommended) | | 2) [Python 2.7] (legacy) | |-------------------------------------------------------| | B) « Back | \=======================================================/ ###### Select Python version: 1 [➔] Python 3.x /=======================================================\ | Please select the number of Klipper instances to set | | up. The number of Klipper instances will determine | | the amount of printers you can run from this host. | | | | WARNING: | | Setting up too many instances may crash your system. | |-------------------------------------------------------| | B) « Back | \=======================================================/ ###### Number of Klipper instances to set up: 1 [➔] Instance count: 1 ###### Installing single Klipper instance ... ###### Checking for the following dependencies: ● git [✓ OK] Dependencies already met! ###### Cloning Klipper from https://github.com/Klipper3d/klipper ... Cloning into '/home/dietpi/klipper'... error: git-remote-https died of signal 11 #=======================================================# Cloning Klipper from https://github.com/Klipper3d/klipper failed! #=======================================================# dietpi@DietPi:~$ shutdown -r now -bash: shutdown: command not found dietpi@DietPi:~$ sudo shutdown -r now Failed to connect to bus: No such file or directory Connection to 192.168.1.7 closed by remote host. Connection to 192.168.1.7 closed. 20:36:07 ~ on 𝌋 unraid took 52m21s ❯ ssh dietpi@192.168.1.7 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. ───────────────────────────────────────────────────── DietPi v9.7.1 : 20:37 - Wed 11/09/24 ───────────────────────────────────────────────────── - Device model : RPi Zero 2 W (aarch64) - CPU temp : 41 °C / 105 °F : Optimal temperature - LAN IP : 192.168.1.7 (wlan0) curl: error while loading shared libraries: ����������������������������������������������������������������������������������������������������������������: cannot open shared object file: Error 36 [FAILED] DietPi-Update | Unable to get latest version. [ INFO ] DietPi-Update | Please check the target Git repository and your network connection, then rerun dietpi-update. [ INFO ] DietPi-Update | If this error persists, please report at: https://github.com/MichaIng/DietPi/issues [ INFO ] DietPi-Update | APT update, please wait... Hit:1 https://deb.debian.org/debian bookworm InRelease Hit:2 https://deb.debian.org/debian bookworm-updates InRelease Hit:3 https://deb.debian.org/debian-security bookworm-security InRelease Hit:4 https://deb.debian.org/debian bookworm-backports InRelease Hit:5 https://dietpi.com/apt bookworm InRelease Hit:6 https://dietpi.com/apt all InRelease Hit:7 https://archive.raspberrypi.com/debian bookworm InRelease Reading package lists... [ OK ] DietPi-Update | APT update [ INFO ] DietPi-Update | No APT upgrades were found, not creating file: /run/dietpi/.apt_updates dietpi@DietPi:~$ echo $G_DISTRO_NAME bookworm dietpi@DietPi:~$ apt update apt -y install --reinstall librtmp1 Reading package lists... Done E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? dietpi@DietPi:~$ sudo apt -y install --reinstall librtmp1 Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 59.4 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 https://deb.debian.org/debian bookworm/main arm64 librtmp1 arm64 2.4+20151223.gitfa8646d.1-2+b2 [59.4 kB] Fetched 59.4 kB in 0s (216 kB/s) debconf: delaying package configuration, since apt-utils is not installed (Reading database ... 24656 files and directories currently installed.) Preparing to unpack .../librtmp1_2.4+20151223.gitfa8646d.1-2+b2_arm64.deb ... Unpacking librtmp1:arm64 (2.4+20151223.gitfa8646d.1-2+b2) over (2.4+20151223.gitfa8646d.1-2+b2) ... Setting up librtmp1:arm64 (2.4+20151223.gitfa8646d.1-2+b2) ... Processing triggers for libc-bin (2.36-9+rpt2+deb12u8) ... dietpi@DietPi:~$ curl ───────────────────────────────────────────────────── DietPi Team : https://github.com/MichaIng/DietPi#the-dietpi-project-team Patreon Legends : Chris Gelatt, ADSB.im Website : https://dietpi.com/ | https://twitter.com/DietPi_ Contribute : https://dietpi.com/contribute.html Web Hosting by : https://myvirtualserver.com dietpi-launcher : All the DietPi programs in one place dietpi-config : Feature rich configuration tool for your device dietpi-software : Select optimised software for installation htop : Resource monitor cpu : Shows CPU information and stats dietpi@DietPi:~$ cat /boot/dietpi/.version G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=7 G_DIETPI_VERSION_RC=1 G_GITBRANCH='master' G_GITOWNER='MichaIng' dietpi@DietPi:~$ echo $G_DISTRO_NAME $G_RASPBIAN bookworm 0 dietpi@DietPi:~$ uname -a Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux dietpi@DietPi:~$ echo $G_HW_MODEL_NAME RPi Zero 2 W (aarch64) dietpi@DietPi:~$ echo $G_HW_UUID d936493e-8b06-4a5c-b29a-2f5ff939ecb0 dietpi@DietPi:~$Required Information
cat /boot/dietpi/.version
echo $G_DISTRO_NAME $G_RASPBIAN
uname -a
echo $G_HW_MODEL_NAME
or (EG: RPi3)Additional Information (if applicable)
echo $G_HW_UUID
I tried sending bug report, but it obviously fails now thatcurl
is brokenSteps to reproduce
./kiauh/kiauh.sh
(use non beta version)Expected behaviour
Actual behaviour
Extra details