본문 바로가기

일상/LINUX

[LINUX] apt update 오류 [GPG Error + realsense 403 Forbidden 다음 서명이 올바르지 않습니다.]

반응형

어느날 업데이트를 했더니 이러한 에러가 등장했다.

 

 

※ GPG Error

 

 

 

숫자와 알파벳이 포함된 어지러운 글자는 인증키 같아서 예전에 gpg 인증키를 다운받아서 ROS를 설치했던게 기억이 났다. 아니다 다를까 최근에 package.ros.org 오픈소스 랩에 새로운 인증키 파일이 업로드 되어 있었다.

 

 

 

ROS GPG Key Expiration Incident

ROS GPG Key Expiration Incident This evening the ROS GPG keys inadvertently expired and caused apt failures for a number of users. In our response to a security incident two years ago we deployed a new GPG key with a 2 year expiration however; we neglected

discourse.ros.org

 

위 사이트에 다양한 의견들이 있었고 처음 올리신 분이 최근 GPG 인증키를 새로 배포했다고 알리고 있다. 글쓴이가 시키는 대로 터미널에 입력하면 GPG 오류는 해결된다.

 

curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -

 

 

 

 

※ realsense 403 Forbidden

 

 

위 문구를 입력하고 sudo apt update 해도 여전히 처리되지 않는 에러들이 있었다. realsense에 관한 문제이다. 아마존 서버에 문제가 있는 것 같다는 추측을 하고 해당 에러 메시지와 새 서버를 검색하다가 인텔 서버를 발견했다.

 

 

 

(Resolved) Apt server is broken/down, gives 403 Forbidden (May 2021) · Issue #9105 · IntelRealSense/librealsense

Required Info Camera Model N/A Firmware Version N/A Operating System & Version Ubuntu 20.04/20.04docker Kernel Version (Linux Only) various Platform N/A SDK Version N/A Language N/A Segment N/A...

github.com

 

 

sudo sed -i 's/http:\/\/realsense-hw-public.s3.amazonaws.com/https:\/\/librealsense.intel.com/' /etc/apt/sources.list

 

스트림 편집기를 이용하여 주소를 바꿔주는 작업이다. [http://realsense-hw-public.s3.amazonaws.com ☞ https://librealsense.intel.com/]

 

위 작업을 완료하고 나면 문제없이 sudo apt update가 작동한다.

 

 

 

 

 

 

 

반응형