Strona 1 z 1

Aktualizacja Debiana Lenny na VPS-ie

: 08 lutego 2011, 16:21
autor: grzgrzgrz3
Witam.
Zakupiłem vps i utknąłem od razu na aktualizacji.

Kod: Zaznacz cały

grzgrzgrz3:/# apt-get update                                                   
 Err http://ftp.de.debian.org stable Release.gpg
  Temporary failure resolving 'ftp.de.debian.org'
Err http://security.debian.org stable/updates Release.gpg
  Temporary failure resolving 'security.debian.org'
Reading package lists... Done
W: Failed to fetch http://ftp.de.debian.org/debian/dists/stable/Release.gpg  Temporary failure resolving 'ftp.de.debian.org'

W: Failed to fetch http://security.debian.org/dists/stable/updates/Release.gpg  Temporary failure resolving 'security.debian.org'

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems

Kod: Zaznacz cały

deb http://ftp.de.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.de.debian.org/debian/ stable main non-free contrib

deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free

: 08 lutego 2011, 16:29
autor: piatkosia
Na pewno adresy w pliku /etc/apt/sources.list są poprawne?

: 08 lutego 2011, 16:51
autor: grzgrzgrz3
Wydaje mi się, że tak. Tak wyglądają wpisy w /etc/apt/sources.list

Kod: Zaznacz cały

deb http://ftp.de.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.de.debian.org/debian/ stable main non-free contrib

deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free

: 08 lutego 2011, 16:56
autor: piatkosia
Sprawdź w przeglądarce, czy ci te adresy w ogóle działają. Czy coś ci ich nie wycina. A może problem tkwi gdzieś w firewallu?
Sprawdź jeszcze proxy. Jak sieć ci działa, to sprawdź ile jeszcze masz pamięci na tym vpsie. Może za mało. Pamiętaj, że musi być miejsce na pobranie (do pamięci podręcznej) i zainstalowanie pakietu (2 razy tyle co trzeba, mimo że potem paczkę można usunąć).
Obstawiałabym za pamięcią.

: 08 lutego 2011, 17:22
autor: grzgrzgrz3
Polecenie ping do adresów poprawny. Pamięci 256MB w tym 15MB w użyciu.