-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update failure for 6.24.1 #2836
Comments
@raysqa First I thought it is about ARMv6 + PHP, but actually Just to verify, run:
If that fails with the same error, let's see if the
To check for I/O errors:
If those appear, and actually to be failsafe, force a file system check (+repair) on reboot:
Since APT itself is affected it is a bid tricky to solve, when you sorted out or fixed any file system corruption. We can link the existing correct library to where APT looks for it:
Hopefully then Then we need to reinstall the APT package:
Hopefully that solves the typo, so we can remove the symlink again:
If this finally worked, then re-run the update:
|
Thanks for getting back to me. It turns out that my installation is pretty much corrupted. I ended up reinstalling from a backup image and upgrading from that. Having a corrupted installation is a pretty regular occurrence – some point after just running pihole, the image corrupts. But at this point I have everything back up. Thanks again.
From: MichaIng <[email protected]>
Sent: Monday, May 20, 2019 1:57 PM
To: MichaIng/DietPi <[email protected]>
Cc: raysqa <[email protected]>; Mention <[email protected]>
Subject: Re: [MichaIng/DietPi] Update failure for 6.24.1 (#2836)
@raysqa <https://github.com/raysqa>
First I thought it is about ARMv6 + PHP, but actually libstdk++.so.6 does not exist and should not it's libstdc++.so.6 that is present on systems. Strange where this typo in APT came from. Also web search does not result in any single match (and to be failsafe, jep Raspbian repo does not have it: http://raspbian.raspberrypi.org/raspbian/dists/stretch/main/binary-armhf/Packages), so it's definitely a typo in your APT binary. Not sure if this comes from e.g. SDcard corruption.
Just to verify, run:
apt-get update
If that fails with the same error, let's see if the apt binary is affected as well:
apt update
To check for I/O errors:
dmesg
* Paste any red lines that you see in the output.
If those appear, and actually to be failsafe, so a fsck on reboot:
/forcefsck
reboot
_____
Since APT itself is affected it is a bid tricky to solve, when you sorted out or fixed any file system corruption.
We can link the existing correct library to where APT looks for it:
ln -s /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 /usr/lib/arm-linux-gnueabihf/libstdk++.so.6
Hopefully then apt update works through.
Then we need to reinstall the APT package:
apt install --reinstall apt
Hopefully that solves the typo, so we can remove the symlink again:
rm /usr/lib/arm-linux-gnueabihf/libstdk++.so.6
apt-get update
If this finally worked, then re-run the update:
dietpi-update 1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#2836?email_source=notifications&email_token=AGFCRLSOUHAXHXY5T7PBC2LPWL7ADA5CNFSM4HOBWL32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVZ4Z4A#issuecomment-494128368> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AGFCRLT2QOP6GCG4F7AQ63DPWL7ADANCNFSM4HOBWL3Q> . <https://github.com/notifications/beacon/AGFCRLVBIX6ZBOUZOK5UIETPWL7ADA5CNFSM4HOBWL32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVZ4Z4A.gif>
|
@raysqa And as a general advice:
Okay I mark the issue as closed. Feel free to reopen if required. |
Details:
Steps to reproduce:
Expected behaviour:
Actual behaviour:
ect file: No such file or directory
Retry does not work
Extra details:
Additional logs:
The text was updated successfully, but these errors were encountered: