Updating the ports from STABLE to CURRENT

Andrew Pantyukhin infofarmer at FreeBSD.org
Fri Jan 19 17:30:34 UTC 2007


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.


More information about the freebsd-current mailing list