Installation of GNOME fails

Hello,

Yesterday I installed a machine (AMD, 64bit) with FreeBSD 11 from scratch to play around with. I am pretty new to FreeBSD, so I do not have that much experience in that area.

So after installation I logged in as a root, and issued the following command:
pkg install gnome3

pkg tried to access http://pkg.freebsd.org/freebsd/FreeBSD:11:amd64/
but failed, because - as far as I understood - there is no amd64 directory.

So I searched on internet and found http://repo.saltstack.com/freebsd/ where such a directory exists.

So my questions are:
1) does it make sense to wait until the amd directory becomes available on pkg.freebsd.org ?
2) how can I change the source of the repository to the second server?
3) is there any other way to get gnome installed?

Thanks in advance for your help.
 
For example my /usr/local/etc/pkg/repos/FreeBSD.conf:
Code:
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  enabled: yes
  signature_type : "FINGERPRINTS",
  fingerprints : "/usr/share/keys/pkg"
}
 
It's a bad idea to just use some random repository you've found on the internet. It might be good, it might be completely backdoored. Use the official repositories.
I am more than willing to do that, but what can i do if this directory does not exist on that server ?
 
The issue is that you're using the wrong directory, lets focus on that. The official package repositories have proper packages for AMD64.
 
For example my /usr/local/etc/pkg/repos/FreeBSD.conf:
Code:
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  enabled: yes
  signature_type : "FINGERPRINTS",
  fingerprints : "/usr/share/keys/pkg"
}

In FreeBSD 11 there is no such directory "repos"
 
Before you change anything, please post the output of pkg -vv.
 
As you can see it has a something different configured:
Code:
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly",
Which doesn't correspond with the http://pkg.freebsd.org/freebsd/FreeBSD:11:amd64/ you're seeing.

But neither http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly
nor http://pkg.freebsd.org/freebsd/FreeBSD:11:amd64/
do exist on this server

Those are the directories on pkg.freebsd.org
So no directory for amd64 on that server.
 
Back
Top