Page MenuHomeFreeBSD

D46983.id144400.diff
No OneTemporary

D46983.id144400.diff

diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c
--- a/usr.sbin/pkg/pkg.c
+++ b/usr.sbin/pkg/pkg.c
@@ -855,7 +855,10 @@
goto cleanup;
fetchfail:
- warnx("Error fetching %s: %s", url, fetchLastErrString);
+ for (int j = 0; bootstrap_names[j] != NULL; j++) {
+ warnx("Error fetching %s/Latest/%s: %s", packagesite,
+ bootstrap_name, fetchLastErrString);
+ }
if (fetchLastErrCode == FETCH_RESOLV) {
fprintf(stderr, "Address resolution failed for %s.\n", packagesite);
fprintf(stderr, "Consider changing PACKAGESITE.\n");

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 16, 2:01 PM (17 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31608338
Default Alt Text
D46983.id144400.diff (542 B)

Event Timeline