From owner-freebsd-questions Tue Jan 21 23:29:18 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 773E137B401 for ; Tue, 21 Jan 2003 23:29:16 -0800 (PST) Received: from sv07e.atm-tzs.kmjeuro.com (sv07e.atm-tzs.kmjeuro.com [193.81.94.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE22143F43 for ; Tue, 21 Jan 2003 23:29:14 -0800 (PST) (envelope-from k.joch@kmjeuro.com) Received: from kmjeuro.com (adsl.ooe.kmjeuro.com [193.81.94.78]) (authenticated bits=0) by sv07e.atm-tzs.kmjeuro.com (8.12.6/8.12.6) with ESMTP id h0M7SnuW084746 for ; Wed, 22 Jan 2003 08:28:49 +0100 (CET) (envelope-from k.joch@kmjeuro.com) Message-ID: <3E2E4842.3080100@kmjeuro.com> Date: Wed, 22 Jan 2003 08:29:06 +0100 From: "Karl M. Joch" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.2.1) Gecko/20021130 X-Accept-Language: de-at, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 4.7 -> 5.0 (Removing Perl/UUCP safly?) References: <3E2CFBBE.9010609@kmjeuro.com> <627219571.20030121210121@dds.nl> <20030122063047.GA54995@snoopy.moondog.org> In-Reply-To: <20030122063047.GA54995@snoopy.moondog.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Mail Server protected by CTS Austria www.ctseuro.com Message found to be clean Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Elden Fenison schrieb: > * Alex [01/21/2003 21:01]: > >>>How to safly and completely remove Perl / UUCP and maybe others which >>>have been removed from the source tree. UPDATING doesnt mention anything >>>about it. > > > I'm no expert... but I just successfully upgraded from 4.7 to 5.0 today. > It didn't seem too hard to just look in /sbin /usr/sbin /bin /usr/bin to > find things that weren't dated with today's date and delete them. The > only stuff that wouldn't have been dated today after a build/install > world would have been old leftovers from 4.7. > > Perhaps that was a bit foolhardy, but so far all is well. > thats for sure one way, but deleting by date could maybe let some stuff back. a touch on any file egardless the reason of it would cause the date to change too. so a list of files which are to remove would be fine. then there would be the possibility of making a script which deletes the files and the updated system would be clean. i think i will make a diff of the trees 4.7 and 5.0 and then a script of it. but as more people upgrade the question will come up very often i think or it will cause lot of troubles with perl when letting the 4.x stuff on the box. > >>>Furthermore there is need for doing installworld on some boxes far away >>>in multi user mode. any chance this works? > > > I did learn one important thing... when the UPDATING doc says to install > the new kernel, then RE-boot into single user mode to install world, it > means it. Just dropping to single user mode without a reboot was not > enough. The installworld refuses to work unless you're actually booted > on the new kernel. And I would highly doubt, that after installing the > new kernel but having the old world that you could boot into anything > BUT single user mode. > i havnt tried till now. have you included the COMPAT 4 option in the kernel to still be able to run the 4.x binaries? i succussfull build 5.0 on a box running 4.7. till now (except the a.ot -> elf update) it always worked in multiuser mode too. sometimes after the first rebbot a second installworld was neccecary but it worked. but i will try today if installword lets me do it and then post the result. i only dont want to travel thousends of km to boxes to do a installworld. -- Best regards / Mit freundlichen Gruessen, Karl M. Joch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message