Solved New emacs release

Just noticed a new release of editors/emacs, but when I run pkg install -y emacs

I get

Code:
Installed packages to be UPGRADED:
    emacs: 28.2_4,3 -> 28.2_6,3
    lcms2: 2.13.1 -> 2.15_1


What to do?
 
freshports looks to be showing what is on "latest" package repos, 28.2_6,3 is the "latest" version on the quarterly repos.
So I'm guessing you are pointing at the quarterly repos, which is the default after doing an install of a "release".

As for the "what to do?" it all depends on what you want. If you want to point at the latest package repos, you can, just make sure to update ALL the installed packages, but you will likely have more churn than on quarterly.

I would also ask myself "does emacs 29.x give me any benefit over emacs 28.x?"
 
Freshports has a list of versions that are available in the package repositories.

Code:
FreeBSD:13:amd64	29.1,3	28.2_6,3
Latest has 29.1,3 and quarterly has 28.2_6,3.
 
  • Like
Reactions: mer
For anyone who wants the latest you need this:-

/etc/pkg/FreeBSD.conf:-


Code:
# $FreeBSD$
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
 
Don't edit /etc/pkg/FreeBSD.conf. Put your changes in /usr/local/etc/pkg/repos/FreeBSD.conf:
Code:
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}

The /etc/pkg/FreeBSD.conf might be modified with an update and could remove your changes.
 
Back
Top