Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2017 07:55:16 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Yudi V <yudi.tux@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: issues upgrading from 10.1-RELEASE to 11-RELEASE
Message-ID:  <20170118065516.GA41788@slackbox.erewhon.home>
In-Reply-To: <CACo--muKxFHp__mP9_FDSPZajvW%2BpEuEAmCy-R4Kr8ZOdW_RLg@mail.gmail.com>
References:  <CACo--muKxFHp__mP9_FDSPZajvW%2BpEuEAmCy-R4Kr8ZOdW_RLg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 18, 2017 at 04:21:54PM +1100, Yudi V wrote:
> hi
>=20
> I tried updating from 10.1 to 11-RELEASE, did not go well.
<snip>

Looks like the base system update went OK.

> after reboot, logged in and tried:
> $ screen
> Shared object "libelf.so.1" not found, required by "screen"
> SAMBA failed sanity check,

> $ pkg update
> Shared object "libssl.so.7" not found, required by "pkg"
<snip>
> Before I go ahead and replace the base system files, I would like to know
> what went wrong.

It looks like all your problems are with *ports*.

After a major version update it is *strongly recommended* that you first
*delete* all ports/packages and then update your ports tree and re-install
them. This because of shared library version updates.

You can do this by making a list of all "leaf" packages (before deleting); =
packages that
have dependencies but are not depended on with this command:

    pkg query -e '%#r =3D=3D 0' '%n-%v\t%o'

This will list the current package name and origin. Save that to a file and
keep it

After you've made this list, delete all packages and re-install all leaf
packages.

Roland
--=20
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)

--envbJBWh7q8WU6mo
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEV1MzJBZhsP6Nk/ztQPbV3KOKM+AFAlh/EU0ACgkQQPbV3KOK
M+BQCg//RV4S8F+Bg1Ll+Ub6ZtEcGMuEPrQ0aRYP9WHSVX/QLqxcqdCoK9kNv5iB
KCzc4lJpx2RCaE05WRNoIM6uhCOBcscnP7Wofv6fVAN+aVHzzOx/Z46Md17sem1x
i4tY+ubeQ0anx8qNeE55zkrhCFW8Zz2l3ct6hyz+2Lec7/9RerK1JxT0/KHK9tq1
v6Bb1lZAjV/9rYXvWNR9poDSg2SRjeM9YhMic8aI/eRW3V7eX/tJCsXz+FmMsfG5
whEwc9LKVzHwM9r9o5UlgtaRLd1f6cR4jZuBn/mwf/ek5xSaCSoaTnYjz+PbcfqR
x+i/aD7NM4n4ACrTsNZTqybshYD890y1RWpjjfum/yEQWPAdCn3AC+crkjtwf7sE
le383+FdIPvuc1+0AwsgFUnvszLgVkPuagSzwgiQq+AYSeStYUtXtbJ0cnkWMRvB
mOYSFemuraXgUGYzhNMJvXJxB+HhotbWVBGkcBhnTay61APlmxaNMMAHX2Qbgd/B
QPUhY7EPvJAq2hrgyq9KzYSH6UclH/0ydH5kvGBReRLB/Yzz123vTu4CaI00gArN
Y2Q4iUUYs+SktZb2arj2cx3HcUWjzmEIxgAcwxN38f8/k2NFQjcvk71RnkNYgA15
ThsPKKQ4koecwo1yQFXgermCNRm9hFDl3xkjpFodS7Krrr9PzV8=
=oETa
-----END PGP SIGNATURE-----

--envbJBWh7q8WU6mo--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170118065516.GA41788>