Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2003 15:44:57 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        jbryant@democrats.com, freebsd-ports@freebsd.org
Subject:   Re: port upgrading problems....
Message-ID:  <oprsg2k7zu8ckrg5@smtp.central.cox.net>
In-Reply-To: <3F170923.5080502@democrats.com>
References:  <3F170923.5080502@democrats.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Jul 2003 15:37:55 -0500, Jim Bryant <jbryant@democrats.com> 
wrote:

> I am having a problem building the upgraded versions of XF86-4 and KDE
>
> The problem is that it sees my XF86-4.2.x files and says that 4.3.x is 
> already installed.
>
> Same for the KDE-3.1.2 upgrade from KDE-3.0.x
>
> How can I force these builds to proceed, while retaining my current 
> versions at least until I'm ready to install the new versions after they 
> are built?

You should start to use portupgrade, which it can be install in the 
sysutils/portupgrade. It's a great tool that will upgrade all the apps what 
you have installed from the ports tree.

1) pkgdb -F (to fix stuff)
2) portupgrade -ra (upgrade all apps)

If you don't want the portupgrade, then you can use the FORCE_PKG_REGISTER 
define. But, I think it's best to do pkg_delete (to uninstall) and install 
the new X.

Cheers,
Mezz

> Apparently, the ports makefiles are not checking version numbers, but 
> only the existance of files that seem to be common between versions.
>
> Jim


-- 
bsdforums.org 's moderator, mezz.



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