From owner-freebsd-questions@freebsd.org Wed Jan 18 05:21:56 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 33F39CB5F11 for ; Wed, 18 Jan 2017 05:21:56 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 05FAD1114 for ; Wed, 18 Jan 2017 05:21:55 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: by mail-it0-x234.google.com with SMTP id 203so110694215ith.0 for ; Tue, 17 Jan 2017 21:21:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dK7MCmkLXCqTpPLeUTP5b3ZRLBGWE2cF7bZcP3BWCuc=; b=MO5EYUqQ1BL/VIFV1qSE2Kn4lrvPr8w6EimZxgaHNQGS9eSg93jIfY4dz51iw0NTEG JGBMP7V1pBmkk2HmjBYQJsYdKvouz2T148HgitFzeposdhbbtW8wu4Uwcww+XyV9qvCC PFkBG1MSZRjU6S3aFCD8761hF2OiSz9GQDP/2p7hUc/9UotCGVibbcX05fuLIzTSUKGg cxwV0lrX1YXEVVMcDg6WtJ0ZJFEzP27vnoml+ezBHV3tkGv6H/JBFN2lyTn3FVO6pBk3 5eODGbv+R/H3k1Ig4Dk9BQZwF7bJAp+RFXjdMzVi8ts0hZx8R5gnxLuQ+eyIzwerX28P bSAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dK7MCmkLXCqTpPLeUTP5b3ZRLBGWE2cF7bZcP3BWCuc=; b=Lz4uM7+vuBvvO8Uzad+n2KbSHJt80GXxPJRmrGJiHnGq2AMcQlWNdspXWF7Kd/AMwV lU1Vo8E3CKa+zVXcP5cd/MyRSFWgCPklfesvB9a2y/OP0q07nEVhCEhkO5FEcs4DeAXt 0FzSRgYuLOTdpF2Q2i0WxFnTz6JHmzknDO1QSd2JPAHAkFzXAtaC1K7HStcSlzVot4PB fqmENjZssZpd8xgf0TRCxlf+3MS6k/6TuiblTbOPoBDlzTdDJuHkYH+6/fXabNHVaKJw OrP3csAjtLdqw8OnATmYccsl0w/TyZog5S06w2GDLkcDWs6Gq3QeQv/HOT1RUPvpvaQU lhMw== X-Gm-Message-State: AIkVDXJAxpDzQpdn+ufOi7dn2SOkHuF+lpDjwi4n2666vbn+x9SNMl6qjxslT7GBCAI5UOsTJySiL+kwSvwwxg== X-Received: by 10.36.51.143 with SMTP id k137mr24401548itk.11.1484716915002; Tue, 17 Jan 2017 21:21:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.133.210 with HTTP; Tue, 17 Jan 2017 21:21:54 -0800 (PST) From: Yudi V Date: Wed, 18 Jan 2017 16:21:54 +1100 Message-ID: Subject: issues upgrading from 10.1-RELEASE to 11-RELEASE To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 05:21:56 -0000 hi I tried updating from 10.1 to 11-RELEASE, did not go well. current system: $ uname -a FreeBSD xxxxxxx 10.1-RELEASE-p41 FreeBSD 10.1-RELEASE-p41 #0: Fri Oct 21 23:03:01 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 first I cloned the OS filesystem and then booted to the cloned fiesystem and then upgraded the OS following: https://www.freebsd.org/releases/11.0R/installation.html also read https://www.freebsd.org/releases/11.0R/relnotes.html#upgrade did not notice anything that suggested I would run into problems. Steps I followed: # freebsd-update fetch # freebsd-update install # freebsd-update upgrade -r 11.0-RELEASE Error: # freebsd-update upgrade -r 11.0-RELEASE Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 10.1-RELEASE from update6.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic world/base world/doc world/lib32 The following components of FreeBSD do not seem to be installed: src/src world/games Does this look reasonable (y/n)? y Fetching metadata signature for 11.0-RELEASE from update6.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. The update metadata is correctly signed, but failed an integrity check. Cowardly refusing to proceed any further. Solution is to upgrade to 10.3 first as suggested by someone in the IRC channel. freebsd-update upgrade -r 10.3-RELEASE # freebsd-update install # shutdown -r now # freebsd-update install //installs userland components # freebsd-update fetch # freebsd-update install // rebuilds 3rd party apps # shutdown -r now // final reboot EVerything looked fine with 10.3 upgrade, proceeded to 11-RELEASE upgrade # freebsd-update upgrade -r 11.0-RELEASE //no errors this time, # freebsd-update install # shutdown -r now # freebsd-update install //installs userland components # freebsd-update install # shutdown -r now // final reboot 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" Again someone in the IRC channel suggested I try # pkg-static install -f pkg to fix the pkg issue. and to fix all of them, they suggested I do: #fetch http://ftp0.bme.freebsd.org/pub/FreeBSD/releases/amd64/11.0-RELEASE/base.txz; tar -xzf base.txz -C / --exclude etc Before I go ahead and replace the base system files, I would like to know what went wrong. because I cloned the OS filesystem, I can go back and re-do it properly if the problem was at my end. Any suggestions? or should I log a PR? regards Yudi