From Newsgroup: muc.lists.freebsd.stable
--00000000000003550b0645773574
Content-Type: text/plain; charset="UTF-8"
During the upgrade, I adjusted the FreeBSD.conf file to the recommended
setting put forward by the upgrade process.
Now when I trying to update pkg or to re-install apps, I get multiple error lines like this:
pkg: packagesite URL error for pkg+
http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.pkg -- pkg+:// implies
SRV mirror type
Unable to update repository FreeBSD-kmods
Error updating repositories!
Tried to find the updated .conf file in /usr/local/etc/pkg/repos, am told
that directory doesn't exist.
I put the following FreeBSD.conf file in the /usr/local/etc/ directory, but
to no avail. At a bit of a loss.
# To disable a repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
#
# mkdir -p /usr/local/etc/pkg/repos
# echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
# echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
#
# Note that the FreeBSD-base repository is disabled by default.
#
# url: "pkg+
http://pkg.FreeBSD.org/${ABI}/latest",
FreeBSD-ports: {
url: "pkg+
https://pkg.FreeBSD.org/${ABI}/quarterly",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
FreeBSD-ports-kmods: {
url: "pkg+
https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_${VERSION_MINOR}
",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
FreeBSD-base: {
url: "pkg+
https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
enabled: no
Grateful for anything I am missing here. Thank you all.
--00000000000003550b0645773574
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">During the upgrade, I adjusted the FreeBSD.conf file to th=
e recommended setting put forward by the upgrade process.<div><br></div><di= v>Now when I trying to update pkg or to re-install apps, I get multiple err=
or lines like this:</div><div>pkg: packagesite URL error for pkg+<a href=3D= "
http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.pkg">http://pkg.FreeBS= D.org/FreeBSD:14:amd64/latest/data.pkg</a> -- pkg+:// implies SRV mirror ty= pe<br></div><div>Unable to update repository FreeBSD-kmods<br>Error updatin=
g repositories!<br></div><div><br></div><div>Tried to find the updated .con=
f file in=C2=A0/usr/local/etc/pkg/repos, am told that directory doesn't=
exist.</div><div><br></div><div>I put the following=C2=A0FreeBSD.conf file=
in the=C2=A0/usr/local/etc/ directory, but to no avail.=C2=A0 At a bit of =
a loss.</div><div><br></div><div># To disable a repository, instead of modi= fying or removing this file,<br># create a /usr/local/etc/pkg/repos/FreeBSD= .conf file, e.g.:<br>#<br># =C2=A0 mkdir -p /usr/local/etc/pkg/repos<br># = =C2=A0 echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/= pkg/repos/FreeBSD.conf<br># =C2=A0 echo "FreeBSD-ports-kmods: { enable=
d: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf<br>#<br># Note=
that the FreeBSD-base repository is disabled by default.<br>#<br># =C2=A0u= rl: "pkg+<a href=3D"
http://pkg.FreeBSD.org/${ABI}/latest">http://pkg.F= reeBSD.org/${ABI}/latest</a>",<br>FreeBSD-ports: {<br>=C2=A0 url: &quo= t;pkg+<a href=3D"
https://pkg.FreeBSD.org/${ABI}/quarterly">https://pkg.Free= BSD.org/${ABI}/quarterly</a>",<br>=C2=A0 mirror_type: "srv",= <br>=C2=A0 signature_type: "fingerprints",<br>=C2=A0 fingerprints=
: "/usr/share/keys/pkg",<br>=C2=A0 enabled: yes<br>}<br>FreeBSD-p= orts-kmods: {<br>=C2=A0 url: "pkg+<a href=3D"
https://pkg.FreeBSD.org/$= {ABI}/kmods_quarterly_${VERSION_MINOR}">
https://pkg.FreeBSD.org/${ABI}/kmod= s_quarterly_${VERSION_MINOR}</a>",<br>=C2=A0 mirror_type: "srv&qu= ot;,<br>=C2=A0 signature_type: "fingerprints",<br>=C2=A0 fingerpr= ints: "/usr/share/keys/pkg",<br>=C2=A0 enabled: yes<br>}<br>FreeB= SD-base: {<br>=C2=A0 url: "pkg+<a href=3D"
https://pkg.FreeBSD.org/${AB= I}/base_release_${VERSION_MINOR}">
https://pkg.FreeBSD.org/${ABI}/base_relea= se_${VERSION_MINOR}</a>",<br>=C2=A0 mirror_type: "srv",<br>= =C2=A0 signature_type: "fingerprints",<br>=C2=A0 fingerprints: &q= uot;/usr/share/keys/pkgbase-${VERSION_MAJOR}",<br>=C2=A0 enabled: no</= div><div><br></div><div>Grateful for anything I am missing here.=C2=A0 Than=
k you all.</div><div><br></div></div>
--00000000000003550b0645773574--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to
news-admin@muc.de
--- Synchronet 3.21a-Linux NewsLink 1.2