Hi @grahamperrin
Try this:
create file /usr/local/etc/pkg/repos/GhostBSD.conf
inside the file:
GhostBSD: { enabled: no }
GhostBSD_FR: {
url: "http://pkg.fr.ghostbsd.org/stable/${ABI}/latest",
enabled: yes
}
then run command:
# pkg update -f
result should be like this:
Updating GhostBSD_FR repository catalogue...
Fetching meta.conf: 100% 163 B 0.2kB/s 00:01
Fetching packagesite.pkg: 100% 6 MiB 3.3MB/s 00:02
Processing entries: 100%
GhostBSD_FR repository update completed. 31401 packages processed.
All repositories are up to date.
Have a nice day
PKG Mirror Locations
-
- Posts: 105
- Joined: Sun Sep 04, 2016 6:06 am
Preferring the GhostBSD_FR repository
That seems to enable the fr repository without disabling the default repository.
Instead:
Code: Select all
pkg -vv | grep -e url -e enabled -e priority
Code: Select all
echo "GhostBSD: { enabled: no }" > /usr/local/etc/pkg/repos/GhostBSD.conf
cd /usr/local/etc/pkg/repos
mv GhostBSD.conf.fr GhostBSD_FR.conf