From owner-freebsd-questions@freebsd.org Thu Mar 12 20:02:02 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B03E26A2E6 for ; Thu, 12 Mar 2020 20:02:02 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48dfqY47XSz3CmC for ; Thu, 12 Mar 2020 20:02:01 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qt1-x832.google.com with SMTP id d22so5514278qtn.0 for ; Thu, 12 Mar 2020 13:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=8pauy3fSDwApfkkjIDcfDeTpuzFQbuOYrIIpDJg8er8=; b=Mwz/9sRSuJTieIl9LC6Kj4KWrhP/lEwg+3Uv96Zmq0m/ayAmFposzkaBiaEZxYWQRj eiPHrNUQTB3+djTBksWSVJDtAVJ9aRYOj2AwPGeQiE+wEZAD9LnYI8UCNOJlceZQKJcJ pWFtyUVveXenLnRY0BBXehAJPDOBMu8zMl0aF31UwplI8C39rx71OxO7dd8mW08Cu+ZM hMT4DPj+uxFe1sj3HK5X0V+LKU7L84I2Aazne1JK66T1KlIBdvl1kUtTlS8LqwNxEzoS AbuWzOrNy/sIaJsYslwQNCookWG8TfuqWhJZphZxNr0CQ++3KBXL2ZEDFsQi/ayaizex Gk2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=8pauy3fSDwApfkkjIDcfDeTpuzFQbuOYrIIpDJg8er8=; b=uGwl7O7NQvw6nyYhAKWeMbI14pmlUSbLxbrGpFLXUO+wx0Yv+0qxs87Z8Or6CnQWbv v9v1xRr7IgRE2x10yTgeGB4Ma9xN2z6SQk+C5V8LZ+a09dyj7hn3dWnVJfc3/YWb4m2j vHhIGyei0JtJ8y1wFreB9zF3ubtwC3+QaXtrKyABN+lb9PjoCsaesnx94qBKbC7leDnN 98xcTspufCirmA8Q42apD2lDj6fp8EyUlY+ff4gWcSKjMa2JJcYNjvljU4jBIAh1V5+n SF8UbZr9cjvkMAZAfgdrbIm+wwS4Fgwlov6x/3zSWu6HE51IPlamyRlugVBzJymLVeoi xP+w== X-Gm-Message-State: ANhLgQ1pEIjnZnDcm3G3+dBoi8xsGAzAGlID+jnQ+i0hwlrkXP+tAviA eakRftC8PDLldqnyWrI8hn/A6RYqqOC+PHpPdP8G4iIuKFg= X-Google-Smtp-Source: ADFU+vuNWyjWMfALkumQEpRDMFkDHx0JA+GuKvcsl1rnIp/yqG+Xf0fhJiQJ2BwYxYj3Eb5zRk2ejTNd3rYnDZIuYrY= X-Received: by 2002:ac8:1608:: with SMTP id p8mr9153454qtj.123.1584043319824; Thu, 12 Mar 2020 13:01:59 -0700 (PDT) MIME-Version: 1.0 References: <94e006d9-bf6e-52e2-c667-763385cdd98e@kicp.uchicago.edu> <20200312195259.GA1025@neutralgood.org> In-Reply-To: <20200312195259.GA1025@neutralgood.org> From: Michael Sierchio Date: Thu, 12 Mar 2020 13:01:23 -0700 Message-ID: Subject: Re: "directory not empty", "no such file or directory" errors on upgrade To: FreeBSD Questions X-Rspamd-Queue-Id: 48dfqY47XSz3CmC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=Mwz/9sRS; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2607:f8b0:4864:20::832) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-3.87 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.57)[ip: (-9.29), ipnet: 2607:f8b0::/32(-1.85), asn: 15169(-1.65), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2020 20:02:02 -0000 Some quick observations =E2=80=93 rmdir will fail if a directory is not emp= ty, and rm -rf will fail if a file has the schg flag set. A possible brute force solution to this is > chflags -R 0 > rm -rf On Thu, Mar 12, 2020 at 12:53 PM Kevin P. Neal wrote: > On Thu, Mar 12, 2020 at 02:09:33PM -0500, Valeri Galtsev wrote: > > > > > > On 2020-03-12 14:03, Gary Aitken wrote: > > > Upgrading from 11.2-RELEASE to 11.3-RELEASE > > > > > > The final invoke of freebsd-update install completed with the followi= ng > > > messages: > > > > > > ///usr/src/sys/pc98/include/acpica_machdep.h no such file or directo= ry > > > rmdir: ///usr/src/contrib/ofed/usr.lib directory not empty > > > rmdir: ///usr/src/contrib/ofed/usr.bin directory not empty > > > rmdir: > ///usr/src/contrib/llvm/tools/lldb/source/Plugins/InstrumentationRuntime/= ThreadSanitizer > > > directory not empty > > > rmdir: > ///usr/src/contrib/llvm/tools/lldb/source/Plugins/InstrumentationRuntime/= AddressSanitizer > > > directory not empty > > > > I would unmount filesystem and run fsck on it first. > > And add the "-f" flag to fsck. > -- > "A method for inducing cats to exercise consists of directing a beam of > invisible light produced by a hand-held laser apparatus onto the floor ..= . > in the vicinity of the cat, then moving the laser ... in an irregular way > fascinating to cats,..." -- US patent 5443036, "Method of exercising a ca= t" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata