From nobody Wed Sep 04 00:35:21 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 4Wz3Rz2Z3jz5MmQ6 for ; Wed, 04 Sep 2024 00:35:27 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from ns.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "discoveriesinwood.com", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wz3Ry4pFlz4WP1 for ; Wed, 4 Sep 2024 00:35:26 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org Received: from [192.168.151.122] (breakaway.dreamchaser.org [192.168.151.122]) by ns.dreamchaser.org (8.18.1/8.18.1) with ESMTP id 4840ZL4S052309; Tue, 3 Sep 2024 18:35:22 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <310a6f63-88fc-4906-8599-6048947a9f59@dreamchaser.org> Date: Tue, 3 Sep 2024 16:35:21 -0800 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 User-Agent: Mozilla Thunderbird Reply-To: freebsd@dreamchaser.org Subject: Re: packages with mismatched checksums To: ax disroo Cc: FreeBSD Mailing List References: Content-Language: en-US From: Gary Aitken In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: inspected by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Tue, 03 Sep 2024 18:35:22 -0600 (MDT) for IP:'192.168.151.122' DOMAIN:'breakaway.dreamchaser.org' HELO:'[192.168.151.122]' FROM:'freebsd@dreamchaser.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns.dreamchaser.org [192.168.151.101]); Tue, 03 Sep 2024 18:35:22 -0600 (MDT) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.13 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.94)[-0.944]; R_SPF_ALLOW(-0.20)[+mx:c]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org] X-Rspamd-Queue-Id: 4Wz3Ry4pFlz4WP1 On 9/2/24 13:05, ax disroo wrote: >> On Sep 1, 2024, at 6:19 AM, Gary Aitken wrote: >> >> What 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=pkg-check&apropos=0&sektion=8&manpath=FreeBSD+14.1-RELEASE+and+Ports&arch=default&format=html ...> Check check … # pkg check --checksums --dependencies --dry-run --all > --verbose that reports the problem, but doesn't resolve it. > Update … # pkg check --recompute --dependencies --shlibs --all according to the man page --recompute should only be used when one has modified the package. AFIK I haven't touched it, so this would not be wise. So the original question still open: what's the right way to fix this? Reinstall the package using pkg install -f foo ? Gary