Extra Form
PHP PHP 7.4
CMS GnuBoard

Memcached 설치전 sudo apt update를 하면 에러가 납니다.

검색을 해보니 저장소를 바꿔야한다고 해서

 

kr.archive.ubuntu.com/ubuntu를 us.archive.ubuntu.com/ubuntu로 변경해도 안되고

sudo sed -i 's/kr.archive.ubuntu.com/mirror.kakao.com/g' /etc/apt/sources.list

 

 

이렇게 카카오로 바꿔 줘도 계속 같은 에러가 나면 어떤 이유일지 문의 드립니다.ㅠㅠ

감사합니다.

 

Ign:1 http://kr.archive.ubuntu.com/ubuntu groovy InRelease
Ign:2 http://kr.archive.ubuntu.com/ubuntu groovy-updates InRelease
Ign:3 http://kr.archive.ubuntu.com/ubuntu groovy-backports InRelease
Ign:4 http://kr.archive.ubuntu.com/ubuntu groovy-security InRelease
Err:5 http://kr.archive.ubuntu.com/ubuntu groovy Release
  404  Not Found [IP: 91.189.91.38 80]
Err:6 http://kr.archive.ubuntu.com/ubuntu groovy-updates Release
  404  Not Found [IP: 91.189.91.38 80]
Err:7 http://kr.archive.ubuntu.com/ubuntu groovy-backports Release
  404  Not Found [IP: 91.189.91.38 80]
Err:8 http://kr.archive.ubuntu.com/ubuntu groovy-security Release
  404  Not Found [IP: 91.189.91.38 80]
Reading package lists... Done
E: The repository 'http://kr.archive.ubuntu.com/ubuntu groovy Release' does not have 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 groovy-updates Release' does not have 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 groovy-backports Release' does not have 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 groovy-security Release' does not have 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.
 

  • profile

    우분투 20.10 버전은 작년 7월에 지원 종료되었습니다. 지원이 중단된 버전은 업데이트를 위해 잠시 유지되다 미러서버에서 제거되므로 업데이트가 불가능한 것입니다.


    LTS 버전(짝수년도 04버전으로 18.04, 20.04, 22.04가 지원중인 LTS 버전입니다)을 제외하면 우분투 지원기간은 9개월로 짧으니 버전 업데이트를 바로바로 하실게 아닌이상 LTS 버전을 사용하시는게 좋습니다.

  • profile ?
    LTS버전으로 바로 업데이트하는 방법도 있나요? 한번 검색해보겠습니다. 감사합니다.
  • ? profile

    https://help.ubuntu.com/community/EOLUpgrades/

    문서에 따르면 "An upgrade from 'eoan' to 'focal' is not supported with this tool." 와 같은 오류 발생시 해당 버전에 맞는 업그레이드 툴을 사용해야 한다고 합니다.

    아래 댓글에서 impish 버전으로 업그레이드가 시도되고 있었으니, 다음 명령들로 21.04버전까지 업그레이드를 시도해볼 수 있습니다.

    wget http://archive.ubuntu.com/ubuntu/dists/hirsute-updates/main/dist-upgrader-all/current/hirsute.tar.gz

    mkdir upgrader

    tar -xaf hirsute.tar.gz -C upgrader

    cd upgrader

    sudo ./hirsute


    이후 21.04로 업그레이드후 do-release-upgrade를 계속 실행하시면 21.10을 거쳐 최신 LTS인 22.04까지 업그레이드 될겁니다. (시험삼아 20.10 설치뒤 위 명령 실행하니 가능합니다)

     

    윗 댓글에도 달았습니다만 업데이트를 꾸준히 할수 없다면 LTS 이외 사용하시면 안됩니다. 최신이라 좋을것 같지만 적어도 리눅스 세계에선 최신버전이 반드시 좋은건 아닙니다.

  • profile

    우분투 "groovy" 20.10은 작년 여름에 지원이 종료되었으니 더이상 저장소가 남아 있지 않을 거예요.

     

    old-releases.ubuntu.com 으로 저장소를 바꾸면 404 오류가 나지는 않겠지만, 여기도 새 버전으로 업그레이드하는 데 필요한 최소한의 준비 목적 외에는 큰 쓸모가 없어요. 어차피 오래된 버전이라 보안패치하는 것도 별 의미가 없고요. 이걸 사용해서 업뎃 한 번 돌린 후 do-release-upgrade로 직행하시기 바랍니다.

  • profile ?
    Reading cache

    Checking package manager

    Can not upgrade

    An upgrade from 'groovy' to 'impish' is not supported with this tool.
    === Command detached from window (Tue Jun 7 12:43:17 2022) ===

    말씀하신대로 저장소 바꾸고 do-release-upgrade 하니 위와같은 에러가 또 발생하네요 ㅠ
  • ? profile
    아마도 중간 단계인 21.04 "hirsute"를 거치도록 설계된 것 같은데요, 이것도 지원 종료된 지 한참 지나서 제대로 작동할지 모르겠네요. 심지어 그 다음 버전인 21.10 "impish"도 며칠 후면 지원 종료 예정이라 22.04 "jammy"까지 올라가지 못하면 의미가 없습니다...

    어정쩡한 버전에 너무 오래 머무르셨네요. ㅠ
  • profile ?
    기진곰님 그럼 업데이트를 더 할수있는 방법은 없는건가요? 만약 없다면 그냥 20.10 버젼 계속 사용해도 될까요? ㅠ
  • ? profile
    groovy 부분을 강제로 다른 버전명으로 변경하고 업뎃한다거나, 방법이 있긴 하겠지만 do-release-upgrade처럼 안전하다는 보장은 없어요. 그래도 지원 종료된 버전을 계속 쓰시는 것보다는 안전할 겁니다.
  • profile
    백업 후 초기화 후 LTS 버전으로 넘어가시는 것을 추천합니다.