From nobody Wed Jan 03 17:19:55 2024 X-Original-To: bugs@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 4T4xL420pBz56Jg3 for ; Wed, 3 Jan 2024 17:19:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T4xL403XZz4pYD for ; Wed, 3 Jan 2024 17:19:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704302396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JICXn/XpWFX5KExsdBmdW0btTj5J7jCHYwXuV345b0g=; b=SMy7IIi6I9c7bSWwrq3EsgKeBX0d9ahoFuZCnyTBbJj2e8FXhM92XfQ/PUcMs0P6aFTIhG xwNVHBRWOd7VI8GAOZy7PWQxDyH29zZCTZzlJ2a9YndLtlWlzr4vZeiJ6Dml8bnfEYYDcY 4rCyRZxuRoRE+AUjpO8OhLirDoFDNW9W660jLX9d6sw+IncFHRvfmtOZuhFmmztcNWHuwM uvI9XTpHWWvEOjEGKFPQZEh2FNA36VAaQzTVEZghMdsCN6f2HYdyKBzK9GMl3rvOVxPydx Mg/PyFVf4wGXTg5wr0CnAts64Nz/7D98kIqixVmpGRauvpP+hzey2+ZSzkj6HA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704302396; a=rsa-sha256; cv=none; b=XfRqS7xSg7bamNsgfYmVApZ/PBwspc13o9FBvkqflaSU1T2E0ZP6nz0wTzjrTx9oG0Wh5O 8yxbeXeVb+diGQjnQ0dY/OJUs5N2Kd9shOajsB5LcKhvjEhGzkHjblUmwjd5iBGMRWFyCY z+bpR3r42o9UmQOgAKCg3jv5OH2UdWgoQdnCfgxcf99j0Xgm4yg0ux37dRNn+DZDHvkvyR b+vHL8+I61BljrvCwn7UoSmVRdg2DWG0IneoDAmcNepKWavutA8AvSPoK0MgK4QmBFIvP0 GCU83sUQjSaqiNaOt+NSTFKHXfzTp3IJjGToliaT1bgY94jvzFlld+6iqA69Jg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T4xL35pSlztKR for ; Wed, 3 Jan 2024 17:19:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 403HJtSl087774 for ; Wed, 3 Jan 2024 17:19:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 403HJtBD087773 for bugs@FreeBSD.org; Wed, 3 Jan 2024 17:19:55 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: bugs@FreeBSD.org Subject: [Bug 276102] freebsd-update: command gives questionable recommendation which command to run next Date: Wed, 03 Jan 2024 17:19:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michaelo@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276102 Bug ID: 276102 Summary: freebsd-update: command gives questionable recommendation which command to run next Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: michaelo@FreeBSD.org freebsd-update may print something like this: > To install the downloaded upgrades, run "/usr/sbin/freebsd-update install= ". or > Kernel updates have been installed. Please reboot and run > "/usr/sbin/freebsd-update install" again to finish installing updates. Morespecifically, these: > $ grep -e '\$0' /usr/sbin/freebsd-update | grep -v basename > echo "Run '$0 install' first." > echo "Run '$0 fetch -F' to proceed anyway." > echo "Run '$0 fetch' first." > echo "Re-run '$0 fetch'." > before running "$0 install". > echo "To install the downloaded upgrades, run \"$0 install\"." > echo "Re-run '$0 fetch'." > "$0 install" again to finish installing updates. > installed from the ports tree) and then run "$0 install" > echo "Run '$0 install' to proceed."=20 The problem with these recommendations is that if freebsd-update is started with options (e.g., -b, -f, etc.) the copied and pasted recommendationd lea= d to incorrect or even broken results. Consider running: > freebsd-update -j deblndw013x4v2j -d $(jls -j deblndw013x4v2j -h path | t= ail -1)/var/db/freebsd-update -f $(jls -j deblndw013x4v2j -h path | tail -1= )/etc/freebsd-update.conf -r 13.2-RELEASE upgrade then > freebsd-update install as next command would be wrong. This might be nit-picking, but not straight forward for some people. It sho= uld either completely replicate the command input or describe rather in prose rather can providing a copiable command. --=20 You are receiving this mail because: You are the assignee for the bug.=