Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 15:13:33 -0500 (CDT)
From:      Tony Shadwick <tshadwick@goinet.com>
To:        Joey Mingrone <joey@mingrone.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: installing / updating ports on an older (4.8 system)
Message-ID:  <20050524151044.L47072@mail.goinet.com>
In-Reply-To: <200505241426.44751.joey@mingrone.org>
References:  <200505241426.44751.joey@mingrone.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Odds are you're doing a make deinstall/reinstall in the wrong place.  You 
do that to the dependency that fails, not the port you're upgrading.

The best way to handle this is to make sure that your ports tree is 
current using cvsup, and if it's not already installed, install 
sysutils/port-maintenance-tools.

Then do:

portupgrade editors/vim

That will take care of issues like this for you.  To get a good picture of 
your scenario:

portmanager -s.

If you read back through the archives for this list, there are also sorts 
of good examples and practices for keep your ports and sources current and 
making upgrades relatively painless. :)

Tony

On Tue, 24 May 2005, Joey Mingrone wrote:

> Hi,
>
> I have a box running 4.8.  I only have ssh access so I can't update the OS
> at the moment, but I would like to update certain ports.  I'm running into
> a few problems.  The worst is when I update a port it tries to update /
> install dependencies that are already up to date.  For example, when I try
> to update vim, it tries to install gmake-3.80_2, which is already
> installed.  The build/install ends with the following error message:
>
> ===>  Installing for gmake-3.80_2
> ===>   Generating temporary packing list
> ===>  Checking if devel/gmake already installed
> ===>   gmake-3.80_2 is already installed
>      You may wish to ``make deinstall'' and install this port again
>      by ``make reinstall'' to upgrade it properly.
>      If you really wish to overwrite the old port of devel/gmake
>      without deleting it first, set the variable "FORCE_PKG_REGISTER"
>      in your environment or the "make install" command line.
> *** Error code 1
>
> Stop in /usr/ports/devel/gmake.
> *** Error code 1
>
> Stop in /usr/ports/devel/pkgconfig.
> *** Error code 1
>
> Stop in /usr/ports/editors/vim.
> ** Command failed [exit code 1]: /usr/bin/script
> -qa /tmp/portupgrade34605.0 make
> ** Fix the problem and try again.
> ** Listing the failed packages (*:skipped / !:failed)
>        ! editors/vim (vim-6.3.16)      (unknown build error)
> --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
>
> I did try the make deinstall / reinstall but with the same results.  If I
> unistall gmake (and other dependencies) then just build vim, it will work,
> but deinstalling dependencies before every update is a little cumbersome.
>
> A second and possibly related problem is that building an index fails.  I
> read the following on http://freebsd.org/ports
>
> The Ports Collection supports the latest release on the FreeBSD-CURRENT and
> FreeBSD-STABLE branches. Older releases are not supported and may or may
> not work correctly with an up-to-date ports collection.
>
> So am I out of luck or is there any help out there?
>
> Thanks,
>
> Joey
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



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