Post History
with pacman --debug We can display the mirrors that pacman uses with the --debug option. For example, when running pacman --debug -Sy, pacman will write lines like these to standard error: debug...
Answer
#4: Post edited
- # with `pacman --debug`
- We can display the mirrors that pacman uses with the `--debug` option.
- For example, when running `pacman --debug -Sy`, pacman will write lines like these to standard error:
- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- We can use grep to filter the lines containing URLs:
- pacman --debug -Sy |& grep "url is"
Which will print this, in my case:- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- debug: core.db.sig: url is http://mirrors.edge.kernel.org/archlinux/core/os/x86_64/core.db.sig
- debug: extra.db: url is http://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db
- debug: extra.db.sig: url is http://mirrors.edge.kernel.org/archlinux/extra/os/x86_64/extra.db.sig
- debug: community.db: url is http://mirrors.kernel.org/archlinux/community/os/x86_64/community.db
- debug: community.db.sig: url is http://mirrors.edge.kernel.org/archlinux/community/os/x86_64/community.db.sig
- The [ampersand after the pipe](https://www.gnu.org/software/bash/manual/html_node/Pipelines.html) in the command above will also redirect the standard error stream to grep, not only standard out.
[]()
- # with `pacman --debug`
- We can display the mirrors that pacman uses with the `--debug` option.
- For example, when running `pacman --debug -Sy`, pacman will write lines like these to standard error:
- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- We can use grep to filter the lines containing URLs:
- pacman --debug -Sy |& grep "url is"
- Which prints this, in my case:
- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- debug: core.db.sig: url is http://mirrors.edge.kernel.org/archlinux/core/os/x86_64/core.db.sig
- debug: extra.db: url is http://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db
- debug: extra.db.sig: url is http://mirrors.edge.kernel.org/archlinux/extra/os/x86_64/extra.db.sig
- debug: community.db: url is http://mirrors.kernel.org/archlinux/community/os/x86_64/community.db
- debug: community.db.sig: url is http://mirrors.edge.kernel.org/archlinux/community/os/x86_64/community.db.sig
- The [ampersand after the pipe](https://www.gnu.org/software/bash/manual/html_node/Pipelines.html) in the command above will also redirect the standard error stream to grep, not only standard out.
#3: Post edited
- # with `pacman --debug`
- We can display the mirrors that pacman uses with the `--debug` option.
For example, when running `pacman --debug -Syu`, pacman will write lines like these to standard error:- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- We can use grep to filter the lines containing URLs:
- pacman --debug -Sy |& grep "url is"
- Which will print this, in my case:
- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- debug: core.db.sig: url is http://mirrors.edge.kernel.org/archlinux/core/os/x86_64/core.db.sig
- debug: extra.db: url is http://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db
- debug: extra.db.sig: url is http://mirrors.edge.kernel.org/archlinux/extra/os/x86_64/extra.db.sig
- debug: community.db: url is http://mirrors.kernel.org/archlinux/community/os/x86_64/community.db
- debug: community.db.sig: url is http://mirrors.edge.kernel.org/archlinux/community/os/x86_64/community.db.sig
- The [ampersand after the pipe](https://www.gnu.org/software/bash/manual/html_node/Pipelines.html) in the command above will also redirect the standard error stream to grep, not only standard out.
- []()
- # with `pacman --debug`
- We can display the mirrors that pacman uses with the `--debug` option.
- For example, when running `pacman --debug -Sy`, pacman will write lines like these to standard error:
- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- We can use grep to filter the lines containing URLs:
- pacman --debug -Sy |& grep "url is"
- Which will print this, in my case:
- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- debug: core.db.sig: url is http://mirrors.edge.kernel.org/archlinux/core/os/x86_64/core.db.sig
- debug: extra.db: url is http://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db
- debug: extra.db.sig: url is http://mirrors.edge.kernel.org/archlinux/extra/os/x86_64/extra.db.sig
- debug: community.db: url is http://mirrors.kernel.org/archlinux/community/os/x86_64/community.db
- debug: community.db.sig: url is http://mirrors.edge.kernel.org/archlinux/community/os/x86_64/community.db.sig
- The [ampersand after the pipe](https://www.gnu.org/software/bash/manual/html_node/Pipelines.html) in the command above will also redirect the standard error stream to grep, not only standard out.
- []()
#2: Post edited
- # with `pacman --debug`
- We can display the mirrors that pacman uses with the `--debug` option.
- For example, when running `pacman --debug -Syu`, pacman will write lines like these to standard error:
- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- We can use grep to filter the lines containing URLs:
pacman --debug -Syu |& grep "url is"- Which will print this, in my case:
- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- debug: core.db.sig: url is http://mirrors.edge.kernel.org/archlinux/core/os/x86_64/core.db.sig
- debug: extra.db: url is http://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db
- debug: extra.db.sig: url is http://mirrors.edge.kernel.org/archlinux/extra/os/x86_64/extra.db.sig
- debug: community.db: url is http://mirrors.kernel.org/archlinux/community/os/x86_64/community.db
- debug: community.db.sig: url is http://mirrors.edge.kernel.org/archlinux/community/os/x86_64/community.db.sig
- # with `pacman --debug`
- We can display the mirrors that pacman uses with the `--debug` option.
- For example, when running `pacman --debug -Syu`, pacman will write lines like these to standard error:
- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- We can use grep to filter the lines containing URLs:
- pacman --debug -Sy |& grep "url is"
- Which will print this, in my case:
- debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
- debug: core.db.sig: url is http://mirrors.edge.kernel.org/archlinux/core/os/x86_64/core.db.sig
- debug: extra.db: url is http://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db
- debug: extra.db.sig: url is http://mirrors.edge.kernel.org/archlinux/extra/os/x86_64/extra.db.sig
- debug: community.db: url is http://mirrors.kernel.org/archlinux/community/os/x86_64/community.db
- debug: community.db.sig: url is http://mirrors.edge.kernel.org/archlinux/community/os/x86_64/community.db.sig
- The [ampersand after the pipe](https://www.gnu.org/software/bash/manual/html_node/Pipelines.html) in the command above will also redirect the standard error stream to grep, not only standard out.
- []()
#1: Initial revision
# with `pacman --debug` We can display the mirrors that pacman uses with the `--debug` option. For example, when running `pacman --debug -Syu`, pacman will write lines like these to standard error: debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db We can use grep to filter the lines containing URLs: pacman --debug -Syu |& grep "url is" Which will print this, in my case: debug: core.db: url is http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db debug: core.db.sig: url is http://mirrors.edge.kernel.org/archlinux/core/os/x86_64/core.db.sig debug: extra.db: url is http://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db debug: extra.db.sig: url is http://mirrors.edge.kernel.org/archlinux/extra/os/x86_64/extra.db.sig debug: community.db: url is http://mirrors.kernel.org/archlinux/community/os/x86_64/community.db debug: community.db.sig: url is http://mirrors.edge.kernel.org/archlinux/community/os/x86_64/community.db.sig