Bug 293499 - https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_0/ error: "AccessDenied"
Summary: https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_0/ error: "AccessDenied"
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 15.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-28 11:15 UTC by Macho Tomáš
Modified: 2026-03-04 22:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Macho Tomáš 2026-02-28 11:15:58 UTC
I have problem with updating FreeBSD with packages. I am using FreeBSD 15.0-STABLE. Therefore I tested the url https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_0/ by web browser. I was redirected to the url https://cloudfront.aws.pkgbase.freebsd.org/FreeBSD:15:amd64/base_release_0/ and I got XML file with error report:
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
</Error>

The page https://pkg.freebsd.org/FreeBSD:15:amd64 and the page for updating stable/15 https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/ send correct contents.
Comment 1 Graham Perrin 2026-03-04 22:13:21 UTC
Short answer: denial is expected, in the context above, and does not prevent fetch of packages. You may test this with a --fetch-only command such as the one below. 


A slightly longer answer, from <https://www.reddit.com/r/freebsd/comments/1p92fjf/comment/nrcdskr/?context=1>: 

> The base_release_0 repositories on pkg.freebsd.org now issue 302 
> redirects to the repositories on pkgbase.freebsd.org. So URLs which 
> used to give you repositories signed with the pkg keys are 
> now redirecting you towards repositories signed with the pkgbase keys.


----

root@clean:~ # pkg upgrade -fFy -r FreeBSD-base FreeBSD-utilities 
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
FreeBSD-base is up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
        FreeBSD-utilities-15.0p1 [FreeBSD-base]

Number of packages to be reinstalled: 1

8 MiB to be downloaded.
[1/1] Fetching FreeBSD-utilities-15.0p1: 100%    8 MiB   8.2 M/s    00:01    
Checking integrity... done (0 conflicting)
root@clean:~ # pkg repos -el | sort -f ; sleep 5 ; pkg repos -e | grep -B 1 url
FreeBSD-base
FreeBSD-ports
FreeBSD-ports-kmods
FreeBSD-ports: { 
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/latest",
--
FreeBSD-ports-kmods: { 
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_latest",
--
FreeBSD-base: { 
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_release_0",
root@clean:~ #