From nobody Wed Jul 19 23:07:34 2023 X-Original-To: freebsd-pkg@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 4R5s1D5XZ6z4nfkL for ; Wed, 19 Jul 2023 23:07:58 +0000 (UTC) (envelope-from mail@nsood.in) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (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 4R5s19417jz4DTs for ; Wed, 19 Jul 2023 23:07:57 +0000 (UTC) (envelope-from mail@nsood.in) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nsood.in header.s=fm2 header.b=AMw8PquT; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=meNexPN6; spf=pass (mx1.freebsd.org: domain of mail@nsood.in designates 64.147.123.19 as permitted sender) smtp.mailfrom=mail@nsood.in; dmarc=pass (policy=quarantine) header.from=nsood.in Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 53548320047A for ; Wed, 19 Jul 2023 19:07:56 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute1.internal (MEProxy); Wed, 19 Jul 2023 19:07:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nsood.in; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1689808075; x=1689894475; bh=9WLhQvyqccmnVeMrLogR3c80I chJBtAWScK71FGFpBk=; b=AMw8PquTFafHn0OJqflLOOFPZemDxV+Zi6CWC152K qFqaNalidLJ50DheRZA54xSnyCsQEUzchE+jmJZQYXlVu0wY3aMNRCcbDFqxs2dh incA6r82tjcySDK5WKpTv7FW7jT5/WHTeCX4Geb2IvabmYXkoBhLN+qjwosmMykk +Hvh0mUC9SCkR33G4RHRNOmKa0q6j7icbreqYENtkhrQXUKr7bZQhEPLyvBxjTuK q8sarrldbExXK9k8MBWCNG9mCA8ZafHAO1uSAlnmrMNE56mw3rxGF0CmltwfqEgp 1wqxHANXPaf+aiLYo/TZLcC2v6gCI9+7x8oqtI0idjUnA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1689808075; x=1689894475; bh=9WLhQvyqccmnVeMrLogR3c80IchJBtAWScK 71FGFpBk=; b=meNexPN6h26DvvjgT8TaDsE70QyCAuhIVF3+zwI8eUKY1dv6fAT aMIw9doySSsx91umr92pG7hVd0R58Ql3NDICPoSKRl+jyy6m5TlDGDdomtVj8DzY +unrZvT9H0Y4XpBqYVTasZmWHv6QKtRivMeHW1645aH8vYVrer1GcmltexX20YzI 5zDk5XMuLHircHOXWEGI/T4sUn2A19NyUJssbOxSxlxDDHQI+xVOa3wEsNquwVdd 198uN94xZ8VYEg7O4J7o2OFG872MaACNNr65aM0kfTkFzNsgdFOU8vaXb435wfMd gMN5c3ddXC97QoUJK/84BuI7M5d4mZvuc9g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrgeelgddujecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdfprghmrghnucfuohhougdfuceomhgrihhlsehnshhoohgurdhi nheqnecuggftrfgrthhtvghrnhepgeffjeethfehgeeijeelhfeutdfgkeetteehgeegke ffgfejuddtuefgieeftdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepmhgrihhlsehnshhoohgurdhinh X-ME-Proxy: Feedback-ID: ic6014606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 92495B60089; Wed, 19 Jul 2023 19:07:55 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-531-gfdfa13a06d-fm-20230703.001-gfdfa13a0 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org Mime-Version: 1.0 Message-Id: Date: Wed, 19 Jul 2023 19:07:34 -0400 From: "Naman Sood" To: freebsd-pkg@freebsd.org Subject: Why did pkg delete mysql80-server here? Content-Type: text/plain X-Spamd-Result: default: False [-3.98 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.99)[-0.988]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[nsood.in,quarantine]; RWL_MAILSPIKE_EXCELLENT(-0.40)[64.147.123.19:from]; R_DKIM_ALLOW(-0.20)[nsood.in:s=fm2,messagingengine.com:s=fm3]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.19:c]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.19:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[nsood.in:+,messagingengine.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-pkg@freebsd.org] X-Rspamd-Queue-Id: 4R5s19417jz4DTs X-Spamd-Bar: --- Hi, I just started using FreeBSD 13.2 for a personal storage server. I had this extremely surprising interaction with pkg today: nsood@silicon:~ % sudo pkg install rclone Password: Updating FreeBSD repository catalogue... Fetching packagesite.pkg: 100% 7 MiB 465.6kB/s 00:15 Processing entries: 100% FreeBSD repository update completed. 33793 packages processed. All repositories are up to date. New version of pkg detected; it needs to be installed first. The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: pkg: 1.19.1_1 -> 1.19.2 Number of packages to be upgraded: 1 8 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching pkg-1.19.2.pkg: 100% 8 MiB 1.7MB/s 00:05 Checking integrity... done (0 conflicting) [1/1] Upgrading pkg from 1.19.1_1 to 1.19.2... [1/1] Extracting pkg-1.19.2: 100% Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 2 package(s) will be affected (of 0 checked): Installed packages to be REMOVED: mysql80-server: 8.0.32 New packages to be INSTALLED: rclone: 1.62.2 Number of packages to be removed: 1 Number of packages to be installed: 1 The operation will free 138 MiB. 12 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching rclone-1.62.2.pkg: 100% 12 MiB 3.1MB/s 00:04 Checking integrity... done (0 conflicting) [1/2] Deinstalling mysql80-server-8.0.32... [1/2] Deleting files for mysql80-server-8.0.32: 100% ==> You should manually remove the "mysql" user. ==> You should manually remove the "mysql" group [2/2] Installing rclone-1.62.2... [2/2] Extracting rclone-1.62.2: 100% You may need to manually remove /usr/local/etc/mysql/my.cnf if it is no longer needed. It's definitely on me to have not read the message carefully before saying yes, but also extremely unintuitive that installing rclone, presumably an unrelated package, caused mysql80-server to be uninstalled. Reinstalling mysql80-server worked fine, and did not remove rclone, so it wasn't a package conflict. Thankfully the mysqld process in memory kept running while I reinstalled the package so I did not experience any downtime, but I would still like to avoid a heart attack in the future. So can someone explained what I did wrong here that caused mysql80-server to be uninstalled? Thanks, Naman. (they/them)