skoef / mondieu

Mondieu - portable alternative for freebsd-update
5 stars 1 forks source link

Shared object "libmd.so.6" not found, required by "install". #2

Open cweimann opened 7 years ago

cweimann commented 7 years ago

Once /usr/bin/install is replaced it fails with Shared object "libmd.so.6" not found, required by "install".

skoef commented 7 years ago

I considered using install from /rescue since that is statically build, except for that /rescue doesn't include the install binary.

An alternative could be using mkdir, chown and chmod from /rescue to mimic the behaviour of the shorthand install command. I'll look into this

cweimann commented 7 years ago

I fiddled a bit with saving copies of install and the other needed commands in another directory and putting that in the path. They continue to work since the old libraries still exist. I ran into other issues that I can't think of at the moment though.

I need to update about 50 machines so what I have done, instead of mondieu at the moment, is run freebsd-update upgrade on one machine and deal with all the merges and such, then tar /var/db/freebsd-update, copy it to the other machines then run freebsd-update install. That way I only go through the merge nonsense once and am not prompted for all that crap on 50 machines.

On Thu, Jul 27, 2017 at 4:49 AM, Reinier Schoof notifications@github.com wrote:

I considered using install from /rescue since that is statically build, except for that /rescue doesn't include the install binary.

An alternative could be using mkdir, chown and chmod from /rescue to mimic the behaviour of the shorthand install command. I'll look into this

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/skoef/mondieu/issues/2#issuecomment-318300171, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjPrrFp7FBVX0g9VBNr7XIYyi5aJ7GQks5sSE8RgaJpZM4OUwE7 .