From nobody Tue Jan 4 22:02:51 2022 X-Original-To: freebsd-questions@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 BF0B3193B1E5 for ; Tue, 4 Jan 2022 22:03:05 +0000 (UTC) (envelope-from carlj@peak.org) Received: from smtp.email-protect.gosecure.net (smtp.email-protect.gosecure.net [208.80.203.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.email-protect.gosecure.net", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JT67D6YtQz4hZR for ; Tue, 4 Jan 2022 22:03:04 +0000 (UTC) (envelope-from carlj@peak.org) Received: from envoy14.neonova.net ([137.118.58.100]) by smtp.email-protect.gosecure.net ({011ac928-49bb-11ec-b4f6-75e6756ba547}) via TCP (outbound) with ESMTP id 20220104220256427_00004101 for ; Tue, 04 Jan 2022 14:02:56 -0800 X-RC-FROM: X-RC-RCPT: Received: from bay.localnet (unknown [199.58.99.76]) (Authenticated sender: carlj@peak.org) by envoy14.neonova.net (Postfix) with ESMTPA id 4JT6705kZpz9tKk for ; Tue, 4 Jan 2022 17:02:52 -0500 (EST) Received: from carlj by bay.localnet with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1n4rtL-0001a4-7R for freebsd-questions@freebsd.org; Tue, 04 Jan 2022 14:02:51 -0800 From: Carl Johnson To: freebsd-questions@freebsd.org Subject: Re: size of /var/db/freebsd-update References: Date: Tue, 04 Jan 2022 14:02:51 -0800 In-Reply-To: (tech-lists@zyxst.net's message of "Tue, 4 Jan 2022 21:16:29 +0000") Message-ID: <86tuejnoqc.fsf@bay.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-MAG-OUTBOUND: greymail.email-protect.gosecure.net@137.118.58.100/32 X-Rspamd-Queue-Id: 4JT67D6YtQz4hZR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=peak.org; spf=pass (mx1.freebsd.org: domain of carlj@peak.org designates 208.80.203.2 as permitted sender) smtp.mailfrom=carlj@peak.org X-Spamd-Result: default: False [-3.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:208.80.200.0/21]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[peak.org,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14618, ipnet:208.80.202.0/23, country:US]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N tech-lists writes: > On Tue, Jan 04, 2022 at 07:09:08PM +0000, Graham Perrin wrote: > >>Alternatively, I recently received advice to remove the contents of the >>directory to *fix* freebsd-update: >> >> > > ;) > > thing is though, why is it there if there's no use for it? i'd have > thought it would tidy up after itself when done[1], or there'd be a > switch you could give to the freebsd-update command that'd say like > 'the update completed ok so tidy up these files' after you've > manually checked everything was working ok after the upgrade & reboot > > [1] maybe not by default so an update could be rolled back I always clear that directory after I am sure that I won't want to roll back the upgrade (I never have). I usually leave the accessory files there: # ls -l /var/db/freebsd-update/ total 15 -rw-r--r-- 1 root wheel 800 Aug 24 13:28 pub.ssl -rw-r--r-- 1 root wheel 50 Oct 12 10:52 serverlist -rw-r--r-- 1 root wheel 50 Oct 12 10:52 serverlist_full -rw-r--r-- 1 root wheel 25 Oct 12 10:52 serverlist_tried -rw-r--r-- 1 root wheel 150 Oct 12 10:52 tINDEX.present -rw-r--r-- 1 root wheel 112 Oct 12 10:52 tag I don't think those files are necessary and I think that I have also removed those without any problems. -- Carl Johnson carlj@peak.org