PKG Repository Changed to Quarterly in 10.2?

4S4K4N

New Member


Messages: 8

#1
In 10.1 the default pkg repository was "latest", but after running mergemaster it was changed to "quarterly"

I normally do all of my package management from ports, so this doesn't really affect me. I was just wondering if the various ports teams are now recommending the use of the quarterly snapshots over the latest trees? Won't this cause some grief for users who are already running packages newer than what's available in the quarterly snapshots?
 
Last edited by a moderator:

kpa

Beastie's Twin

Thanks: 1,776
Messages: 6,286

#2
The change is to bring some stability to the packages. The ports/packages have been rolling release so far and that has resulted in many broken ports when a single change that hasn't been tested well enough has broken a large amount of other ports. As for the "grief", you can't have everything. Changing from the latest to the quarterly requires a full reinstall anyway with pkg upgrade -f. Same for the other direction.
 

obsigna

Aspiring Daemon

Thanks: 451
Messages: 796

#3
I just upgraded to 10.2-RELEASE and without any doubt, I would like to stay with the "latest" pkg repository.

FreeBSD 10.2-RELEASE Release Notes -- 12.1 Integration Changes said:
The default pkg(8) repository set in /etc/pkg/FreeBSD.conf now defaults to the quarterly package set. To use the latest branch (as was the previous default), the comment at the top of /etc/pkg/FreeBSD.conf explains how to disable the default repository and specify an alternative repository. [r285830].
Unfortunately, "the comment at the top of /etc/pkg/FreeBSD.conf explains how to disable the default repository" ONLY, but it does not explain how to specify the "latest" pkg repository as the alternative one. I know, I could simply edit /etc/pkg/FreeBSD.conf, however, I want to do it the canonical way. How?
 

kpa

Beastie's Twin

Thanks: 1,776
Messages: 6,286

#4
I just upgraded to 10.2-RELEASE and without any doubt, I would like to stay with the "latest" pkg repository.



Unfortunately, "the comment at the top of /etc/pkg/FreeBSD.conf explains how to disable the default repository" ONLY, but it does not explain how to specify the "latest" pkg repository as the alternative one. I know, I could simply edit /etc/pkg/FreeBSD.conf, however, I want to do it the canonical way. How?
Create the file /usr/local/etc/pkg/repos/FreeBSD.conf as noted but override the URL instead of disabling the repository:

Code:
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}
I don't think you want to use both the quarterly and the latest repositories at the same time, the multirepo support in pkg in still kind of sketchy.
 

obsigna

Aspiring Daemon

Thanks: 451
Messages: 796

#5
Create the file /usr/local/etc/pkg/repos/FreeBSD.conf as noted but override the URL instead of disabling the repository: ...
Thank you, that worked fine.

I don't think you want to use both the quarterly and the latest repositories at the same time, the multirepo support in pkg in still kind of sketchy.
No, I only want to stay with the latest pkg repository, since the "quarterly" (that means 3 months doesn't it?) may be a tad old for my purposes. I have some public services running on my machine, and I guess, I want security fixes immediately when they bubble up, and not 3 months later. In emergency cases, I am ready to use portmaster instead of pkg, however, "quarterly" turns the emergency situation to normal, and would render binary upgrades almost useless for me.
 

junovitch@

Daemon
Developer

Thanks: 613
Messages: 1,773

#6
...
No, I only want to stay with the latest pkg repository, since the "quarterly" (that means 3 months doesn't it?) may be a tad old for my purposes. I have some public services running on my machine, and I guess, I want security fixes immediately when they bubble up, and not 3 months later
...
The quarterly branch should get security fixes right after the head branch. That's part of the goal to get critical security fixes along with stability. If you ever see something fixed in the head branch but not the quarterly then please bring it up.
 

kpa

Beastie's Twin

Thanks: 1,776
Messages: 6,286

#7
Keep in mind that the support period of the quarterly branch is only three months at a time. After the period is over the quarterly SVN branch gets recreated from head and you'll notice a big jump ahead in its contents when the quarterly packages are rebuilt the first time from the recreated SVN branch.
 

key_112

New Member


Messages: 1

#8
I have a new install of FreeBSD 10-STABLE using the quarterly packages.
There are now, in multimedia/mplayer, multimedia/ffmepg, and www/firefox, multiple vulnerabilities. Switching to latest without reinstalling everything breaks things up, i.e. I get unresolvable resolver issues.

From above, I understood it is save to use the quarterly branches. However, it is not.
Any comments please ?
 

rliegh

Member

Thanks: 5
Messages: 53

#11
kpa -My VPS was installed with an empty pkg repository; making the change to /usr/local/etc/pkg/repos allowed me to repopulate it and configure what I needed to -- thank you very much!
 
Top