From owner-freebsd-questions@freebsd.org Wed Jan 18 06:55:27 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C7A3CB47B6 for ; Wed, 18 Jan 2017 06:55:27 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb3-smtp-cloud2.xs4all.net (lb3-smtp-cloud2.xs4all.net [194.109.24.29]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D7C8619B7 for ; Wed, 18 Jan 2017 06:55:26 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud2.xs4all.net with ESMTP id ZivG1u00G07iGuj01ivHPc; Wed, 18 Jan 2017 07:55:18 +0100 Received: from rsmith (uid 1001) (envelope-from rsmith@xs4all.nl) id 12550 by slackbox.erewhon.home (DragonFly Mail Agent v0.11+); Wed, 18 Jan 2017 07:55:16 +0100 Date: Wed, 18 Jan 2017 07:55:16 +0100 From: Roland Smith To: Yudi V Cc: freebsd-questions@freebsd.org Subject: Re: issues upgrading from 10.1-RELEASE to 11-RELEASE Message-ID: <20170118065516.GA41788@slackbox.erewhon.home> Mail-Followup-To: Yudi V , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 06:55:27 -0000 --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. 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" > 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--