본문 바로가기
study/TIP

Chocolatey 셋팅오류 해결방법

by 휘루걸음 2024. 4. 23.
728x90
반응형

공식가이드에서 알려주는 명령어가 정상적으로 작동하지 않습니다.

설치한적이 없는 툴을 지우라는데, 이게 뭔 말인가 싶었습니다.

반응형

프로그램 추가 삭제에 가봐도 없고, 서비스 실행 목록에도 없습니다.

뭐지... 이것저것 찾아봐도 공식가이드대로 설치하는 블로그가 많습니다.

남들은 다 잘 되는데, 나만 안되는 이런 억까의 느낌!

728x90

그러다가, 설치경로를 알려준 질문글을 확인하여 경로를 확인해봤습니다.

아... 빈 폴더가 작년기준 날짜로 남아있네요.

저는 설치한 기억이 없는데, 이건 어떤 흔적일까요....?

뭘 설치했다가 지웠는데 남은 찌꺼기가 아닌가 싶네요.

 

결론 : 설치경로를 확인해서 폴더를 지우고 설치를 진행하자. 

Remove-Item C:\ProgramData\chocolatey -Recurse

 

 

https://stackoverflow.com/questions/66167230/message-while-installing-chocolatey

 

Message while installing chocolatey

i am installing Chocolatey on my computer by using powershell,but when i type this command on powershell as an admin: Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.

stackoverflow.com

 

 

PS C:\WINDOWS\system32>> Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
경고: An existing Chocolatey installation was detected. Installation will not continue.
This script will not overwrite existing installations.
If there is no Chocolatey installation at '', delete the folder and attempt the
installation again.

Please use choco upgrade chocolatey to handle upgrades of Chocolatey itself.
If the existing installation is not functional or a prior installation did not complete,
follow these steps:
 - Backup the files at the path listed above so you can restore your previous installation
if needed.
 - Remove the existing installation manually.
 - Rerun this installation script.
 - Reinstall any packages previously installed, if needed (refer to the lib folder in the
backup).

Once installation is completed, the backup folder is no longer needed and can be deleted.

 

728x90
반응형

'study > TIP' 카테고리의 다른 글

rath 셋팅  (1) 2024.03.28
CUBRID 한글 초성 검색  (2) 2024.03.07
java array copy  (0) 2024.03.03
html to image  (0) 2024.03.03
한글주소 인코딩, url encode  (1) 2024.02.27