Posts Tagged ‘debianc’

Type in terminal:

sudo nano /etc/apt/sources.list

Then replace everything there with:
# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ – Official Snapshot i386 LIVE/INSTALL $
# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ – Official Snapshot i386 LIVE/INSTALL $

## Security updates
deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-fr$

You will have something like this:

10854172_10152874573749035_602195891_othen ctrl+x to save the changes and press enter.

Then in terminal type

sudo apt-get upgrade

Then

sudo apt-get update

10844681_10152874594259035_189749895_o

And you are done. 🙂

Advertisements

ubuntu-flush-dnsHello guys,

Maybe you have notice that sometimes your network has trouble at reaching some or many websites.
An example of these is the common “404” error . This may be due to a corrupt local DNS cache.
I will show you some ways to clear your local DNS cache on some Operating Systems.

  • On GNU-linux / unix distros, we have to mention that there are many ways of DNS flushing, it depends on the OS. Flush nscd DNS cache:  nscd is able to speed up consecutive access to the same data dramatically and increase overall system performance. So lets restart nscd.

$ sudo /etc/init.d/nscd restart
OR
# service nscd restart
OR
# service nscd reload
OR
nscd -i hosts (Clear local DNS cache for current user)
nscd -I hosts (Clear local DNS cache for all users)

  • Mac OS X
    10.5.2 and above 
    (application -> utilities -> terminal)

sudo killall -HUP mDNSResponder

(To run this command, you will need to know the computer’s Admin account password.)

10.5.1 and below

sudo dscacheutil -flushcache

  • Windows 8(Press Win+X to open the WinX Menu then Right-click on Command Prompt and select Run as Administrator)

ipconfig /flushdns

  • Windows Vista / Windows 7(Right-click on Command Prompt and choose Run as Administrator)

ipconfig /flushdns

  • Windows XP(command prompt line, CMD

ipconfig /flushdns

Have a nice day.