Re: /usr/local/lib/compat/pkg/ cleanup ?
--Sig_/MUj_EJc=8ih7sLFTYtP1OyD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
On Sat, 28 Jun 2014 20:53:25 +0700
Victor Sudakov <vas@mpeks.tomsk.su> wrote:
=20
> With "rm -rf /usr/local/lib/compat/pkg" you don't need all those
> sophisticated tools you mentioned above. A missing library will
> quickly make itself known :) and then you can forcible reinstall the
> affected packages.
Unless you do it remotely, using openssh from ports which might be
affected... then you have a problem :)
I usually do it like that:
1) find /usr/local -type f -print0 | xargs -0 ldd > /tmp/ldds
2 ) search the ldds file for "not found" or "compat"=20
3) find what packages affected files belongs to
4) recompile affected packages
Alright, I know that in 1) the ldd command is checking much more than
it has to, but running this on a system with ~1000 packages should take
less than 10 minutes.
--=20
regards, Maciej Suszko.
--Sig_/MUj_EJc=8ih7sLFTYtP1OyD
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlOzqZUACgkQCikUk0l7iGr3xgCfX637MRWQ9jEpXBOGDfgrpQQN
ZMIAnjF9b+bghxYNMbcX6EAK493sjHkS
=6OYI
-----END PGP SIGNATURE-----
--Sig_/MUj_EJc=8ih7sLFTYtP1OyD--
討論串 (同標題文章)
完整討論串 (本文為第 6 之 10 篇):