From owner-freebsd-ports-bugs@freebsd.org Thu Oct 18 21:06:34 2018 Return-Path: Delivered-To: freebsd-ports-bugs@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 691EEF7528C for ; Thu, 18 Oct 2018 21:06:34 +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 066337EA4F for ; Thu, 18 Oct 2018 21:06:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BE398F75289; Thu, 18 Oct 2018 21:06:33 +0000 (UTC) Delivered-To: ports-bugs@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 9B914F75286 for ; Thu, 18 Oct 2018 21:06:33 +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 3C5BD7EA4E for ; Thu, 18 Oct 2018 21:06:33 +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 8A781295F for ; Thu, 18 Oct 2018 21:06:32 +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 w9IL6Wej054136 for ; Thu, 18 Oct 2018 21:06:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9IL6WPp054129 for ports-bugs@FreeBSD.org; Thu, 18 Oct 2018 21:06:32 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: ports-bugs@FreeBSD.org Subject: [Bug 232412] pkg: message during upgrade "You may need to manually remove if it is no longer needed." Date: Thu, 18 Oct 2018 21:06:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: stb@lassitu.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2018 21:06:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232412 Bug ID: 232412 Summary: pkg: message during upgrade "You may need to manually remove if it is no longer needed." Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: stb@lassitu.de When upgrading packages with pkg, for some packages a message is emitted du= ring the upgrade like the following: [3/3] Fetching gitea-1.5.2.txz: 100% 15 MiB 15.3MB/s 00:01=20=20=20=20 ... [3/3] Upgrading gitea from 1.5.1 to 1.5.2... =3D=3D=3D> Creating groups. Using existing group 'git'. =3D=3D=3D> Creating users Using existing user 'git'. [3/3] Extracting gitea-1.5.2: 100% Stopping gitea. Waiting for PIDS: 2440, 2440. You may need to manually remove /usr/local/etc/gitea/conf/app.ini if it is = no longer needed. I assume this message is produced when de-installing the previous version, = but it's not obvious to the casual user where it comes from, or why it's emitte= d. Since the package continues to be installed, the config file is in fact sti= ll needed, and deleting it would likely make the installed package unusable. Ideally, the message would only be emitted when deinstalling a package. For upgrades, the message should only be shown if the file in question is actua= lly not part of the new version anymore. Otherwise, nothing should be printed. # pkg info -I pkg pkg-1.10.5_5 Package manager # uname -a FreeBSD repo.zs64.net 11.2-STABLE FreeBSD 11.2-STABLE #10 r338650: Thu Sep = 13 16:53:15 UTC 2018 root@redacted amd64 --=20 You are receiving this mail because: You are the assignee for the bug.=