정상적인 암호를 넣어도 진행이 안되는 경우가 있다.
주로 aws의 lightsail의 ubuntu에서 발생한다.
의심이 가는 건 private key를 통한 ssh로 최초 접속이라는 점이 문제의 원인이 되는 거 같은데...
passwd
로 실제 암호를 기재를 해준 상태이기 때문 해당 이유를 사실 잘 모르겠다.
일단 다음과 같이 3번 sudo 암호를 물어보고 더이상 설치가 진행되지 않는다.
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)
>
> "
==> Checking for `sudo` access (which may request your password)...
[sudo] password for ubuntu:
Sorry, try again.
[sudo] password for ubuntu:
Sorry, try again.
[sudo] password for ubuntu:
sudo: 3 incorrect password attempts
Insufficient permissions to install Homebrew to \"/home/linuxbrew/.linuxbrew\" (the default prefix).
Alternative (unsupported) installation methods are available at:
https://docs.brew.sh/Installation#alternative-installs
Please note this will require most formula to build from source, a buggy, slow and energy-inefficient experience.
We will close any issues without response for these unsupported configurations.
일단 이 문제를 우회하려면 다음과 같은 환경변수를 설정하고 설치 shell파일을 수행하면 된다.
(설치중 interaction을 하지않는 설정임.)
export NONINTERACTIVE=1
728x90
'Errors' 카테고리의 다른 글
[Error] vscode extension : Vim : 한글 입력 에러. (0) | 2023.09.18 |
---|---|
[Error] Django Rest Framework (DRF) : "The submitted data was not a file. Check the encoding type on the form." (1) | 2023.09.14 |
[certbot] Error : The following renewal configurations were invalid (0) | 2023.09.10 |
[Error] apt update 시 InRelease is not valid yet 에러 해결 (0) | 2023.09.08 |
[Error] WSL : Error: 0x80370102 (0) | 2023.09.05 |