Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2003 08:29:06 +0100
From:      "Karl M. Joch" <k.joch@kmjeuro.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 4.7 -> 5.0 (Removing Perl/UUCP safly?)
Message-ID:  <3E2E4842.3080100@kmjeuro.com>
In-Reply-To: <20030122063047.GA54995@snoopy.moondog.org>
References:  <3E2CFBBE.9010609@kmjeuro.com> <627219571.20030121210121@dds.nl> <20030122063047.GA54995@snoopy.moondog.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E2E4842.3080100>