FreeBSD - Unable to install package manager
i just installed FreeBSD. I wanted to install Xfce so I needed to install the package manager. I typed "pkg" and was asked to install the package manager since I didn't have it. I typed "y" install it, I was instead presented with this error: https://www.dropbox.com/s/88l6en4dz2...G0152.jpg?dl=0
Update - Here's screenshot of the full screen: https://ibb.co/btB5ov |
Can't see your image, it may require javascript. Anyhow, package management is functionality provided by base system, I am wondering what package manager you are talking about. Or just dive into ports tree and do make install clean.
|
Quote:
I'm not sure how would I make a clean install. I did try some command that involves "make install clean", but I get the same error. |
Start here. Sorry, I'm not there watching over your shoulder.
|
Quote:
|
Why can't you use pkg? What happens when you try to use it?
It works fine for me, though there was a bit of a learning curve. |
Quote:
I've already tried to ping 8.8.8.8 and it seems to be connected to the internet... probably. |
You are getting fetching error. So did you make sure your networking is set up properly?
|
Quote:
|
Have you looked at the link Emerson provided? It gives instructions how to use pkg or ports to install packages (I prefer pkg).
I'm not sure that FreeBSD has a GUI package manager. I've experimented with FreeBSD quite a bit and not encountered such a thing. The closest thing I could find about such a thing in a websearch was this. |
Quote:
|
From your photo of the console output, it doesn't seem like pkg was run as root. If you're using the default Bourne shell and have not modified the prompt, then a $ denotes a normal user account.
Some of the output is off the screen, so hard to tell without seeing the whole error. But login as root, or su to root and try again. |
Quote:
I get an error however and I'm not sure what it means. Here's a full picture of the situation: https://ibb.co/mAAbva |
Quote:
|
All times are GMT -5. The time now is 11:03 PM. |