apt 4

[ubuntu 20.04] apt update 실패 doesn't support architecture 'i386'

apt update 실행시 아래와 같은 오류가 발생했습니다. N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://packages.grafana.com/oss/deb stable InRelease' doesn't support architecture 'i386' 해당 패키지 목록 파일(/etc/apt/sources.list.d/grafana.list)을 살펴보니 아래와 같이 되어 있었습니다. deb [signed-by=/usr/share/keyrings/grafana.key] https://packages.grafana.com/oss/deb stable main 이 자체로는 문제가 없어 보이는데 무..

IT/System Digging 2023.11.09

[ubuntu 20.04] apt NO_PUBKEY grafana / scootersoftware

오랜만에 들어간 Ubuntu 20.04 서버에서 sudp apt update 명령을 내렸더니 패키지 172이(가) 업그레이드되었습니다. 'apt list --upgradable'를 실행하여 확인해 보십시오. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: 다음 서명들은 공개키가 없기 때문에 인증할 수 없습니다: NO_PUBKEY 9E439B102CF3C0C6 W: An error occurred during ..

IT/System Digging 2023.04.27

[ubuntu-20.04][apt] apt update 실패 해결

그동안 무시하고 있었는데 오늘 필(?) 받아서 찾아서 해결한 결과를 기록으로 남깁니다. 1번째 증상: NO_PUBKEY : Skipping acquire of configured file 'stable/source/Sources' as repository 'https://download.docker.com/linux/ubuntu focal InRelease' does not seem to provide it (sources.list entry misspelt?) W: GPG 오류: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease: 다음 서명들은 공개키가 없기 때문에 인증할 수 없습니다: NO_PUBKEY..

카테고리 없음 2022.11.09

[python][virtualenv] 이미 가상 환경이 구축된 이후 설치된 전역 패키지 가져오기..

기록용으로 남깁니다. virtualenv 를 사용하다 보니 왠만한 것은 source ~/wiznet/venvA/bin/activate 한 다음에 정상적으로 pip3 로 설치 가능하지만 apt 패키지로 제공되는 것들은 root 계정 권한으로 설치되기 때문에 이미 virtualenv 를 구성한 다음에는 이를 자동적으로 참조할 방법은 없습니다. 현재 확인한 방법으로는 이를 찾아서 수동으로 복사하는 것입니다. 일단 제가 설치한 apt 패키지는 rpi.gpio 패키지입니다. sudo apt install rpi.gpio 전역 저장소를 찾습니다. find /usr -name 'site-packages' /usr/lib/pypy/lib-python/2.7/site-packages /usr/local/lib/pytho..

IT/python 2021.09.13