# apt install libigdgmm-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
libigdgmm-dev
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 108 kB of archives.
After this operation, 948 kB of additional disk space will be used.
Err:1 http://kr.archive.ubuntu.com/ubuntu hirsute/universe amd64 libigdgmm-dev amd64 20.4.1+ds1-1
404 Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://kr.archive.ubuntu.com/ubuntu/pool/universe/i/intel-gmmlib/libigdgmm-dev_20.4.1%2bds1-1_amd64.deb 404 Not Found [IP: 185.125.190.39 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
ubunt 에서 libigdgmm-dev 설치 하려 했는데 위와 같이 에러가 발생 한다.
위 경로를 가봤더니 파일이 없단다.. 어라.? 혹시나 해서
# apt-get update
Ign:1 http://kr.archive.ubuntu.com/ubuntu hirsute InRelease
Ign:2 http://kr.archive.ubuntu.com/ubuntu hirsute-updates InRelease
Ign:3 http://kr.archive.ubuntu.com/ubuntu hirsute-backports InRelease
Ign:4 http://security.ubuntu.com/ubuntu hirsute-security InRelease
Err:5 http://kr.archive.ubuntu.com/ubuntu hirsute Release
404 Not Found [IP: 185.125.190.39 80]
Err:6 http://security.ubuntu.com/ubuntu hirsute-security Release
404 Not Found [IP: 185.125.190.39 80]
Err:7 http://kr.archive.ubuntu.com/ubuntu hirsute-updates Release
404 Not Found [IP: 185.125.190.39 80]
Err:8 http://kr.archive.ubuntu.com/ubuntu hirsute-backports Release
404 Not Found [IP: 185.125.190.39 80]
Reading package lists... Done
E: The repository 'http://kr.archive.ubuntu.com/ubuntu hirsute Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://security.ubuntu.com/ubuntu hirsute-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://kr.archive.ubuntu.com/ubuntu hirsute-updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://kr.archive.ubuntu.com/ubuntu hirsute-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
역시나 서버 접속이 안된다. ubuntu 는 주기적으로 업데이트를 하기 때문에 낮은 버전 데이터를 다른 repo 를 가지고 있다.
그래서 예전 버전 업그레이드를 하려면 변경 해줘야 한다.
혹시 모르니 sources.list 파일을 백업
# cp /etc/apt/sources.list /etc/apt/sources.list.bak
repo 경로를 변경
sudo sed -i -re 's/([a-z]{2}.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
업데이트
# apt-get update
libigdgmm-dev 설치
# apt install libigdgmm-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
libigdgmm-dev
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 108 kB of archives.
After this operation, 948 kB of additional disk space will be used.
Get:1 http://old-releases.ubuntu.com/ubuntu hirsute/universe amd64 libigdgmm-dev amd64 20.4.1+ds1-1 [108 kB]
Fetched 108 kB in 2s (68.6 kB/s)
Selecting previously unselected package libigdgmm-dev:amd64.
(Reading database ... 218244 files and directories currently installed.)
Preparing to unpack .../libigdgmm-dev_20.4.1+ds1-1_amd64.deb ...
Unpacking libigdgmm-dev:amd64 (20.4.1+ds1-1) ...
Setting up libigdgmm-dev:amd64 (20.4.1+ds1-1) ...
정상적으로 잘 설치가 됐다.