From owner-freebsd-stable@freebsd.org Sun Oct 8 10:39:01 2017 Return-Path: Delivered-To: freebsd-stable@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 C2A4CE30AA9 for ; Sun, 8 Oct 2017 10:39:01 +0000 (UTC) (envelope-from dr.klepp@gmx.at) Received: from vie01a-qmta-at50-2.mx.upcmail.net (vie01a-qmta-at50-2.mx.upcmail.net [62.179.121.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A8063936 for ; Sun, 8 Oct 2017 10:39:00 +0000 (UTC) (envelope-from dr.klepp@gmx.at) Received: from [172.31.218.14] (helo=vie01a-dmta-at50-2.mx.upcmail.net) by vie01a-pqmta-at50.mx.upcmail.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88) (envelope-from ) id 1e18oF-0005ST-RG for freebsd-stable@freebsd.org; Sun, 08 Oct 2017 12:27:47 +0200 Received: from [172.31.216.41] (helo=vie01a-pemc-psmtp-at50) by vie01a-dmta-at50.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1e18o8-0001bv-BH for freebsd-stable@freebsd.org; Sun, 08 Oct 2017 12:27:40 +0200 Received: from t61.lan ([85.126.97.210]) by vie01a-pemc-psmtp-at50 with SMTP @ mailcloud.upcmail.net id JyTa1w01L4YLlkt0ByTby4; Sun, 08 Oct 2017 12:27:35 +0200 X-SourceIP: 85.126.97.210 X-CNFS-Analysis: v=2.2 cv=O6RJhF1W c=1 sm=2 tr=0 a=/Ac8Q0O/YFE5LOLfUiYZVw==:117 a=/Ac8Q0O/YFE5LOLfUiYZVw==:17 a=IkcTkHD0fZMA:10 a=6I5d2MoRAAAA:8 a=zelsXjwMAAAA:8 a=3j4BkbkPAAAA:8 a=JqEG_dyiAAAA:8 a=mXOcbrx4srF5yZRBlDIA:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 a=RUIWC-oL5zFgG1Itbkuy:22 From: "Dr. Nikolaus Klepp" To: freebsd-stable@freebsd.org Subject: Re: 10.4 release - is the binary update corrupt? Date: Sun, 8 Oct 2017 12:27:35 +0200 User-Agent: KMail/1.9.10 (enterprise35 0.20100827.1168748) References: In-Reply-To: X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201710081227.35629.dr.klepp@gmx.at> X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 10:39:01 -0000 Hi! My notes suggest for this case: pkg clean # cleans /var/cache/pkg/ rm -rf /var/cache/pkg/* # just remove it all pkg update -f # forces update of repository catalog rm /var/db/pkg/repo-*.sqlite # removes all remote repository catalogs pkg bootstrap -f # forces reinstall of pkg Do NOT delete /var/db/pkg/local.sqlite! It contains the database with your = installed packages. If you remove it the system will think you have nothing= installed.=20 Nik Am Sonntag, 8. Oktober 2017 schrieb Dr Josef Karthauser: > Hi, >=20 > I=E2=80=99m having trouble upgrading a 10.3 machine to 10.4: looks like s= omething is corrupt: >=20 > Fetching metadata signature for 10.4-RELEASE from update4.freebsd.org... = done. > Fetching metadata index... done. > Fetching 1 metadata patches. done. > Applying metadata patches... done. > Fetching 1 metadata files... done. > Inspecting system... done. > Fetching files from 10.3-RELEASE for merging... done. > Preparing to download files... done. > Fetching 38573 patches.....10....20....30....40....50....60....70....80..= =2E.90....100....110....120....130....140=E2=80=A6 > [cut] > Applying patches... done. > Fetching 9266 files... > gunzip: (stdin): unexpected end of file > efb4027db1ae440353955aa1bcfc9c69d1cafbdb53b4bfc6584d64b1e1bfd209 has inco= rrect hash. >=20 > Has anyone else also seen this? >=20 > Cheers, > Joe > =E2=80=94=20 > Dr Josef Karthauser > Chief Technical Officer > (01225) 300371 / (07703) 596893 > www.truespeed.com > / theTRUESPEED =20 > @theTRUESPEED > =20 > This email contains TrueSpeed information, which may be privileged or con= fidential. It's meant only for the individual(s) or entity named above. If = you're not the intended recipient, note that disclosing, copying, distribut= ing or using this information is prohibited. If you've received this email = in error, please let me know immediately on the email address above. Thank = you. > We monitor our email system, and may record your emails. >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" =2D-=20 Please do not email me anything that you are not comfortable also sharing w= ith the NSA, CIA ...