Date: Fri, 31 Mar 2017 15:07:09 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 218257] pkg.conf and pkg.conf.sample - too many old syntax styles (for BSD newbies) Message-ID: <bug-218257-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218257 Bug ID: 218257 Summary: pkg.conf and pkg.conf.sample - too many old syntax styles (for BSD newbies) Product: Base System Version: 11.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: conf Assignee: freebsd-bugs@FreeBSD.org Reporter: gwbr0601@yahoo.de Hello, persuaded to try FreeBSD i'd like to use my existing proxy for repea= tiv VM installations. I found configuration examples but proxing the repo didn't work. I had troubles with both sides, my proxy system and the pkg configs. In man pkg i learned that there is a man pkg.conf. In man pkg.conf i learned that there is a /usr/local/etc/pkg.conf file, and that all keywords are followed with a colon (:). But nearly the complete pkg.conf and pkg.conf.sample do not follow the manp= age. paste from pkg.conf.sample: #ALIAS { #} #CUDF_SOLVER =3D ""; # Sample alias settings <- and only occurrence of keyword colon usage ALIAS : { all-depends: query %dn-%dv, annotations: info -A, [...] } end paste I found in the FreeBSD handbook that there was a change in the pkg system to pkgng. Maybe there was a change of the config syntax too? I was completely confused what is correct. It took me days and the help of a more experienced FreeBSD user to find out that the relevant information was hidden in man pkg.conf: "The file is in U= CL format. For more information on the syntax of UCL, please visit the official UCL website" In the end i had to run around 4 corners just to find out that i was in fro= nt off the correct door already. So i would like to kindly ask you to make life for newbies a little bit eas= ier by adjusting the config and sample to one syntax style. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218257-8>