Thursday, January 8, 2009

debian updates error

Problems encoutered today

Error in getting updates!!

We keyed in the following command to get the updates

#apt-get update?

As we were not able to get updates from the debian server, we had to troubleshoot it.

The following command are used to check the network stauts and configurations in order to determine the errors

#ifconfig eth1 [ this is to allow us to see the status of the network interface ]
contains information such as the IP addresses, bcast and mask

#traceroute http://www.yahoo.com/ [ allow us to check the ping status ]

#cat /etc/resolv.conf [ show us the name server ]

#route n [ show the destination, gateway and Genmask ]

#vi /etc/network/interfaces [ to configure the debian IP , gateway and netmask ]
or else use #iface eth1 inet dhcp

Once the #ifconfig eth1 show the inet addr as 172.20.178.13 it is able to ping to the outside.

After which all updates and downloads patch could be installed and the problem of getting the connection to the update server is done.

No comments: