From owner-freebsd-pkg@freebsd.org Sun Feb 11 19:51:17 2018 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25C58F12410 for ; Sun, 11 Feb 2018 19:51:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B1C2987A37 for ; Sun, 11 Feb 2018 19:51:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 71187F1240C; Sun, 11 Feb 2018 19:51:16 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E9BBF1240B for ; Sun, 11 Feb 2018 19:51:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EBBAA87A2E for ; Sun, 11 Feb 2018 19:51:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 118B010F24 for ; Sun, 11 Feb 2018 19:51:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1BJpEFQ039435 for ; Sun, 11 Feb 2018 19:51:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1BJpEh0039434 for pkg@FreeBSD.org; Sun, 11 Feb 2018 19:51:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 225361] ports-mgmt/pkg: pkg install xxx removes needed and unrelated packages from system Date: Sun, 11 Feb 2018 19:51:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pru13allan@telia.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 19:51:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225361 --- Comment #2 from pru13allan@telia.com --- One possible cause may be that 'pkg' is sensitive to kernel versions (uname -K). I have seen the behaviour on more than one 12-CURRENT, where server is vers= ion 1200054 and an updated pkg is compiled on 1200056, that packages with same package version as in repository get on the list of 'to be REMOVED'. After reinstalling these packages (with same version numbers) all is OK. When trying to force an update of package database this is what shows up: # pkg update -f Updating FreeBSD repository catalogue... Fetching meta.txz: 100% 944 B 0.9kB/s 00:01=20=20=20=20 Fetching packagesite.txz: 100% 5 MiB 2.4MB/s 00:02=20=20=20=20 Processing entries: 0% pkg: Newer FreeBSD version for package desktop-file-utils: - package: 1200056 - running kernel: 1200054 pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:12:aarch64 Processing entries: 100% Unable to update repository FreeBSD Error updating repositories! My conclusion: Keep up with new kernel versions. (And 'pkg upgrade -f' after OS upgrade) --=20 You are receiving this mail because: You are the assignee for the bug.=