Linux

Cheatsheete for linux commands

Posted April 20, 2021 by Adrian Wyssmann

General

Set proxy

export http_proxy='http://:@webproxy.intra:8080'
export https_proxy='http://:@webproxy.intra:8080'
export no_proxy=".intra,localhost,.svc.intra"

Check Are HTTP_PROXY, HTTPS_PROXY and NO_PROXY environment variables standard?

Archlinux

Pacman

error: key “xxxxx” could not be looked up remotely

Problem

When upgrading with pacman the following error occurs

....
downloading required keys...
error: key "xxxxx" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

Solution

Upgrade archlinux-keyring before upgrading the system

sudo pacman -S archlinux-keyring

Reference: https://bbs.archlinux.org/viewtopic.php?id=193382

Edit this page