From nobody Mon Sep 2 21:05:25 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WyLrY4fhnz5V47P for ; Mon, 02 Sep 2024 21:05:49 +0000 (UTC) (envelope-from ax61@disroot.org) Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WyLrX4pH2z4N71 for ; Mon, 2 Sep 2024 21:05:48 +0000 (UTC) (envelope-from ax61@disroot.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=disroot.org header.s=mail header.b="mZg9ab/w"; dmarc=pass (policy=reject) header.from=disroot.org; spf=pass (mx1.freebsd.org: domain of ax61@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=ax61@disroot.org Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D63A044EEB; Mon, 2 Sep 2024 23:05:40 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eyjzSrNDAbYJ; Mon, 2 Sep 2024 23:05:39 +0200 (CEST) Content-Type: multipart/alternative; boundary=Apple-Mail-B2A8C202-E672-4A01-BDB6-FDB30F8F3F54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1725311139; bh=nNxj0BsMHkN/uF1TKBFhpB3L6tp3Daxs2E9qyg8LxQ4=; h=From:Subject:Date:References:Cc:In-Reply-To:To; b=mZg9ab/w+LiAq8JTZhyeLpsRyOaPXtZXuifV8UbOzCySQTqApI6HXpoY7w7IRafyM GFjAPRPspDih5fiohZm6puToGBBNe7idwtSFq6rKPwF1TUhdH9HthhtPfHbAzAPJhR 59sTL0H2OwYmNJJrcwXu95QmqKb+s7doohK83PoWYl1JRNQqwA5j4FoB44ESF4Ntig bbc8r9OHkglkxyUyu0IaLq8ocT8zKqGqZTPoImloP9uX7dS2akL+xgqZBdU6OtY0EA u2fSrxhl+EKpg5atr1GTVP/tBC3ntSREyQP1CFptDsiUtAPPxOicqnFmAVaRtG3UIO Zu6e3q53DZUTg== Content-Transfer-Encoding: 7bit From: ax disroo List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org Mime-Version: 1.0 (1.0) Subject: Re: packages with mismatched checksums Date: Mon, 2 Sep 2024 11:05:25 -1000 Message-Id: References: Cc: FreeBSD Mailing List In-Reply-To: To: freebsd@dreamchaser.org X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.49 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.988]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[disroot.org,reject]; R_DKIM_ALLOW(-0.20)[disroot.org:s=mail]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:50673, ipnet:178.21.23.0/24, country:NL]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[disroot.org:+] X-Rspamd-Queue-Id: 4WyLrX4pH2z4N71 --Apple-Mail-B2A8C202-E672-4A01-BDB6-FDB30F8F3F54 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On Sep 1, 2024, at 6:19=E2=80=AFAM, Gary Aitken wrote: >=20 > =EF=BB=BFWhat is the right way to fix / check a package reported as having= a > mismatched checksum, assuming it hasn't been modified? Try pkg-check(8) https://man.freebsd.org/cgi/man.cgi?query=3Dpkg-check&aprop= os=3D0&sektion=3D8&manpath=3DFreeBSD+14.1-RELEASE+and+Ports&arch=3Ddefault&f= ormat=3Dhtml Check check =E2=80=A6 # pkg check --checksums --dependencies --dry-run --all --verbose Update =E2=80=A6 # pkg check --recompute --dependencies --shlibs --all - Anubhav --Apple-Mail-B2A8C202-E672-4A01-BDB6-FDB30F8F3F54 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
= On Sep 1, 2024, at 6:19=E2=80=AFAM, Gary Aitken wrote:

<= /div>
=EF=BB=BFWhat is the r= ight way to fix / check a package reported as having a
misma= tched checksum, assuming it hasn't been modified?


Check check =E2=80=A6
# pkg check -= -checksums --dependencies --dry-run --all --verbose

Update =E2=80=A6
# pkg check  --recompute --dependencies --s= hlibs --all


- Anubhav

=


= --Apple-Mail-B2A8C202-E672-4A01-BDB6-FDB30F8F3F54--