I'm newbie to here and FreeBSD 10.0-RELEASE(amd64).
Since last night, I tried to setting configuration and searching binary package, but it has always no results.
In the end, I could install the binary package but i found a strange something.
There is a repository on /etc/pkg/FreeBSD.conf.
But no results.
After add new and rename repository like below,
then
search results are exists!
Why search results are different on same repository url? Am I missing something? Is it some configuration manual or any further information about pkg repositories?
Please let me know. Thanks.
Since last night, I tried to setting configuration and searching binary package, but it has always no results.
In the end, I could install the binary package but i found a strange something.
There is a repository on /etc/pkg/FreeBSD.conf.
Code:
root@NEXT:~ # pkg -vv
.......
Repositories:
FreeBSD: {
url :"pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest"
....... .......
}
root@NEXT:~ #
But no results.
Code:
root@NEXT:~ # pkg search vim
root@NEXT:~ #
After add new and rename repository like below,
Code:
root@NEXT:~ # mkdir -p /usr/local/etc/pkg/repos/
root@NEXT:~ # cp /etc/pkg/FreeBSD.conf /usr/local/etc/pkg/repos/
root@NEXT:~ # sed -i.bak "/FreeBSD:/xFreeBSD:/" /usr/local/etc/pkg/repos/FreeBSD.conf
root@NEXT:~ # pkg -vv
.......
Repositories:
FreeBSD: {
url :"pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest"
....... .......
}
xFreeBSD: {
url :"pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest"
....... .......
}
root@NEXT:~ #
then
pkg search again.
Code:
root@NEXT:~ # pkg search vim
.... ....
vim-7.4.389
vim-lite-7.4.389
vimpager-1.8.9
.... ....
root@NEXT:~ #
Why search results are different on same repository url? Am I missing something? Is it some configuration manual or any further information about pkg repositories?
Please let me know. Thanks.