From nobody Mon Feb 27 08:02:55 2023 X-Original-To: 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 4PQCfR6B1Nz3tnHs for ; Mon, 27 Feb 2023 08:02:55 +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 4PQCfR29tnz3yfN for ; Mon, 27 Feb 2023 08:02:55 +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=1677484975; 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: in-reply-to:in-reply-to:references:references; bh=adnlkY3vA38bHjhadPdVrUa/C6ysEzHAu15ywYOuKF0=; b=vWtiz+lxFg8ZdNZDHwA27BT9Mn+HF8Cejog5npN73XjYYpTcFU7CAt+qyUKlYfRYDA6ELf TY7/FWBLB1xxL1DPWM/Jas3HxXCyEXIVyALsV0vRADI8ouBzw9FhGhTwtmSXI8YrzxOiYM PFmNSiIob6qL7wRsrqC6VrMlwcMv4z+2ADh+F7CtYqrJaElKcUKIqUiw7PVYIAEcImBbji I1wzffLe4HKWZt1yQYrIfXLgWG7K8b4DS5Pj1eoybnj5/DlwCI5HpDw+iATsyxWviqWX9j iz7ngJUgvxGU/wwSOWUX/58WCdLl/UAFJq/M3NJWYJpRBtaqSxzWo0+BXN1FMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677484975; a=rsa-sha256; cv=none; b=NVTNTp7cdXwLFgffOhuU6bSuYEFkr7QH9p+yVtWASejeg0CpBPlDcQ6oLkI9sHHPtxoqNt tvK/PaDK0r9iklPG5gDdeLE1aqi7W+QKHvkN2xFsOXWNxlU65HO/sbiNqoVuMbJfw0G7Y/ 7xivlTSR51IgjPwaE08HzrXlChKS6yIqF8Shz9rGhThE87cr6lGJ1RQuw0VpwskkHvUd/g BMLc3fTy0uABYd6m+NIImJBMSILmLvmeOdR/YGu02pl+B2ENFlFrA3quFkmsmWC96sQgw1 a0mM0DnYr2KH7XR1PAjicyr/lg2Sq5mnYf+ooz81H0UYvwr3ni/UUO5CwD/qGQ== 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 4PQCfR1HB0zJn5 for ; Mon, 27 Feb 2023 08:02: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 31R82twv059965 for ; Mon, 27 Feb 2023 08:02:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31R82t4V059964 for pkg@FreeBSD.org; Mon, 27 Feb 2023 08:02: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: pkg@FreeBSD.org Subject: [Bug 269810] ports-mgmt/pkg: how to restore pkg database Date: Mon, 27 Feb 2023 08:02:55 +0000 X-Bugzilla-Reason: CC 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: bapt@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: grahamperrin@freebsd.org X-Bugzilla-Flags: maintainer-feedback? 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 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269810 --- Comment #4 from Baptiste Daroussin --- the fact that the new db is smaller means nothing, the original one has liv= ed for a while and may benefit from a vaccum for example to release free block= s if needed. xzcat /var/backups/pkg.sql.xz | pkg shell is the right way to retore a corrupted db. --=20 You are receiving this mail because: You are on the CC list for the bug.=