/ Forside / Teknologi / Operativsystemer / Linux / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Linux
#NavnPoint
o.v.n. 11177
peque 7911
dk 4814
e.c 2359
Uranus 1334
emesen 1334
stone47 1307
linuxrules 1214
Octon 1100
10  BjarneD 875
apt-get problemmer
Fra : Søren Reinke


Dato : 21-06-05 19:44

Hejsa

Jeg har lige installeret min server med nyeste debian 'net install'

Jeg hentede så sources.list fra min server i tyskland hvor det hele
virker fint.

Den indeholder:
deb http://security.debian.org/ stable/updates main non-free contrib
deb http://ftp.de.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.de.debian.org/debian/ testing main non-free contrib

Når jeg i tyskland laver:
apt-get update

henter den listerne og alt er okay, men prøver jeg på min nye server
herhjemme sker der dette:

home:/etc/apt# apt-get update
Err http://ftp.de.debian.org testing/main Packages
404 Not Found [IP: ::ffff:213.239.197.149 80]
Ign http://ftp.de.debian.org testing/main Release
Err http://security.debian.org stable/updates/main Packages
404 Not Found [IP: ::ffff:213.239.197.149 80]
Ign http://security.debian.org stable/updates/main Release
Err http://ftp.de.debian.org testing/non-free Packages
404 Not Found [IP: ::ffff:213.239.197.149 80]
Ign http://ftp.de.debian.org testing/non-free Release
Err http://ftp.de.debian.org testing/contrib Packages
404 Not Found [IP: ::ffff:213.239.197.149 80]
Ign http://ftp.de.debian.org testing/contrib Release
Err http://ftp.de.debian.org testing/main Sources
404 Not Found [IP: ::ffff:213.239.197.149 80]
Ign http://ftp.de.debian.org testing/main Release
Err http://ftp.de.debian.org testing/non-free Sources
404 Not Found [IP: ::ffff:213.239.197.149 80]
Ign http://ftp.de.debian.org testing/non-free Release
Err http://security.debian.org stable/updates/non-free Packages
404 Not Found [IP: ::ffff:213.239.197.149 80]
Ign http://security.debian.org stable/updates/non-free Release
Err http://security.debian.org stable/updates/contrib Packages
404 Not Found [IP: ::ffff:213.239.197.149 80]
Ign http://security.debian.org stable/updates/contrib Release
Err http://ftp.de.debian.org testing/contrib Sources
404 Not Found [IP: ::ffff:213.239.197.149 80]
Ign http://ftp.de.debian.org testing/contrib Release
Failed to fetch
http://security.debian.org/dists/stable/updates/main/binary-i386/Packages.gz
404 Not Found [IP: ::ffff:213.239.197.149 80]
Failed to fetch
http://security.debian.org/dists/stable/updates/non-free/binary-i386/Packages.gz
404 Not Found [IP: ::ffff:213.239.197.149 80]
Failed to fetch
http://security.debian.org/dists/stable/updates/contrib/binary-i386/Packages.gz
404 Not Found [IP: ::ffff:213.239.197.149 80]
Failed to fetch
http://ftp.de.debian.org/debian/dists/testing/main/binary-i386/Packages.gz
404 Not Found [IP: ::ffff:213.239.197.149 80]
Failed to fetch
http://ftp.de.debian.org/debian/dists/testing/non-free/binary-i386/Packages.gz
404 Not Found [IP: ::ffff:213.239.197.149 80]
Failed to fetch
http://ftp.de.debian.org/debian/dists/testing/contrib/binary-i386/Packages.gz
404 Not Found [IP: ::ffff:213.239.197.149 80]
Failed to fetch
http://ftp.de.debian.org/debian/dists/testing/main/source/Sources.gz
404 Not Found [IP: ::ffff:213.239.197.149 80]
Failed to fetch
http://ftp.de.debian.org/debian/dists/testing/non-free/source/Sources.gz
404 Not Found [IP: ::ffff:213.239.197.149 80]
Failed to fetch
http://ftp.de.debian.org/debian/dists/testing/contrib/source/Sources.gz
404 Not Found [IP: ::ffff:213.239.197.149 80]
Reading Package Lists... Done
W: Couldn't stat source package list http://security.debian.org
stable/updates/main Packages
(/var/lib/apt/lists/security.debian.org_dists_stable_updates_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org
stable/updates/non-free Packages
(/var/lib/apt/lists/security.debian.org_dists_stable_updates_non-free_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org
stable/updates/contrib Packages
(/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org
testing/main Packages
(/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org
testing/non-free Packages
(/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_non-free_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.de.debian.org
testing/contrib Packages
(/var/lib/apt/lists/ftp.de.debian.org_debian_dists_testing_contrib_binary-i386_Packages)
- stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old
ones used instead.



Hvorfor virker det fra en server i tyskland og ikke på min server
herhjemme ?

Det skal siges den sources.list debian installerede virkede fint, men
var til 'stable' så derfor overskrev jeg med den fra min anden server.

Håber der er nogen der kan hjælpe

--
Søren Reinke
www.Xray-Mag.com/ - dit gratis dykkermagasin på nettet

 
 
Rasmus Bøg Hansen (21-06-2005)
Kommentar
Fra : Rasmus Bøg Hansen


Dato : 21-06-05 23:14

Søren Reinke <soren@fjern.reinke.dk> hit the keyboard.
Afterwards the following was on the screen:

> Jeg har lige installeret min server med nyeste debian 'net install'
>
> Jeg hentede så sources.list fra min server i tyskland hvor det hele
> virker fint.
>
> Den indeholder:
> deb http://security.debian.org/ stable/updates main non-free contrib
> deb http://ftp.de.debian.org/debian/ testing main non-free contrib
> deb-src http://ftp.de.debian.org/debian/ testing main non-free contrib
>
> Når jeg i tyskland laver:
> apt-get update
>
> henter den listerne og alt er okay, men prøver jeg på min nye server
> herhjemme sker der dette:
>
> home:/etc/apt# apt-get update
> Err http://ftp.de.debian.org testing/main Packages
> 404 Not Found [IP: ::ffff:213.239.197.149 80]

Det lader til at du forsøger at bruge IPv6.

> Hvorfor virker det fra en server i tyskland og ikke på min server
> herhjemme ?

Du har nok konfigureret IPv6, som virker hos din tyske udbyder men
ikke hos din danske udbyder?

Kig evt. i /etc/network/interfaces.

/Rasmus

--
-- [ Rasmus "Møffe" Bøg Hansen ] ---------------------------------------
Tell them we are not Gods but SysAdmins,
which is the next best thing.
----------------------------------------------[ moffe at zz9 dot dk ] --

Søren Reinke (22-06-2005)
Kommentar
Fra : Søren Reinke


Dato : 22-06-05 06:54

>>
>>home:/etc/apt# apt-get update
>>Err http://ftp.de.debian.org testing/main Packages
>> 404 Not Found [IP: ::ffff:213.239.197.149 80]
>
>
> Det lader til at du forsøger at bruge IPv6.
>
>
>>Hvorfor virker det fra en server i tyskland og ikke på min server
>>herhjemme ?
>
>
> Du har nok konfigureret IPv6, som virker hos din tyske udbyder men
> ikke hos din danske udbyder?
>
> Kig evt. i /etc/network/interfaces.

Hej Rasmus,

Inholdet af den fil ser sådanne her ud:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.5
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

Er det ikke okay ?

Debian installerede en 2.4 kerne, og jeg smed så via aptitude end 2.6
kerne på, kan det tænkes det har noget med det at gøre ?

--
Søren Reinke
www.Xray-Mag.com/ - dit gratis dykkermagasin på nettet

Søg
Reklame
Statistik
Spørgsmål : 177558
Tips : 31968
Nyheder : 719565
Indlæg : 6408929
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste