pkgng repository

pkg.conf suggests that http://pkg.freebsd.org/ could be used. And it did work for a while. But not anymore, it doesn't even have an A record, is something wrong? And is there any place that still hosts packages or am I screwed now that I switched to pkgng?
 
It's easier to compile from the ports and create your own package using 'pkg create -a' to create all installed packages from ports.
 
I didn't read anything in the rules about posting to old threads, so I hope this is okay.

I followed the instructions to install the binary package of the pkgng tool and found that I wasn't able to install/search for/upgrade new software. Is the repository still offline? The handbook says that the change is irreversible. Does that mean I can no longer install remove binary packages and must use ports?
 
From what I understand, once you've converted to pkg you should avoid pkg_* like the plague. That includes scripts that may have pkg_* hidden in them.

You can install from a local package repository, as well as over FTP, HTTP, and HTTPS. You can populate your own local repository with make package in a ports tree, or with your favorite tool like portmaster. I've heard good things about poudriere, but haven't tried it. I never got tinderbox to work out for me

Unless your machine is dog slow, or you are building something that requires bloat, err, a large number of large libraries like GNU-ware, Java, or X, building from source is pretty fast.

Even when looking at what has been pre-built, I often find that ports that I need aren't there, or the default configuration options aren't what I need.
 
I tried adding PC-BSD's repository, but it broke my desktop. I don't think the problem is necessarily in using the repository but rather an incompatibility with my hardware. Because, before installing FreeBSD I tried PC-BSD. It froze up whenever trying to load the X windows system, much like what it did when I switched to the PC-BSD repository.

So I'm either going to reinstall the system or try to log in via console and change some settings. However, I don't see any options in the boot loader menu to suppress loading X.
 
AntumDeluge said:
However, I don't see any options in the boot loader menu to suppress loading X.
If X was starting with the system, such as with a display manager e.g. xdm, it's probably enabled in /etc/ttys and/or /etc/rc.conf
 
Not a repository. There is no repository. We used to just call them "packages" which is a fine name. Repository is another Linux-ism that seems to be creeping into this forum a lot over the past couple of years.

EDIT: Ignore this. Not what I meant to say. Had something else on my mind.
 
I don't see why anyone would have a problem calling a collection of packages a repository. That's what it is. The PKGNG documentation uses the term repository and so far I've seen no opposition from anyone else to using that term.
 
AntumDeluge said:
It's configured in /etc/rc.conf. But I don't know how to suppress "X" loading so that I can get in and edit it. I'm going to try accessing the filesystem through my Linux installations, but so far I haven't figured out how to mount UFS filesystems.

From the boot menu, choose single user mode (6). Mount all filesystems with mount -a, edit /etc/rc.conf or /etc/ttys. Exit the shell (ctrl-D) and the system will boot as normal.
 
@wblock@: thanks, that helped. At first I couldn't understand why the filesystem was "read only", then I went back and re-read your post and realized I need to run mount -a. That worked, but unfortunately I was still unable to rescue my desktop so I have re-installed from scratch.

This time I have tried to install using ports, but I messed up a few configurations :\.
 
Last edited by a moderator:
Back
Top