Subject: Re: recursively fetch binary packages
To: None <tech-pkg@netbsd.org>
From: Marton Fabo <morton@eik.bme.hu>
List: tech-pkg
Date: 06/19/2002 22:09:17
> > > make real-fetch ?
> >
>
> No, it doesn't do what you asked at all.
>
> There isn't currently any option to "pkg_add" to download only, though
> that would be nice.

Well, where can I learn the most possible standard actions and settable=20
parameters on the package system? I looked at the "Complete Documentation=
" of=20
the package system on the netbsd.org site, but it only briefly describes =
what=20
can be done or set. For example, make targets like reinstall, update and =
such=20
aren't mentioned at all.=20

It mentions a target of "package", which is supposed to build a binary pa=
ckage=20
tarball out of a (installed) package. Well, I tried this on x11/kde3 (whi=
ch=20
is already built and installed on my system), and I got this:

[root@baromfi:/usr/pkgsrc/x11/kde3 | 06/19 21:57:50]
$ make package
=3D=3D=3D> Extracting for kde-3.0.1
=3D=3D=3D> Required installed package kdeadmin-3.0.1: kdeadmin-3.0.1 foun=
d
=3D=3D=3D> Required installed package kdeedu-3.0.1: kdeedu-3.0.1 found
=3D=3D=3D> Required installed package kdegames-3.0.1: kdegames-3.0.1 foun=
d
=3D=3D=3D> Required installed package kdegraphics-3.0.1: kdegraphics-3.0.=
1 found
=3D=3D=3D> Required installed package kdemultimedia-3.0.1: kdemultimedia-=
3.0.1 found
=3D=3D=3D> Required installed package kdenetwork-3.0.1: kdenetwork-3.0.1 =
found
=3D=3D=3D> Required installed package kdepim-3.0.1: kdepim-3.0.1 found
=3D=3D=3D> Required installed package kdetoys-3.0.1: kdetoys-3.0.1 found
=3D=3D=3D> Required installed package kdeutils-3.0.1: kdeutils-3.0.1 foun=
d
=3D=3D=3D> Installing for kde-3.0.1
=3D=3D=3D>  kde-3.0.1 is already installed - perhaps an older version?
*** If so, you may wish to ``pkg_delete kde-3.0.1'' and install
*** this package again by ``make reinstall'' to upgrade it properly,
*** or use ``make update'' to upgrade it and all of its dependencies.
*** If you really wish to overwrite the old package of kde-3.0.1
*** without deleting it first, set the variable "FORCE_PKG_REGISTER"
*** in your environment or the "make install" command line.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
[root@baromfi:/usr/pkgsrc/x11/kde3 | 06/19 21:57:53]
$

Is "make package" supposed to work recursively on required packages at al=
l?=20
And if yes (or if no) what is it supposed to do on a meta-package like kd=
e3?

mortee