pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: repositories.conf (and64 and x86_64)



* On 2023-06-14 at 06:09 BST, Josh Moyer wrote:

Very confused about which entries to include in my repositories.conf file
and also about what order they should be in.  Am seeing "strange" results
(pkgin upgrade suggests many new packages to install that don't seem like
new dependencies), depending on the exact configuration of the
repositories.conf below.  Looked in the mailing lists, man pages and Google,
but couldn't find anything...  Are there docs that cover:

a) The directory structure and order of precedence of
/pub/pkgsrc/packages/NetBSD/$arch/

You should only ever have one repository configured. While pkgin does support multiple repositories, the use-case is for when users provide their own additional packages built against the main repository.

Mixing and matching packages from different branches will always cause problems. Just use the target branch you want, usually the latest.

b) x86_64 vs amd64

I think one is a symlink to the other. pkgin will expand $arch in repositories.conf so in theory the x86_64 is more correct as it is MACHINE_ARCH, but it really doesn't matter.

http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/9.3/All
http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/9.2/All
http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/9.1/All
http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_2023Q1/All

Unfortunately the NetBSD project does not expose the branch in all cases, which may be contributing to this confusion, as it's not clear to the user what branch e.g. the top 3 URLs here are using, and whether the 9.0_2023Q1 repository is actually newer.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index