sudo spt update를 실행하면...무시된 명령이 모두 표시됩니다.
Hit:1 http://ftp.harukasan.org/kali kali-rolling InRelease
Reading package lists... Done
N: Ignoring file 'cybermax-dexter-ubuntu-sdl2-backport-jammy.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-chrome.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'brave-browser-release.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'webupd8team-ubuntu-java-jammy.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'microsoft-prod.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
누구든지 도와줄 수 있나요?
답변1
/etc/apt/sources.list.d/
오류 메시지를 생성한 5개 파일의 이름을 바꿉니다 N: Ignoring file ... in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
.
cd /etc/apt/sources.list.d/
sudo mv cybermax-dexter-ubuntu-sdl2-backport-jammy.list.old cybermax-dexter-ubuntu-sdl2-backport-jammy.list
sudo mv google-chrome.list.old google-chrome.list
sudo mv brave-browser-release.list.old brave-browser-release.list
sudo mv webupd8team-ubuntu-java-jammy.list.old webupd8team-ubuntu-java-jammy.list
sudo mv microsoft-prod.list.old microsoft-prod.list
sudo apt update
또는 이러한 소프트웨어 소스가 더 이상 필요하지 않으면 삭제할 수 있습니다.
cd /etc/apt/sources.list.d/
sudo rm cybermax-dexter-ubuntu-sdl2-backport-jammy.list.old google-chrome.list.old brave-browser-release.list.old webupd8team-ubuntu-java-jammy.list.old microsoft-prod.list.old
sudo apt update