Page 1 of 2

PKG Mirror Locations

Posted: Sun Oct 27, 2019 7:40 am
by thorjeus
Hi,

I'm trying to upgrade my ghostbsd, but the speed is quite slow. Does anyone can inform me the closest mirror location in Asia, my location is in Singapore.

Thanks & Regards.

Re: PKG Mirror Locations

Posted: Sun Oct 27, 2019 8:07 am
by ericbsd
There is une in France, one in Canada and one in US.

Re: PKG Mirror Locations

Posted: Sun Oct 27, 2019 9:55 am
by thorjeus
Thanks, will try which is the fastest one then.

Regards.

Re: PKG Mirror Locations

Posted: Sun Oct 27, 2019 9:08 pm
by ericbsd

Re: PKG Mirror Locations

Posted: Wed Nov 06, 2019 2:58 am
by hunghung

Re: PKG Mirror Locations

Posted: Tue Dec 31, 2019 4:58 am
by i18nde
I'm in Europe. So, how do I tell the system I want to use the server in France?
Which file I have to change?

Thanks and regards

Re: PKG Mirror Locations

Posted: Tue Dec 31, 2019 8:40 am
by ericbsd
i18nde wrote: Tue Dec 31, 2019 4:58 am I'm in Europe. So, how do I tell the system I want to use the server in France?
Which file I have to change?

Thanks and regards
Change the URL in /usr/local/etc/pkg/repos/GhostBSD.conf

Re: PKG Mirror Locations

Posted: Tue Dec 31, 2019 9:58 am
by i18nde
Thank you. I should put this into the wiki, so everyone can use it.

Re: PKG Mirror Locations

Posted: Wed Jan 01, 2020 3:55 pm
by slughorn
Have done it:

Code: Select all

https://wiki.ghostbsd.org/index.php/Pkg#Automatically_Removing_Unused_Packages

/usr/local/etc/pkg/repos

Posted: Tue Feb 01, 2022 1:46 pm
by grahamperrin
At /usr/local/etc/pkg/repos I see the three region-oriented .conf files.

Each one has yes in its enabled line, but I see none of the three URLs in response to this command:

pkg -vv | grep -e url -e enabled

How would a person make one of these effective?