freebsd-update

Fórumok

9.2 -ről szerettem volna frissíteni 10.1-re

freebsd-update upgrade -r 10.1-RELEASE
freebsd-update fetch
freebsd-update install

szépen lement, de ha a pkg-t indítom, akkor még a 9.2-es repokat keresi és bevallom fogalmam sincs, hogyan és hol kell átírni ezt.

Hozzászólások

man pkg:

Repository configuration can be stored in /etc/pkg/FreeBSD.conf in the
following format:

FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
signature_type: "none",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
...
FILES
Configuration is read from the files in the listed order. This path can
be changed by setting REPOS_DIR. The last enabled repository is the one
used for bootstrapping pkg(8).

/usr/local/etc/pkg.conf
/etc/pkg/FreeBSD.conf
/usr/local/etc/pkg/repos/*.conf

Ott tartok, hogy a pkg már 10.1-es repot keres, de nem talál repo.txz-t.

===
kicsit később:

- frissítettem a ports fát
- ekkor ugye lenne friss pkg-m, de nem megy fel
- törölnöm kell a /usr/*/etc/pkg.conf -ot
- pkg felmegy
- pkg2ng lefuttat
- pkg install csomagneve működik :)