Re: pkg_add -u

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: fulvio ciriaco <oivulf@...>
Cc: <misc@...>
Date: Saturday, March 1, 2008 - 2:36 pm

Hi Fulvio,

fulvio ciriaco wrote on Fri, Feb 29, 2008 at 10:59:29PM +0100:

> I have some ports updated by me,

No, currently, it only compares patch level numbers (not version
numbers) and even that only within the same package repository.

Perhaps setting your PKG_PATH might get part of your job done.
The program pkg_add only considers the packages form the first
repository in the PKG_PATH where it finds at least one matching one.
With the current scheme, considering installed packages as an
additional pseudo-repository is not possible and would not make
any sense: If that pseudo-repository were put at the beginning,
no package would ever get updated, were it put at the end,
it would have no effect whatsoever.

Consider

export PKG_PATH=/usr/ports/packages/386/all/:ftp://openbsd.ftp.fu-berlin.de/snapshots/packages/i386/

or whatever architecture, flavor and mirror you are using.

But if use such settings, do not forget regularly cleaning obsolete
packages out of the directory /usr/ports/packages/386/all/.
With the PKG_PATH shown above, they will always override the public
mirror, even when they become outdated and the mirror has newer ones.

Hope that helps,
Ingo

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pkg_add -u, fulvio ciriaco, (Fri Feb 29, 5:59 pm)
Re: pkg_add -u, Ingo Schwarze, (Sat Mar 1, 2:36 pm)
Re: pkg_add -u, Marc Espie, (Sat Mar 1, 5:55 am)