freshly installed Debian-netinst, configured internet connection. Pinged Google - all transmitted packets were received, 0% loss.
Yet I am not sure if I have internet connection for what ever package I am trying to install using apt-get install package_name, I receive
E: Unable to locate package package_name
How can I check internet connection from CLI?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How to check internet connection from CLI?
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: How to check internet connection from CLI?
This tells you that you do have an internet connection,andrei186 wrote:Pinged Google - all transmitted packets were received, 0% loss.
What package are you trying to install?andrei186 wrote:I am trying to install using apt-get install package_name, I receive
E: Unable to locate package package_name
Post your /etc/apt/sources.list
Re: How to check internet connection from CLI?
Thank you for the right question. I looked up this file and noticed that all the entries there were commented out.4D696B65 wrote:andrei186 wrote:
Post your /etc/apt/sources.list
Un-commented and it started working