Slow and steady wins the race

Linux

ubuntu error: 시스템 저장소를 새로고치려면 인증해야 합니다

늘보의 빠르기 2023. 2. 2. 01:31

절전모드(ctrl+L)에서 무한반복 로그인 문제 어쩌다가 해결됨

리눅스 킬때마다 "시스템 저장소를 새로 고치려면 인증해야 합니다" 떴었는데, 이거 해결하고 나니까 해결된거 같기도 하고..

 

 

sudo gedit /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf

 

아래 코드를 삽입하고 reboot 하니 해결

polkit.addRule(function(action, subject) {
 if ((action.id == "org.freedesktop.color-manager.create-device" ||
 action.id == "org.freedesktop.color-manager.create-profile" ||
 action.id == "org.freedesktop.color-manager.delete-device" ||
 action.id == "org.freedesktop.color-manager.delete-profile" ||
 action.id == "org.freedesktop.color-manager.modify-device" ||
 action.id == "org.freedesktop.color-manager.modify-profile") &&
 subject.isInGroup("{users}")) {
 return polkit.Result.YES;
 }
});

 

 

 

출처: 

https://devanswers.co/how-to-fix-authentication-is-required-to-create-a-color-profile-managed-device-on-ubuntu-20-04-20-10/