Print the complete list of url that have failed
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.sbin/pkg/pkg.c | ||
---|---|---|
860 | Am I reading it wrong or j is not used anywhere inside the loop? |
usr.sbin/pkg/pkg.c | ||
---|---|---|
860 | Yes this is a bug. It's also possible that the two entries failed for different reasons, and fetchLastErrString does not apply to the first. |
Comment Actions
there are good chances they do apply ;)
usr.sbin/pkg/pkg.c | ||
---|---|---|
860 | yes the error might be different but the chances they are the same are imho good enough for now. |
usr.sbin/pkg/pkg.c | ||
---|---|---|
860 | Yes fair enough, they are probably the same. If we wanted to be precise we could emit: Attempted to fetch .... Attempted to fetch ... Error: ... |
Comment Actions
Sample output:
The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: yes Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest, please wait... pkg: Attempted to fetch http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/Latest/pkg.pkg pkg: Attempted to fetch http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/Latest/pkg.txz pkg: Error: Host does not resolve Address resolution failed for http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest. Consider changing PACKAGESITE.