성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] Working with Rust Libraries from C#...
[정성태] Detecting blocking calls using asyn...
[정성태] 아쉽게도, 커뮤니티는 아니고 개인 블로그입니다. ^^
[정성태] 질문이 잘 이해가 안 됩니다. 우선, 해당 소스코드에서 ILis...
[양승조
] var대신 dinamic으로 선언해서 해결은 했습니다. 맞는 해...
[양승조
] 또 막혔습니다. ㅠㅠ var list = props[i].Ge...
[양승조
] 아. 감사합니다. 어제는 안됐던것 같은데....정신을 차려야겠네...
[정성태] "props[i].GetValue(props[i])" 코드에서 ...
[정성태] 저렇게 조각 코드 말고, 실제로 재현이 되는 예제 프로젝트를 압...
[정성태] Modules 창(Ctrl+Shift+U)을 띄워서, 해당 Op...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
제니퍼 .NET
닷넷
COM 개체 관련
스크립트
VC++
VS.NET IDE
Windows
Team Foundation Server
디버깅 기술
오류 유형
개발 환경 구성
웹
기타
Linux
Java
DDK
Math
Phone
Graphics
사물인터넷
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>Ubuntu - E: The repository 'cdrom://...' does not have a Release file.</h1> <p> Ubuntu에서 apt update 시 이런 오류가 발생하는군요. ^^;<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > $ <span style='color: blue; font-weight: bold'>sudo apt-get update</span> <span style='color: blue; font-weight: bold'>Ign:1 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal InRelease Err:2 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal Release Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs</span> Hit:3 http://dl.google.com/linux/chrome/deb stable InRelease Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease Hit:5 http://kr.archive.ubuntu.com/ubuntu focal InRelease Hit:6 http://kr.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:7 http://kr.archive.ubuntu.com/ubuntu focal-backports InRelease Reading package lists... Done <span style='color: blue; font-weight: bold'>E: The repository 'cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal Release' does not have a Release file. 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.</span> 6 </pre> <br /> 보니까, "cdrom://..." 프로토콜로 시작하므로 지워도 될 듯합니다. 검색하면, 이 목록을 "/etc/apt/sources.list"에 보관한다는데,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > $ <span style='color: blue; font-weight: bold'>cat /etc/apt/sources.list</span> <span style='color: blue; font-weight: bold'># deb cdrom:[Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)]/ focal main restricted</span> # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://kr.archive.ubuntu.com/ubuntu/ focal main restricted # deb-src http://kr.archive.ubuntu.com/ubuntu/ focal main restricted ...[생략]... </pre> <br /> 위와 같이 "deb cdrom:..." 라인을 주석 처리 또는 삭제합니다. 이후 다시 실행하면 잘 동작합니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > $ <span style='color: blue; font-weight: bold'>sudo apt-get update</span> Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease Hit:2 http://kr.archive.ubuntu.com/ubuntu focal InRelease Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease Hit:4 http://kr.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:5 http://kr.archive.ubuntu.com/ubuntu focal-backports InRelease Reading package lists... Done </pre> <br /> (잘은 모르겠지만, 아마 오류 메시지를 참을 수 있다면 그냥 둬도 동작 자체에는 문제가 없을 것입니다.)<br /> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
6703
(왼쪽의 숫자를 입력해야 합니다.)