Page 1 of 1

Update producing error(s)

Posted: Fri Feb 05, 2021 2:48 pm
by W3KIT
Tried to hit the "Update" from the Expert menu and these are the errors.

Code: Select all

Starting update, please wait...
Stopping Services...
Done
Updating DV Binaries...
/usr/lib/git-core/git-remote-https: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
Updating /usr/local/bin...
/usr/lib/git-core/git-remote-https: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
/usr/lib/git-core/git-remote-https: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
Updates were not successfull, reverting to Pi-Star original files...
HEAD is now at 4bf2c18 Update NXDN Stack
Done
Updating Pi-Star Binaries...
/usr/lib/git-core/git-remote-https: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
Updating /usr/local/sbin...
/usr/lib/git-core/git-remote-https: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
/usr/lib/git-core/git-remote-https: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
Updates were not successfull, reverting to Pi-Star original files...
HEAD is now at 94ef8c6 Update pistar-update
Done
Updating Hostfiles...
Done
Updating Dashboard...
/usr/lib/git-core/git-remote-https: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
Updating /var/www/dashboard...
fatal: Unknown index entry format 6c690000
/usr/lib/git-core/git-remote-https: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
Updates were not successfull, reverting to Pi-Star original files...
fatal: Unknown index entry format 6c690000
Done
Updating PiStar-Firewall...
Done
Starting Services...
Done
Updates complete, sleeping for a few seconds before making the disk Read-Only
Finished


73, Kit

Re: Update producing error(s)

Posted: Fri Feb 05, 2021 3:29 pm
by G8SEZ
There is a new ldap library update for RaspiOS that appeared today, so you would be better served to log in via SSH and then run

sudo pistar-update

then

sudo pistar-upgrade

from the command prompt

When you run from a terminal the update command will update the RaspiOS packages too.

HTH

Re: Update producing error(s)

Posted: Fri Feb 05, 2021 3:44 pm
by W3KIT
Thank you - will do that and report back in a little while.

73, Kit

Re: Update producing error(s)

Posted: Fri Feb 05, 2021 5:30 pm
by W3KIT
I tried sudo-update I see the same errors. I just got another SD card and start fresh, no issue. Maybe bad card, not sure.

When I get more time I will circle back to this card and try it again.

Thanks, Kit

Re: Update producing error(s)

Posted: Fri Feb 05, 2021 6:43 pm
by G8SEZ
Possibly corruption and a damaged file system

Re: Update producing error(s)

Posted: Sat Feb 06, 2021 11:20 am
by W3KIT
KE7FNS wrote: Fri Feb 05, 2021 8:43 pm
Also check the SD card brand against compatibility. I found one patriot model that will corrupt itself without you knowing it. Found that the hard way.

https://elinux.org/RPi_SD_cards
Ironically, the card in question WAS a Patriot but I just do not know the exact manufacturer part number.

73, Kit