/etc files
William A. Mahaffey III
wam at hiwaay.net
Sun Aug 30 21:21:53 UTC 2015
On 08/30/15 15:12, Matthew Seaman wrote:
> On 30/08/2015 17:42, William A. Mahaffey III wrote:
>> ll /home/rsync/Jaguar/etc/*:
>> -rw-r--r--. 1 wam users 143851520 Sep 3 2014
>> /home/rsync/Jaguar/etc/enabled:
>> -rw-r--r--. 1 wam users 0 Sep 3 2014
>> /home/rsync/Jaguar/etc/fingerprints:
>> -rw-r--r--. 1 wam users 0 Sep 3 2014
>> /home/rsync/Jaguar/etc/mirror_type:
>> -rw-r--r--. 1 wam users 0 Sep 3 2014
>> /home/rsync/Jaguar/etc/signature_type:
> Hmmm... this all looks somewhat familiar from pkg(8) configuration.
> Except what is used by pkg(8) is from inside the file
> /etc/pkg/FreeBSD.conf --
>
> lucid-nonsense:/home/matthew:# cat /etc/pkg/FreeBSD.conf
> # $FreeBSD: stable/10/etc/pkg/FreeBSD.conf 263938 2014-03-30 15:29:54Z
> bdrewery $
> #
> # 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
> }
>
> And, as it says, you shouldn't edit /etc/pkg/FreeBSD.conf, but instead
> create files in /usr/local/etc/pkg/repos if you want to override the
> defaults.
>
> Perhaps some shell script went a bit awry?
>
> Cheers,
>
> Matthew
>
>
I *think* that may be the case given the dates on those files, it was
either a then-new pkg burping or a still-way-too-noob root user
fat-fingering something. Thanks :-).
--
William A. Mahaffey III
----------------------------------------------------------------------
"The M1 Garand is without doubt the finest implement of war
ever devised by man."
-- Gen. George S. Patton Jr.
More information about the freebsd-questions
mailing list