> -----Ursprüngliche Nachricht-----
> Von: "Markus Lude" <markus.l...@gmx.de>
> Gesendet: 28.01.09 01:15:16
Hi Markus,

> An: "axel.keuchel" <axel.keuc...@web.de>
> Betreff: Re: pkg_add: can't resolve <packagename>


> On Tue, Jan 27, 2009 at 07:13:47PM +0100, axel.keuchel wrote:
> > Hi po...@!
> > 
> > I'm running OpenBSD 4.4 release and I think I have found a problem with 
> > pkg_add
> > (8) or with a local mirror here in Germany.
> > 
> > In my .profile I have set PKG_PATH to
> > 
> > ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/4.4/packages/i386/.
> 
> Is this the .profile of your non-privileged account or the one of root?
 

It's the profile of my user, not the root-account.

> > This is the next mirror to my hometown.
> > 
> > After that I have logged out and in again and I have set a .Xdefaults with
> > "XTerm*loginShell: true".
> > 
> > But when I try to add a package this happens:
> > 
> > # pkg_add -i fluxbox /{just an example!}/
>   ^
> > Can't resolve fluxbox
> 
> Did you really set PKG_PATH for root? What does these show:
> 
> # echo $PKG_PATH
> 
> or
> 
> $ sudo echo $PKG_PATH

No, I didn't set PKG_PATH for root. I set it in /home/<user>/.profile. I 
thought this is meant by FAQ 15.2.2 
(http://www.openbsd.org/faq/faq15.html#PkgMgmt).

In fact it is not my first time with OpenBSD. And up to now, it always worked 
for me this way. And with a different mirror it does work today.


> > Only when I add the full path to pkg_add it works:
> > # pkg_add -i ftp://ftp.freenet.de/pub/ftp.openbsd...0.9.15.1p1.tgz
> > bzip2-1.0.5: complete
> > libid3tag-0.15.1bp0: complete
> > libungif-4.1.4p1: complete
> > imlib2-1.4.0p0: complete
> > fluxbox-0.9.15.1p1: complete
> > 
> > The funny thing: When I try a different mirror, pkg_add works with the 
> > PKG_PATH in my .profile.
> > 
> > With:
> > 
> > export 
> > PKG_PATH=ftp://openbsd.ftp.fu-berlin.de/pub/OpenBSD/4.4/packages/i386/
> > 
> > in my .profile it works:
> > 
> > # pkg_add -i xpdf
> > t1lib-5.1.0p1: complete
> > ghostscript-fonts-8.11p0: complete
> > xpdf-utils-3.02pl2p1: complete
> > openmotif-2.3.0p0: complete
> > xpdf-3.02pl2p4: complete
> > 
> > So, is this a problem with the mirror or with pkg_add? Just ask if you need
> > further information.
> 
> You could also login per ftp on both mirrors and try to look if there
> are some of your wanted files missing.

Well, in fact the files were not missing. They were on the mirror, but pkg_add 
fetched them only if I specified the absolute location of the packages.

> Regards,
> Markus
> 
> 

Greetz, Axel;-)
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? 
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123

Reply via email to