Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Language specific forums Russian (Русский) Общие вопросы
  • Search

После установки не выполняется apt-get update

Общие вопросы о панели управления Vesta
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Alexieze
Posts: 7
Joined: Mon Mar 14, 2016 7:15 am

После установки не выполняется apt-get update
  • Quote

Post by Alexieze » Sat Sep 17, 2016 3:35 pm

После установки не выполняется apt-get update, подскажите в чем может быть проблема.

Code: Select all

Err http://archive.canonical.com trusty InRelease

Err http://nginx.org trusty InRelease

Err http://apt.vestacp.com trusty InRelease

Err http://archive.ubuntu.com trusty InRelease

Err http://ppa.launchpad.net trusty InRelease

Err http://security.ubuntu.com trusty-security InRelease

Err http://archive.canonical.com trusty Release.gpg
  Temporary failure resolving 'archive.canonical.com'
Err http://archive.ubuntu.com trusty-updates InRelease

Err http://nginx.org trusty Release.gpg
  Temporary failure resolving 'nginx.org'
Err http://apt.vestacp.com trusty Release.gpg
  Temporary failure resolving 'apt.vestacp.com'
Err http://ppa.launchpad.net trusty Release.gpg
  Temporary failure resolving 'ppa.launchpad.net'
Err http://security.ubuntu.com trusty-security Release.gpg
  Temporary failure resolving 'security.ubuntu.com'
Err http://archive.ubuntu.com trusty Release.gpg
  Temporary failure resolving 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://nginx.org/packages/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://apt.vestacp.com/trusty/dists/trusty/InRelease

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg  Temporary failure resolving 'archive.canonical.com'

W: Failed to fetch http://nginx.org/packages/ubuntu/dists/trusty/Release.gpg  Temporary failure resolving 'nginx.org'

W: Failed to fetch http://apt.vestacp.com/trusty/dists/trusty/Release.gpg  Temporary failure resolving 'apt.vestacp.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Temporary failure resolving 'archive.ubuntu.com'

W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/trusty/Release.gpg  Temporary failure resolving 'ppa.launchpad.net'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Temporary failure resolving 'security.ubuntu.com'

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Temporary failure resolving 'archive.ubuntu.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.

Top

Nanotraktor
Posts: 129
Joined: Tue Mar 08, 2016 8:03 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: После установки не выполняется apt-get update
  • Quote

Post by Nanotraktor » Sat Sep 17, 2016 8:17 pm

Судя по тексту ошибки - либо проблемы с сетью (например, блокируются исходящие запросы с сервера или кривые настройки сети), либо (что более вероятно) проблемы с ДНС-серверами (или с ними самими, или же с доступом к ним) указанными в /etc/resolv.conf
Откройте этот файл и проверьте:
1) Есть ли в нем что-нибудь
2) Доступны ли сервера указанные в нем
3) Попробуйте заменить содержимое файла (само собой, сделав бекап) на
nameserver 8.8.8.8
nameserver 8.8.4.4
сохранить изменения и попробовать вновь.
Top

Alexieze
Posts: 7
Joined: Mon Mar 14, 2016 7:15 am

Re: После установки не выполняется apt-get update
  • Quote

Post by Alexieze » Sun Sep 18, 2016 5:15 am

Эти действия я уже пробовал проводить, ничего к сожалению не вышло (
Top

Nanotraktor
Posts: 129
Joined: Tue Mar 08, 2016 8:03 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: После установки не выполняется apt-get update
  • Quote

Post by Nanotraktor » Sun Sep 18, 2016 7:32 am

Уронить на время iptables, к слову, пробовали? Возможно исходящие запросы им блокируются (у меня однажды такое было, когда LAMP на сервере поставил, а правила в iptables - только запрещающие).
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: После установки не выполняется apt-get update
  • Quote

Post by imperio » Tue Sep 20, 2016 8:31 pm

Попробуйте выполнить

Code: Select all

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


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Общие вопросы”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password