우분투 서버 관련

익명 사용자의 이미지

 sudo apte-get update  

이걸 실행시키려고 합니다

서버에서 작동중이며 옆에는 서버 같은것이 있고 그건 문제 없고 원격으로 접속 가능한 상황입니다

Get:1 file:/var/cuda-repo-8-0-local-ga2  InRelease
Ign:1 file:/var/cuda-repo-8-0-local-ga2  InRelease
Get:2 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]
Err:3 <a href="http://old-releases.ubuntu.com/ubuntu" rel="nofollow">http://old-releases.ubuntu.com/ubuntu</a> bionic InRelease
  Could not resolve 'old-releases.ubuntu.com'
Err:4 <a href="http://old-releases.ubuntu.com/ubuntu" rel="nofollow">http://old-releases.ubuntu.com/ubuntu</a> bionic-updates InRelease
  Could not resolve 'old-releases.ubuntu.com'
Err:5 <a href="http://old-releases.ubuntu.com/ubuntu" rel="nofollow">http://old-releases.ubuntu.com/ubuntu</a> bionic-backports InRelease
  Could not resolve 'old-releases.ubuntu.com'
Err:6 <a href="http://old-releases.ubuntu.com/ubuntu" rel="nofollow">http://old-releases.ubuntu.com/ubuntu</a> bionic-security InRelease
  Could not resolve 'old-releases.ubuntu.com'
Err:7 <a href="http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64" rel="nofollow">http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64</a>  InRelease
  Could not resolve 'developer.download.nvidia.com'
Err:8 <a href="http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu" rel="nofollow">http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu</a> bionic InRelease
  Could not resolve 'ppa.launchpad.net'
Err:9 <a href="https://packages.microsoft.com/repos/vscode" rel="nofollow">https://packages.microsoft.com/repos/vscode</a> stable InRelease
  Could not resolve 'packages.microsoft.com'
Get:2 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]
Reading package lists... Done
W: Failed to fetch <a href="http://old-releases.ubuntu.com/ubuntu/dists/bionic/InRelease" rel="nofollow">http://old-releases.ubuntu.com/ubuntu/dists/bionic/InRelease</a>  Could not resolve 'old-releases.ubuntu.com'
W: Failed to fetch <a href="http://old-releases.ubuntu.com/ubuntu/dists/bionic-updates/InRelease" rel="nofollow">http://old-releases.ubuntu.com/ubuntu/dists/bionic-updates/InRelease</a>  Could not resolve 'old-releases.ubuntu.com'
W: Failed to fetch <a href="http://old-releases.ubuntu.com/ubuntu/dists/bionic-backports/InRelease" rel="nofollow">http://old-releases.ubuntu.com/ubuntu/dists/bionic-backports/InRelease</a>  Could not resolve 'old-releases.ubuntu.com'
W: Failed to fetch <a href="http://old-releases.ubuntu.com/ubuntu/dists/bionic-security/InRelease" rel="nofollow">http://old-releases.ubuntu.com/ubuntu/dists/bionic-security/InRelease</a>  Could not resolve 'old-releases.ubuntu.com'
W: Failed to fetch <a href="http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/InRelease" rel="nofollow">http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/InRelease</a>  Could not resolve 'developer.download.nvidia.com'
W: Failed to fetch <a href="http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/dists/bionic/InRelease" rel="nofollow">http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/dists/bionic/InRelease</a>  Could not resolve 'ppa.launchpad.net'
W: Failed to fetch <a href="https://packages.microsoft.com/repos/vscode/dists/stable/InRelease" rel="nofollow">https://packages.microsoft.com/repos/vscode/dists/stable/InRelease</a>  Could not resolve 'packages.microsoft.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

이런 결과가 나오는데 해결책이 뭐가 잇을까요

세벌의 이미지

sudo apt-get update ?

익명 사용자의 이미지

인터넷에 연결은 제대로 되어 있나요? 오류 메시지만 보면 인터넷에 연결되어 있지 않거나 인터넷 연결에 문제가 있는 것 같습니다.

익명 사용자의 이미지

학교 내부망으로 접속중이라 일단 인터넷은 연결되잇는거 같네요

익명 사용자의 이미지

dns 설정 확인요

jachin의 이미지

cat /etc/resolv.conf
실행하시고, nameserver 항목이 있는지 확인해보시기 바랍니다.
없으시면
sudo echo "nameserver 1.1.1.1" >> /etc/resolv.conf
라고 입력하시고 다시 실행해보십시오.

익명 사용자의 이미지

nameserver 127.0.0.53 이라고 설정되잇는데 이걸 학교 서버 ip 로 적어야 되나요

세벌의 이미지

학교 서버가 한 두 개가 아닐텐데... 말 그대로 nameserver 의 IP를 적어야 되겠죠?

익명 사용자의 이미지

다른 서버에서 사용하는 dns nameserver 를 적으면 되나요

세벌의 이미지

그렇게 해 보셔요.

익명 사용자의 이미지

Get:1 file:/var/cuda-repo-8-0-local-ga2 InRelease
Ign:1 file:/var/cuda-repo-8-0-local-ga2 InRelease
Get:2 file:/var/cuda-repo-8-0-local-ga2 Release [574 B]
Get:2 file:/var/cuda-repo-8-0-local-ga2 Release [574 B]
Ign:3 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 InRelease
Hit:4 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Release
Hit:7 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:8 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Ign:9 http://old-releases.ubuntu.com/ubuntu bionic InRelease
Ign:10 http://old-releases.ubuntu.com/ubuntu bionic-updates InRelease
Ign:11 http://old-releases.ubuntu.com/ubuntu bionic-backports InRelease
Ign:12 http://old-releases.ubuntu.com/ubuntu bionic-security InRelease
Err:13 http://old-releases.ubuntu.com/ubuntu bionic Release
404 Not Found [IP: 91.189.88.41 80]
Err:14 http://old-releases.ubuntu.com/ubuntu bionic-updates Release
404 Not Found [IP: 91.189.88.41 80]
Err:15 http://old-releases.ubuntu.com/ubuntu bionic-backports Release
404 Not Found [IP: 91.189.88.41 80]
Err:16 http://old-releases.ubuntu.com/ubuntu bionic-security Release
404 Not Found [IP: 91.189.88.41 80]
Reading package lists... Done
E: The repository 'http://old-releases.ubuntu.com/ubuntu bionic 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.
E: The repository 'http://old-releases.ubuntu.com/ubuntu bionic-updates 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.
E: The repository 'http://old-releases.ubuntu.com/ubuntu bionic-backports 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.
E: The repository 'http://old-releases.ubuntu.com/ubuntu bionic-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled b

nameserver 를 변경하였는데 바뀌는건 없네요. 우분투 18.04인데 다른 설정방법이 잇나요

jachin의 이미지

지금 응답은 리포지토리에 해당하는 파일이 없는겁니다. 다른 저장소를 이용해보세요.

익명 사용자의 이미지

지금 현재 상황이 ip 고정을 해둔 다음에 dns-nameserver 그걸 바꿔보면서 해보고 잇는데 아직 해결 못하고 있습니다

익명 사용자의 이미지

1.DNS 확인

nslookup <a href="http://www.google.com" rel="nofollow">www.google.com</a> 8.8.8.8

이상 없으면 2번으로
이상 있으면 다른 문제.

2.네임서버 설정

sudo echo "nameserver 8.8.8.8" > /etc/resolv.conf

3.ping 테스트

www.google.com

1,2,3 모두 잘 되는지요?

익명 사용자의 이미지

1.DNS 확인 내용 아래와 같이 수정합니다.

nslookup <a href="http://www.google.com" rel="nofollow">www.google.com</a> 8.8.8.8
익명 사용자의 이미지

nslookup www.google.com 8.8.8.8

bbcode에서는 이상해게 출력되네요

익명 사용자의 이미지

Server: 8.8.8.8
Address: 8.8.8.8#53

Non-authoritative answer:
Name: www.google.com
Address: 172.217.25.228
Name: www.google.com
Address: 2404:6800:4004:80b::2004

실햇시켯더니 이렇게 나오네요

이 위에꺼는 a 가 없다고 나오네요

익명 사용자의 이미지

그려면 아래 명령어 다시 실행해보세요

sudo echo "nameserver 8.8.8.8" > /etc/resolv.conf
sudo apt-get update

익명 사용자의 이미지

결과는 같네요

위의 결과와 동일합니다

익명 사용자의 이미지

도움을 못드려 안타깝네요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.