Polecenie ,,apt-get update'' nie działa
: 09 lutego 2012, 10:10
Witam.
Mam problem z poleceniem:
Mianowicie taki, że nie działa. Pakiety nie są pobierane i nie wiem jak zrobić aby były. Napisałem gdyż szukam i sam nie mogę sobie z tym poradzić, a przejrzałem już wiele stron z podobnym problemem i nie znalazłem odpowiedzi.
Czy ktoś jest w stanie pomóc rozwiązać mi problem z tym poleceniem, aby zaczęło funkcjonować?
Pozdrawiam Zico.
Log błędu:
Plik interfaces:
Plik /etc/resolf.conf
Plik /etc/apt/source.list
Edycja:
Dokonałem zmian w pliku /etc/resolv.conf:
Nic to nie dało?
Mam problem z poleceniem:
Kod: Zaznacz cały
apt-get update
Czy ktoś jest w stanie pomóc rozwiązać mi problem z tym poleceniem, aby zaczęło funkcjonować?
Pozdrawiam Zico.
Log błędu:
Kod: Zaznacz cały
Err http://ftp.pl.debian.org squeeze Release.gpg
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze/contrib Translation-en
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze/contrib Translation-en_US
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze/main Translation-en
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze/main Translation-en_US
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze/non-free Translation-en
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze/non-free Translation-en_US
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org squeeze-updates Release.gpg
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze-updates/contribt Translation-en
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze-updates/contribt Translation-en_US
Could not resolve 'ftp.pl.debian.org'
Err http://security.debian.org squeeze/updates Release.gpg
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/contrib Translation-en
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/contrib Translation-en_US
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/main Translation-en
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/main Translation-en_US
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/non-free Translation-en
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/non-free Translation-en_US
Could not resolve 'security.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze-updates/main Translation-en
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze-updates/main Translation-en_US
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze-updates/non-free Translation-en
Could not resolve 'ftp.pl.debian.org'
Err http://ftp.pl.debian.org/debian/ squeeze-updates/non-free Translation-en_US
Could not resolve 'ftp.pl.debian.org'
Reading package lists... Done
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze/Release.gpg Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze/contrib/i18n/Translation-en.gz Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze/contrib/i18n/Translation-en_US.gz Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze/main/i18n/Translation-en.gz Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze/main/i18n/Translation-en_US.gz Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze/non-free/i18n/Translation-en.gz Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze/non-free/i18n/Translation-en_US.gz Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/Release.gpg Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/i18n/Translation-en.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/i18n/Translation-en_US.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en_US.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/non-free/i18n/Translation-en.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/non-free/i18n/Translation-en_US.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze-updates/Release.gpg Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze-updates/contribt/i18n/Translation-en.gz Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze-updates/contribt/i18n/Translation-en_US.gz Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en.gz Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en_US.gz Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze-updates/non-free/i18n/Translation-en.gz Could not resolve 'ftp.pl.debian.org'
W: Failed to fetch http://ftp.pl.debian.org/debian/dists/squeeze-updates/non-free/i18n/Translation-en_US.gz Could not resolve 'ftp.pl.debian.org'
W: Some index files failed to download, they have been ignored, or old ones used instead.
Kod: Zaznacz cały
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 10.11.0.31
netmask 255.255.255.0
network 10.11.0.0
broadcast 10.11.0.255
gateway 10.11.0.1
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.2.200
netmask 255.255.252.0
broadcast 192.168.2.255
gateway 192.168.2.1
Kod: Zaznacz cały
domain Orange
search Orange
nameserver 192.168.2.1
Kod: Zaznacz cały
#deb http://ftp.us.debian.org/debian/ squeeze main
deb http://ftp.pl.debian.org/debian/ squeeze main non-free contrib
deb-src http://ftp.pl.debian.org/debian/ squeeze main non-free contrib
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
#squeeze-updates, previously known as 'volatile'
deb http://ftp.pl.debian.org/debian/ squeeze-updates main non-free contribt
deb-src http://ftp.pl.debian.org/debian/ squeeze-updates main non-free contrib
Edycja:
Dokonałem zmian w pliku /etc/resolv.conf:
Kod: Zaznacz cały
domain Orange
search Orange
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 192.168.2.1