On 2012/01/19 10:09, lbvvbooo lbvvbooo wrote:
> Thanks, problem resolved, use s...@spacehopper.org's method.
> 
> It seems really tricky for me. why? Is it because the package is
> looking for it's dependence firstly in the pkg_path folder? Great
> appreciation if provide a short explaination.

The packages for different releases are not the same

$ curl -s 
http://ftp.eu.openbsd.org/pub/OpenBSD/4.6/packages/i386/gnugetopt-1.1.4p2.tgz | 
md5 -
b2c225c1fb02e434515bf66fc5221115

$ pkg_info -q -S 
http://ftp.eu.openbsd.org/pub/OpenBSD/4.6/packages/i386/gnugetopt-1.1.4p2.tgz
gnugetopt-1.1.4p2,c.51.0,gettext-0.17p0,iconv.6.0,intl.4.0,libiconv-1.13

...and...

$ curl -s 
http://ftp.eu.openbsd.org/pub/OpenBSD/5.0/packages/i386/gnugetopt-1.1.4p2.tgz | 
md5 -
11c4c0dd6cfc523236174d93077942b0

$ pkg_info -q -S 
http://ftp.eu.openbsd.org/pub/OpenBSD/5.0/packages/i386/gnugetopt-1.1.4p2.tgz
gnugetopt-1.1.4p2,c.60.1,gettext-0.18.1p0,iconv.6.0,intl.5.0,libiconv-1.13p2


When you installed from the downloaded files, you only had the 4.6 version of
gnugetopt-1.1.4p2.tgz available

(BTW I miscalculated, your problem package is from 4.6 not 4.5)

Reply via email to