Instructions for using the new repository are as follows:> mkdir -p /usr/local/etc/pkg/repos > cat > /usr/local/etc/pkg/repos/FreeBSD_new_xorg.conf <<EOF > # /usr/local/etc/pkg/repos/FreeBSD_new_xorg.conf > # It is still required to have /etc/pkg/FreeBSD.conf installed and enabled. > # If that file is missing or if /usr/share/keys/pkg is missing see: > # http://www.freebsd.org/security/advisories/FreeBSD-EN-14:03.pkg.asc > > FreeBSD_new_xorg: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/new_xorg", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } > EOFHaving dne that, however, if I do 'pkg update' what I get is this: Updating repository catalogue pkg: http://pkg.FreeBSD.org//new_xorg/digests.txz: Not Found pkg: Unable to find catalogs I am running 9.3-PRERELEASE (amd64) - this should work simply by following the instuctions should it not ? From looking at the error it would appear that ABI is not being set - yet the same syntax is being used in /etc/pkg/FreeBSD.conf and it appears to work there. Any suggestions ? I suspect I have missed something obvious, but what ? cheers, -pete.
Am 2014-07-09 14:19, schrieb Pete French:> Instructions for using the new repository are as follows: > >> mkdir -p /usr/local/etc/pkg/repos >> cat > /usr/local/etc/pkg/repos/FreeBSD_new_xorg.conf <<EOF >> # /usr/local/etc/pkg/repos/FreeBSD_new_xorg.conf >> # It is still required to have /etc/pkg/FreeBSD.conf installed and >> enabled. >> # If that file is missing or if /usr/share/keys/pkg is missing see: >> # http://www.freebsd.org/security/advisories/FreeBSD-EN-14:03.pkg.asc >> >> FreeBSD_new_xorg: { >> url: "pkg+http://pkg.FreeBSD.org/${ABI}/new_xorg", >> mirror_type: "srv", >> signature_type: "fingerprints", >> fingerprints: "/usr/share/keys/pkg", >> enabled: yes >> } >> EOF > > Having dne that, however, if I do 'pkg update' what I > get is this: > > Updating repository catalogue > pkg: http://pkg.FreeBSD.org//new_xorg/digests.txz: Not Found > pkg: Unable to find catalogs > > I am running 9.3-PRERELEASE (amd64) - this should work simply by > following the instuctions should it not ? From looking at > the error it would appear that ABI is not being set - yet > the same syntax is being used in /etc/pkg/FreeBSD.conf and > it appears to work there. > > Any suggestions ? I suspect I have missed something obvious, but what ? >Whad does this show: pkg -vvv | grep -e ABI -e url
El Mi?rcoles, 9 de julio de 2014 13:19:00 Pete French escribi?:> Updating repository catalogue > pkg: http://pkg.FreeBSD.org//new_xorg/digests.txz: Not Found > pkg: Unable to find catalogsHi, As you can see, the macro ${ABI} has been deleted from the config file. This is because if you follow the instructions and create the file using cat > ...... << EOF, this macro is deleted (I don't know why, maybe it depends on shell you are using). Edit the file and correct that line to: url: "pkg+http://pkg.FreeBSD.org/${ABI}/new_xorg", Best regards -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: This is a digitally signed message part. URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140709/2af7b7bc/attachment.sig>