Debian Problem

This is a discussion about Debian Problem in the Everything Linux category; Well, when i run apt-setup, when i select a mirror, it stops at 31%. What could be the problem?.

Everything Linux 1800 This topic was started by , . Last reply by ,


data/avatar/default/avatar35.webp

60 Posts
Location -
Joined 2003-03-09
Well, when i run apt-setup, when i select a mirror, it stops at 31%. What could be the problem?

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Mar 11
Created
Mar 17
Last Response
0
Likes
3 minutes
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar38.webp

64 Posts
Location -
Joined 2003-01-03
Just how long does it sit there?
 
It should timeout after about 4 minutes... Apt-get update is probably hanging on an out of date mirror string.
 
It is waiting for DNS timeout, and FTP/HTTP timeout...
 
Try the "archive.progeny.com "
 
Edit your /etc/apt/sources.list and put in a set of the following.
 
For Stable(Woody) use:
deb ftp://archive.progeny.com/debian stable main non-free contrib
deb-src ftp://archive.progeny.com/debian stable main non-free contrib
 
For Testing(Sarge) use:
deb ftp://archive.progeny.com/debian testing main non-free contrib
deb-src ftp://archive.progeny.com/debian testing main non-free contrib
 
For Unstable(Sid) use:
deb ftp://archive.progeny.com/debian unstable main non-free contrib
deb-src ftp://archive.progeny.com/debian unstable main non-free contrib
 
Always good to use these...
For Debian Security use:
deb http://security.debian.org/ stable/updates main contrib non-free
 
And for Java:
deb ftp://ftp.tux.org/pub/java/debian woody non-free
 
The do:
apt-get update
apt-get -u upgrade or apt-get -u dist-upgrade
 
Follow prompts from there.

data/avatar/default/avatar35.webp

60 Posts
Location -
Joined 2003-03-09
OP
Thanks. I found what the problem is... When it boots i have net... Passing some minutes i don't...
 
I can't ping nothing, only the LAN

data/avatar/default/avatar38.webp

64 Posts
Location -
Joined 2003-01-03
Please take a look at the file /etc/network/interfaces

Code:
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.auto lo eth0iface lo inet loopbackiface eth0 inet static        address 192.168.1.90        netmask 255.255.255.0        gateway 192.168.1.1### END OF DEBCONF AREA.  PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.
 
If you have something like this... then you should be fine... if it is
 

Code:
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.auto lo eth0iface lo inet loopbackiface eth0 inet dhcp        hostname somename### END OF DEBCONF AREA.  PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.
 
If you have something like that... do ifdown eth0 wait a few seconds then do ifup eth0
 
See if that takes care of the issue. Other than that... without more info on your DHCP server or you "LAN" we can't see into your mind ... though I'd like that ability to read most people's minds.... :x

data/avatar/default/avatar35.webp

60 Posts
Location -
Joined 2003-03-09
OP
I'm on a LAN, using a gateway. This pc is 192.168.0.2, using 192.168.0.1 for gateway.

data/avatar/default/avatar35.webp

60 Posts
Location -
Joined 2003-03-09
OP
Quote:Please take a look at the file /etc/network/interfaces
Code:
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.auto lo eth0iface lo inet loopbackiface eth0 inet static        address 192.168.1.90        netmask 255.255.255.0        gateway 192.168.1.1### END OF DEBCONF AREA.  PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.


If you have something like this... then you should be fine... if it is

i have this correct...

data/avatar/default/avatar35.webp

60 Posts
Location -
Joined 2003-03-09
OP
Better:
 
I installed Debian Woody. i have this pc (Gateway) and a pc in my room connected to a switch (switch connected to this PC). When i make apt-get or when i'm going to see a site, the internet goes down. This PC lan IP is 192.168.0.1, and i putted it as the gateway on the Debian machine. The Debian machine is 192.168.0.2. I configured the DNS also...

data/avatar/default/avatar35.webp

60 Posts
Location -
Joined 2003-03-09
OP
I have Red Hat in the gateway. When i installed redhat in this pc the network worked perfectly!!!
When i tryed to install gentoo... It didn't worked again. I think the problem is the gateway. 8)

data/avatar/default/avatar35.webp

60 Posts
Location -
Joined 2003-03-09
OP
I found the problem. I had the policies incorrect. ;(