This post may help newbies if they are trying to install ‘pptp‘ or any other package on their Debian Box, as i was trying and got stuck due to this error.

root@vpn:/# apt-get install pptpd
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package pptpd

After some google i got the solution.

`

Here it is :

Step-1 Open ‘sources.list’ file

nano /etc/apt/sources.list

Step-2 Add these new sources

deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free

Step-3 Update your list

apt-get update

Now try to install your pptp package, hope it will work if you have any question please post in comments.Thanks.!

Similar Posts