Solved [Solved] pkg_fetch tries to fetch from a nonexistent url

As you can see...:
pkgfetch.png

I guess editing pkgtools.conf would solve the problem, but I don't know how should I exactly edit it...
 
Re: pkg_fetch tries to fetch from a nonexistent url

Starting with FreeBSD 10.0, packages are built for the pkgng system, which requires the use of the pkg(8) commands; the old pkg_xxx commands are not able to fetch/install things because the packages that those commands work with are not being built.
 
Re: pkg_fetch tries to fetch from a nonexistent url

Oh, okay. I know that, but thought pkg_fetch was now working with pkgng... If not, why is it still included in portupgrade?
 
Re: pkg_fetch tries to fetch from a nonexistent url

With pkgng, it's pkg fetch rather than pkg_fetch. As far as portupgrade is concerned, I get a nice little message when I try to use it to pull down packages rather than build a port:
Code:
jimmy@jmobile:/usr/ports % sudo portupgrade -F -PP benchmarks/iperf
Packages are not yet suported. Use pkg(8) directly.
Perhaps you haven't upgraded portupgrade yet?
 
Re: pkg_fetch tries to fetch from a nonexistent url

I've just installed it a few hours ago with pkg install, shouldn't it be updated? :/
And I'm having problems with pkg fetch:
pkgfetch.png

This is my repo config file:
pkgfetch2.png

What should I do to fix it?
 
Re: pkg_fetch tries to fetch from a nonexistent url

There are examples of what a repo file should look like in the EXAMPLES section of the pkg.conf(5) man page. There should already be a default repo file for the FreeBSD repos: /etc/pkg/FreeBSD.conf
 
Back
Top