can't connect to any server through terminal
Hey,
whenever i try to connect to a server to sownload a program or something, the connection fails. I don't have any problems in connecting from a browser or with a email program, and even the add/remove program works fine. typing sudo apt-get updategives me this output E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable) E: Unable to lock the list directory i tried to ping a couple of websites, including archive.ubuntu.com and none work. it seems that it is trying to attempt the connection, but there is no response. anyone have any idea? thank you Lor |
The inability to lock is completely different from being unable to connect to archive.ubuntu.com, which I can ping just fine. You might want to try a different Ubuntu mirror.
|
i managed to change the morror on the add/remove program, but i do not know how i could do so in terminal.
how can i unlock it? and anyways, why when i try to ping something it just doesn't give any answer. thanx again |
Can you ping google.com?
Try removing the lock file to prevent a stale lock. |
i tried to ping google before..
same thing happens outputs PING www.l.google.com (72.14.253.104) 56(84) bytes of data. and gets stuck...for hours...if i don't close the terminal. which are the locks that i have to remove.. sorry i'm a total newbie... thanx |
The lock from your error message is: /var/lib/apt/lists/lock
Why pinging www.l.google.com? Seems like your system has a problem sending outgoing pings. |
i pinged www.google.com, but it is redirected to www.l.google.com automatically
i removed "lock" and launched apt-get update/upgrade it connects and does its stuff.. now i tried to install the file hplip-2.2.7.run, but launching it with sh, as said on the installation page. the response is, after unpacking all the files: INSTALL MISSING OPTIONAL DEPENDENCIES ------------------------------------- warning: There are 6 missing OPTIONAL dependencies. note: Installation of dependencies requires an active internet connection. warning: Missing REQUIRED dependency for option 'network': libcrypto (libcrypto - OpenSSL cryptographic library) warning: Missing REQUIRED dependency for option 'network': libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files) warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python) warning: Missing REQUIRED dependency for option 'scan': sane-devel (SANE - Scanning library development files) warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan)) warning: Missing OPTIONAL dependency for option 'scan': scanimage (scanimage - Shell scanning program) CHECKING FOR NETWORK CONNECTION ------------------------------- error: The network appears to be unreachable. Installation cannot complete without access to error: distribution repositories. Please check the network and try again. it appears that there is no network connection...as i previously mentioned. i don't know if it has problems in finding the libraries in particular websites or what. still pinging whatever website www.yahoo.com gives PING www.yahoo-ht3.akadns.net (209.131.36.158) 56(84) bytes of data. |
restless: for some odd reason I did EXACTLY what you did and ran into exactly the same issues.
So far I've been trying to mess with the repositories but no luck. Please keep posting in this thread and so will I. Let's hope we can find a solution for this problem. |
fdbecker
well i solved the problem with apt-get update/upgrade. the ping problem continues, but i found out is barred on my network.. i was just using it to see whether i could ping any random website...and see if the network was connected. i had to change something in a file for apt get, i could look up if you need to know. can't remember on top of my head now. then.. if you need to install the printer drivers you can do it manually following these instructions http://hplip.sourceforge.net/install...os/ubuntu.html it worked fine for me ciao Lor |
All times are GMT -5. The time now is 02:12 PM. |