Or ...
1. Download packages.
2. pkg_add -v downloaded-package(s)
3. See what dependancies it fails on - note down the name(s) - GOTO
step 1
4. Repeat steps 1 - 3 until it works.
[It's slow and dumb but it does work. Option B - download all
packages - I've done that in the past - but rather a waste of
everyone's bandwidth.]
Speed up steps 1 - 3 by downloading the package for the main project
you want (e.g. GIMP), and then pkg_add -n.
As always with OpenBSD - read the documentation (man pkg_info and man
pkg_add in this case.)
Example from gimp package (4.0 box.) The not found X11.9.0 is
because the box does not have X installed.
# pkg_add -n gimp-2.2.12.tgz
Can't install aalib-1.2p0: lib not found X11.9.0 <--- so for
GIMP, you'll need this
Even by looking in the dependency tree:
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
Pretending to add gimp-2.2.12:libart-2.3.17
<--- and this
Pretending to add gimp-2.2.12:libexif-0.6.13p0
<--- and this
Pretending to add gimp-2.2.12:jpeg-6bp3
<--- etc, etc, etc.
Pretending to add gimp-2.2.12:tiff-3.8.2p0
Pretending to add gimp-2.2.12:lcms-1.15
Pretending to add gimp-2.2.12:libmng-1.0.9p1
Pretending to add gimp-2.2.12:png-1.2.12
Pretending to add gimp-2.2.12:libxml-2.6.26
exec /usr/local/share/libxml2/rebuild
Can't install libwmf-0.2.8.3p2: lib not found ICE.8.1
Even by looking in the dependency tree:
jpeg-6bp3, png-1.2.12, libiconv-1.9.2p3, libxml-2.6.26
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
Can't install libwmf-0.2.8.3p2: lib not found SM.8.0
Can't install libwmf-0.2.8.3p2: lib not found X11.9.0
Can't install libwmf-0.2.8.3p2: lib not found freetype.13.1
Pretending to add gimp-2.2.12:wget-1.10.2p0
The file /etc/wgetrc would be installed from /usr/local/share/
examples/wget/sample.wgetrc
Pretending to add gimp-2.2.12:glib2-2.10.3
Pretending to add gimp-2.2.12:atk-1.10.3p1
Can't install glitz-0.4.4: lib not found GL.4.0
Even by looking in the dependency tree:
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
Can't install glitz-0.4.4: lib not found X11.9.0
Can't install cairo-1.0.4p0: can't resolve glitz-0.4.4
Can't install pango-1.12.3: can't resolve cairo-1.0.4p0
Pretending to add gimp-2.2.12:hicolor-icon-theme-0.5p0
Can't install gtk+2-2.8.20: can't resolve pango-1.12.3
Can't install gimp-2.2.12.tgz: can't resolve libwmf-0.2.8.3p2
/dev/wd0a: 4204 bytes
/dev/wd0e: 5371 bytes
/dev/wd0g: 19047686 bytes
On 31/08/2007, at 8:59 AM, Osmany wrote:
I was thinking if there is a way that I can download all the
packages at
once from just one link so that I can have them in my server? Kind
of like a
local repository. I bet the pkg_add will work just fine with it.
Administrador del Nodo C.Habana
telefono: 863-1648
web: www.ciudad.jovenclub.cu
e-mail: [EMAIL PROTECTED]
-----Mensaje original-----
De: Maxim Belooussov [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 30 de agosto de 2007 16:42
Para: Osmany
Asunto: Re: pkg_add Problems
Osmany,
Now this is the error I get:
ftp: no address associated with name: user:[EMAIL PROTECTED]
This is driving me crazy. What's going on?!?!?!?!?!?
Could it be you have a Windows box doing your proxy service? In this
case you'd have to give your workgroup, too:
export http_proxy=http://WORKGROUP\user:[EMAIL PROTECTED]:3128
In case even this doesn't work for pkg_add, try to download packages
manually with lynx.
Max
__________ NOD32 2492 (20070830) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com