패키지 제거 방법

패키지 제거 방법

업데이트하려고 하는데 설치되어 있는지도 모르는 소프트웨어가 언급되어 있습니다. Afaik은 스카이프나 플럭스가 설치되어 있지 않은 것 같습니다. 어떻게 완전히 제거할 수 있나요?

jonathan@jonathan-laptop:~$ sudo apt-get update
Hit:1 deb.debian.org/debian buster InRelease                            
Hit:2 deb.debian.org/debian-security buster/updates InRelease           
Get:3 ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu eoan InRelease [15.4 kB]
Hit:4 deb.debian.org/debian buster-updates InRelease                    
Err:3 ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu eoan InRelease 
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4CDB129629A4B41A
Get:5 repo.skype.com/deb stable InRelease [4,502 B]          
Err:5 repo.skype.com/deb stable InRelease          
  The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <[email protected]>
Hit:6 repo.steampowered.com/steam stable InRelease
Reading package lists... Done
W: GPG error: ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu eoan InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4CDB129629A4B41A
E: The repository 'ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu eoan InRelease' is not signed.
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.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: repo.skype.com/deb stable InRelease: The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <[email protected]>

답변1

소스에 포함되지 않거나 일부 속성이 변경된 개인 패키지 아카이브의 소프트웨어를 설치하려고 합니다.

다음 명령은 이 PPA를 다시 설정해야 합니다.

sudo add-apt-repository ppa:nathan-renniewaldock/ppa
sudo apt-get update

답변2

소스 저장소를 정리해야 합니다(귀하의 경우 타사 저장소가 수동으로 추가되었습니다).

sudo rm /etc/apt/sources.list.d/*

공식 데비안 저장소만 유지 /etc/apt/sources.list:

cat <<EOF | sudo tee /etc/apt/sources.list
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main

deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main

deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
EOF

그 다음에 :

sudo apt update && sudo apt upgrade

관련 정보