midori/ppa - 절대 제거할 수 없나요?

midori/ppa - 절대 제거할 수 없나요?

미도리를 설치했습니다.

$ sudo add-apt-repository --remove ppa:midori/ppa

하지만 Ubuntu 17.10에서는 작동하지 않으므로 제거해야 합니다.

$ sudo ppa-purge ppa:midori/ppa
Updating packages lists
E: The repository 'http://ppa.launchpad.net/midori/ppa/ubuntu artful Release' does not have a Release file.
Warning:  apt-get update failed for some reason

왜 제거할 수 없는지 아시나요?

나는 시도했다:

$ sudo add-apt-repository --remove ppa:midori/ppa

그러나 여전히 운이 없습니다.

어떤 아이디어가 있나요?

편집하다:

내가 이렇게 하면:

$ sudo add-apt-repository --remove ppa:midori/ppa

나는 얻다:

 Midori Browser
    http://twotoasts.de/index.php/midori/

This PPA is signed. To add the GPG key to your apt keyring:
   sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A69241F1
Starting with Karmic, adding the PPA and its key is as simple as:
   sudo add-apt-repository ppa:midori

You may also want to use the WebKit-team PPA:
     https://launchpad.net/~webkit-team/+archive/ppa
You can find unstable Midori versions at
    https://launchpad.net/~midori/+archive/midori-dev
 More info: https://launchpad.net/~midori/+archive/ubuntu/ppa
Press [ENTER] to continue or Ctrl-c to cancel removing it.

그것은 이해가되지 않습니다!

답변1

좋습니다. 저장소 가 Ubuntu 릴리스와 호환되지 않기 때문에 저장소를 수동으로 삭제해야 하는 것 같습니다 add-apt-repository. ppa-purge마지막으로 지원되는 릴리스는 Ubuntu 15.10(Wily)으로 2015년에 중단된 것으로 보입니다.

그러기 위해서는 add-apt-repositoryPPA를 추가할 때 생성된 소스 목록 파일을 제거해야 합니다. 다음과 같이 이름이 지정될 것으로 예상하지만 약간 다를 수도 있습니다.

/etc/apt/sources.list.d/midori-ubuntu-ppa-artful.list

이 파일(또는 실제 이름은 무엇이든)을 열고 파일이 올바른지 확인하십시오. 여기에는 오류 메시지의 저장소 URL을 언급하는 줄만 포함되어야 합니다. 즉,

http://ppa.launchpad.net/midori/ppa/ubuntu artful

이 경우 파일을 삭제할 수 있습니다.

sudo rm /etc/apt/sources.list.d/midori-ubuntu-ppa-artful.list

그런 다음, 새롭게 변경된 구성으로 소프트웨어 목록을 업데이트하십시오.

sudo apt update

관련 정보