myrepo.conf && url: file:....

Matthias Apitz guru at unixarea.de
Sun May 22 17:15:26 UTC 2016


El día Sunday, May 22, 2016 a las 06:59:43PM +0200, Baptiste Daroussin escribió:

> > Yes, installing the (first) pkg gave an error after hitting y (install).
> > Something like
> > 
> >    usr/PKGDIR.20150726/xproto-7.0.28.txz file not found
> > 
> > i.e. the first / was missing, which let me put in one slash more, which
> > did not worked either, and than file:///usr/PKGDIR.20150726 which worked fine.
> > 
> > 	matthias
> 
> What version of pkg are you using? the strict version has been added in 1.6.3
> and relaxed in 1.6.4 so in 1.6.4+ file:/ should work again (beside the fact it
> is not a standard scheme)

I run:

# /usr/local/sbin/pkg-static -v
1.6.2
# /usr/local/sbin/pkg-static repo /usr/PKGDIR.20150726
# /usr/local/sbin/pkg-static -R /usr/local/etc/pkg/repos/  install pkg
# pkg -v
1.7.2
# pkg -R /usr/local/etc/pkg/repos/ install xorg

which gave the mentioned error.

	matthias


-- 
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
"Die Verkaufsschlager des Buchmarkts geben Auskunft über den Zustand einer Gesellschaft bzw.
sind, was diese Zeiten angeht, Gradmesser fortschreitenden Schwachsinns. ..." (jW 19.05.2016)


More information about the freebsd-ports mailing list