From nobody Sat May 20 16:17:59 2023 X-Original-To: doc@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 4QNplr0M0Tz4CDxs for ; Sat, 20 May 2023 16:18:00 +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 4QNplq3ydnz3ChC for ; Sat, 20 May 2023 16:17:59 +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=1684599479; 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=TtfNm9Dg6uz7BiPEOjgoarX9++In28HUlFM7pXMc+1E=; b=JQMQxVbkOFqz7II2L+l79kKm13ftDiWDxtYn8fuSyEKP/94Yw6enEYG9C4wrK2ArrvnGna 2YEZ8fWXmQEkQUH1Wn5C4zlRQTWEPmypS9+KLFbzmBrNVzWFhu/Ftl6awHdxQLY7YuKPkL VJBqDH0wniDWM5zp/aJqUTRFaiuZ/GIvzxSk/aRNy42TSHQEbyHQDQaPcNlgzefSSkyntP ei7XlYD7+z0QpIe2rsO4y1kFp9YJ78y0PaIKA3FSWzpRRhgxUmI4k3RrPJNQXIZdP5aG4P D7LZo8qx6jYbbKxh6e6xvp40zRzSGgqTuVtMwaTZAB6nQPRA74yi+z7YW8mwsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684599479; a=rsa-sha256; cv=none; b=BYIk43vxUGu8XxPZPnJavgqfnBMr/jaD1a3mcrBafq2PVHqot97MHBmsFVGDPXD1uOeXkU 7PA0ZaUGgM0J4u+WRqDMXkq2PUI+3J3LPPn0dRI2fv57LUJQ+TUoSv87d6UCrZfnvZOjMt ZOqz7yjNFX0vrM2631MA4rwgXNHdM1YEw7rzz2ldyr8EA3IvmJSEPwkdoR5WtRn0RSdjCC M6dv12WvY+jDUV2r4wMPR/1g54bdihE8tZe8R4QDxKGBUoVxK+aJMOY8U8YxKuUI5XxCs8 zk1jboN/a2bSqu3jLbFkBGbvMrpZpbHN92hbgKODl+SCy2KQrmQGFmnzdk8hUg== 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 4QNplq2pjMzGTr for ; Sat, 20 May 2023 16:17:59 +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 34KGHxMi003254 for ; Sat, 20 May 2023 16:17:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34KGHx3A003253 for doc@FreeBSD.org; Sat, 20 May 2023 16:17:59 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: doc@FreeBSD.org Subject: [Bug 271534] "4.4.11. Restoring the Package Database" from the FreeBSD handbook is outdated Date: Sat, 20 May 2023 16:17:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Website X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vieroninfo@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@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: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271534 Bug ID: 271534 Summary: "4.4.11. Restoring the Package Database" from the FreeBSD handbook is outdated Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Website Assignee: doc@FreeBSD.org Reporter: vieroninfo@gmail.com Hi guys, apparently "4.4.11. Restoring the Package Database" from the FreeBSD handbo= ok is outdated. As pointed out to me, the "pkg backup" command was removed with the following commit in "https://github.com/freebsd/pkg" which also contains the reason for its removal. So I guess that section should be removed or updated. ----------------------------- commit eea1a990eb1187a408811534a5060e58074a9044 Author: Baptiste Daroussin Date: Tue Oct 4 17:02:13 2022 +0200 backup: remove the backup command which was confusing backup and backup -r was basically replicating the db, while we now prefer a real sql dump. with the backup command backuping a corrupted db will succesfully backup it and pkg backup -r will sucessfully restore a corrupted db. Making its usage quite useless. ----------------------------- Thank you for your attention. Kind regards --=20 You are receiving this mail because: You are the assignee for the bug.=