From owner-freebsd-questions@freebsd.org Thu Mar 12 22:58:05 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 91F2D26DDB8 for ; Thu, 12 Mar 2020 22:58:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48dkkf6jCsz4G5b for ; Thu, 12 Mar 2020 22:58:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.7.217]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1MCb2L-1j3Px71ReF-009hSJ; Thu, 12 Mar 2020 23:57:50 +0100 Date: Thu, 12 Mar 2020 23:57:49 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List Subject: Re: "directory not empty", "no such file or directory" errors on upgrade Message-Id: <20200312235749.5e10fb02.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:SUuEQs/MUYmDDxREoUFNMTOtfzT9Zt6UbWIEARiiqiNFLQfXnCX ngCaotVupxlxLPd7fbMd+DlQy9HPZJpN4zgFdvYWGo08hPgnnLU5CylNXba1lN8p0KpXf/k uQIfI4ehasJrLWEmjgb6g+sKdC+3ygA2zLXL5s2N/18rObh2esQfvQKxyAjRQ9Zi1vovOft PIsOz+gbK1wpF9aoT0SMQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:vvHOal3Oj98=:5KGjsUGGuSo6HD0kn0B8/B HMi0Ll9nX3q/DQsFwIB+9ZthpPPSZ2D2QDUwIZ9n6zpncAfXTh7MU0OwDEHU9OmdoSHZYWek5 NpfSAbbgi8Coe347pKdPFkYfd26bG9FQ+fhNqg6NfFaVoiYL/lX7/CLbaJwihlIgAc04dQIye HJypkDK3cIBRx+eP3W93a7INJLP+C6CxxsE+fYNY7JQZmOZx5cUNT0X9yaDIEN5vyBc6Vs9I8 5AzvFWx5QxHNMCqJQQlP7xiyWnyzZgc+tjyEaQxif7ZzpzOKAJviFdTGLJkOv4/pHbo3DvL+G rQRkiLMu1dkgR02sUnqHI8LZRq6ri2t5FpPW3xeUmNloRLoxVTWHLmC0gRCNKdkvznGTsk5pV 0shg+aCXQ3C24tPd+KcX2g4vVebqZk2FSXL6itQeT4i8hm+Xf5PTsYPdmGlQ73DB5rI1mUAKn 9tHMNoHY6KKTyiNBosH4h2ajvtYbLe4h/Xh4aHFEBi6wx8H7KCkyb9D6387KyUEaUYzt+Vao+ oGHGD9viAz/Q5Khy0tZvgaLS0hsF0zs+JjNsWgAUkYSq9IcRUMV0WH7ikipG6dLTq8TFYJ3ti hByjDmkvuIdlPtwXnIltDo7fN3ENl56niYw0i/9qLdGNT2mprqel0hrqgFl+unHR+ufAQdZrl H/OHcmlTmQU4ji3pBFoeuLUWgayfOYOFcp2VKMTfZFD3Pt3Nd1nHYs/MkDGGULTnCZqD/WAzL 25Smeda6ODkAiA/VvigI28ZerSwDJfUR11cvqBDO6tlma2Vq06827As8Yzy3XZRxiGHEB2VZQ ZDW61SQtno/N394P6KZ1fWFTu1DBXFFyRVv48nM0ILgpWMoaiglAPadDU+8i+5zNd4cFEs2 X-Rspamd-Queue-Id: 48dkkf6jCsz4G5b X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.13) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.47 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[217.7.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.95)[0.954,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[13.17.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.12)[ip: (-0.45), ipnet: 212.227.0.0/16(-1.13), asn: 8560(2.17), country: DE(-0.02)] 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 22:58:05 -0000 On Thu, 12 Mar 2020 13:03:27 -0600, Gary Aitken wrote: > Upgrading from 11.2-RELEASE to 11.3-RELEASE > > The final invoke of freebsd-update install completed with the following > messages: > > ///usr/src/sys/pc98/include/acpica_machdep.h no such file or directory > 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 > > The upgraded system has no > /usr/src/sys/pc98/ directory > > The files in > /usr/src/contrib/ofed/usr.lib > /usr/src/contrib/ofed/usr.bin > /usr/src/contrib/llvm/tools/lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer > /usr/src/contrib/llvm/tools/lldb/source/Plugins/InstrumentationRuntime/AddressSanitizer > > appear to be old versions left over from the original 11.2 install > > Hints on the proper way to fix this? When I read such messages, the first thing that comes to mind is filesystem inconsistency. Reboot into single-user mode and run a forced (!) fsck on all file systems, maybe repeat it if needed. You probably don't have background_fsck="NO" in your /etc/rc.conf which in my opinion should be the default setting (instead of YES). See "man 8 fsck" for further options that might be needed. Things like "directory not empty" can also be due to files that haven't been removed. This is possible if the schg (immutable) flag has been set for a file; use "chflags noschg "; see "man 1 chflags" for details. First step: Always rule out the obvious. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...