after another bulsseye upgrade - no ifup was found in system - i remember it was in autopurge list
so I restord old image and just forget the upgrade for now (maybe this whole curl thing was only in my case, but ifup - i think it shouldnβt be in purge list)
thank u 4 ur support!
We already have a larger amount of people who completed the upgrade successful. Personally I did the upgrade 10 times in meantime for testing purposes. And ifupdown never got purged. You are first one reporting it. Would be interesting to find out why it happens in your case.
#### Details:
- Date | Sat Sep 11 10:58:05 CEST 2021
- DietPi version | v7.4.2 (MichaIng/beta)
- Image creator | DietPi Core Team
- Pre-image | Raspbian Lite
- Hardware | RPi 3 Model B (armv7l) (ID=3)
- Kernel version | `Linux DietPi 5.10.60-v7+ #1449 SMP Wed Aug 25 15:00:01 BST 2021 armv7l GNU/Linux`
- Distro | buster (ID=5,RASPBIAN=1)
- Command | `curl -ILfvm 5 https://download.yacy.net/yacy_v1.924_20210209_10069.tar.gz`
- Exit code | 127
- Software title | DietPi-Software
#### Steps to reproduce:
<!-- Explain how to reproduce the issue -->
1. ...
2. ...
#### Expected behaviour:
<!-- What SHOULD happen? -->
- ...
#### Actual behaviour:
<!-- What IS happening? -->
- ...
#### Extra details:
<!-- Please post any extra details that might help solve the issue -->
- ...
#### Additional logs:
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory
omavoss
I moved your post into this topic as itβs basically same issue with cutl. Until now we do not have a solution as it is quite a strange issue. curl on Buster seems to search for libraries from Bullseye.
Question: did you have done any Bullseye upgrade and maybe a restore afterwards or was your system staying on Buster all the time?
ok today I was able to force the issue on my test system
install a fresh system using DietPi image for RPi Buster armv6
create a backup using dietpi-backup 1
perform an update to Bullseye using our blog post
create a restore using dietpi-backup -1
afterwards curl was failing
root@DietPi3:~# curl --help
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory
root@DietPi3:~#
And I hope some good news, I found a way on my system to get it back working
G_AGP curl
apt install --reinstall libhogweed4
reboot
apt install curl
At least for me curl was working afterwards again.
- Device model : RPi 3 Model B (armv7l)
- Uptime : up 2 minutes
- CPU temp : 67'C : 152'F (Running hot, not recommended)
- LAN IP : 192.168.115.30 (eth0)
- Freespace (RootFS) : 1,6G
- Freespace (userdata) : 1,6G
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory
root@DietPi:~# curl --help
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory
root@DietPi:~#
@Joulinar:
I have already performed the procedure of uninstalling and installing curl three times without success.
root@DietPi:~# G_AGP curl
[ INFO ] APT purge for: curl, please wait...
(Lese Datenbank ... 98955 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von curl (7.64.0-4+deb10u2) ...
[ OK ] APT purge for: curl
root@DietPi:~# reboot
root@DietPi:~#
Using username "root".
root@192.168.115.30's password:
Linux DietPi 5.10.60-v7+ #1449 SMP Wed Aug 25 15:00:01 BST 2021 armv7l
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 v7.4.2 (beta) : 19:45 - So 12.09.2021
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Device model : RPi 3 Model B (armv7l)
- Uptime : up 1 minute
- CPU temp : WARNING: 70'C : 158'F (Reducing the life of your device)
- LAN IP : 192.168.115.30 (eth0)
- Freespace (RootFS) : 1,6G
- Freespace (userdata) : 1,6G
/boot/dietpi/func/dietpi-banner: Zeile 245: curl: Kommando nicht gefunden.
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
root@DietPi:~# G_AGI curl
[ INFO ] APT install for: curl, please wait...
Vormals nicht ausgewΓ€hltes Paket curl wird gewΓ€hlt.
(Lese Datenbank ... 98947 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../curl_7.64.0-4+deb10u2_armhf.deb ...
Entpacken von curl (7.64.0-4+deb10u2) ...
curl (7.64.0-4+deb10u2) wird eingerichtet ...
[ OK ] APT install for: curl
root@DietPi:~# curl --help
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory
root@DietPi:~#
Are there any other hints please?
Thank you very much.
Sorry for the trouble. My terminal just crashed during the apt upgrade and there was some issue upgrading again. I did a dietpi-restore and I am facing some issue with some of the libraries. For eg: when I run curl I get the following error
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory
Same issue in Radarrr and Sonarr
MediaInfo Library could not be loaded Unable to load shared library 'libmediainfo.so.0' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibmediainfo.so.0: cannot open shared object file: No such file or directory
Is this something to do with my environment variables? I did a find in my system for libhogweed.so.6, however, I was not able to find this library.
Strange, there is even another library linked which does not exist on Buster. As of something wrote those inside manually . A little down the list you see the two correct library versions.
Lets simply remove that faulty links manually. They are not part of the original Buster curl, so something also added then manually:
apt install patchelf
I executed the two commands but the problems persists. I tried reinstalling and rebooting the system but it still wonβt help. I still get the same error.
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory
Using username "root".
Linux DietPi 5.10.60-v7+ #1449 SMP Wed Aug 25 15:00:01 BST 2021 armv7l
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 v7.4.2 (beta) : 09:54 - Do 16.09.2021
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Device model : RPi 3 Model B (armv7l)
- Uptime : up 1 hour, 42 minutes
- CPU temp : 48'C : 118'F (Optimal temperature)
- LAN IP : 192.168.115.30 (eth0)
- Freespace (RootFS) : 1,6G
- Freespace (userdata) : 1,6G
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
DietPi Team : MichaIng (lead), Daniel Knight (founder), Joulinar (support)
Image by : DietPi Core Team (pre-image: Raspbian Lite)
Web : https://dietpi.com | https://twitter.com/DietPi_
Patreon Legends : Camry2731
Contribute : https://dietpi.com/contribute.html
DietPi Hosting : Powered 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
root@DietPi:~# dietpi-update
DietPi-Update
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Phase: Checking for available DietPi update
[ INFO ] DietPi-Update | Getting latest version from: https://raw.githubusercontent.com/MichaIng/DietPi/beta/.update/version
curl: error while loading shared libraries: libhogweed.so.6: cannot open shared object file: No such file or directory
[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 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:3 https://archive.raspberrypi.org/debian buster InRelease
Reading package lists...
[ OK ] DietPi-Update | APT update
[ INFO ] DietPi-Update | No APT upgrades were found, not creating file: /run/dietpi/.apt_updates
root@DietPi:~#
omavoss
there is no need to open an additional issue on this as you still have the challange with CURL. Therefore I moved your post into the existing one.