Re: Updating the ports from STABLE to CURRENT

From: Andrew Pantyukhin <infofarmer_at_FreeBSD.org>
Date: Fri, 19 Jan 2007 20:30:32 +0300
On 1/19/07, Bartek Dedersen <kyrosthebravekingofpersia_at_gmail.com> wrote:
> Hi.
>
> I thought of trying out the bleeding edge and hoped my knowledge of
> BSD is high enough to handle it without any major problems.
>
> But: I installed FreeBSD-6.1 with the provided ISO  package available
> on freebsd.org. Some packages were installed via pkg_add. After one
> week, the technician of the German telecommunication firm managed to
> visit me and put his finger on the cables in the cellar. Well, I
> thought of upgrading some packages with the ports-subsystem. It was
> pretty easy and nice. But then I wanted more and installed CURRENT
> from the CVS-source. Some buildworlds and kernel configuration later,
> I had a 7.0 Current. Ok, after a startx I got some error that libXmmu
> cannot be found. Ok, so I tried to recompile xorg-libraries. Ok, but
> there were lots of broken packages due to a filesystem breakdown after
> a kernel panic.
> Well, I tried to delete it with pkg_delete -f and it worked. Now, I am
> recompiling it from the updated ports-collection.
>
> Do I have to expect more failures and do I see an upcoming recompiling
> week due to broken libraries which do not work on CURRENT? Is it more
> useful to reinstall BSD from scratch and update it first?
>
> I know, CURRENT is not for productive use but I need something to put
> my fingers on. Maybe I will learn.
>
> Is there a command to recompile, deinstall and reinstall every
> installed package from the ports-system? If not, it will be hell.

"portupgrade -af", but I'd advise to "pkg_delete -af"
(which has a custom to fail miserably, you might have
to pkg_delete in portions of 50-200 packages) and
reinstall everything you need later.
Received on Fri Jan 19 2007 - 16:30:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC