You are here
Peter Robert Jones - Tue, 2009/10/27 - 13:50
Hi,
I have just installed the new Ruby on Rails Appliance through Virtual box. I can connect via a web browser,
But when I login to a command prompt and do apt-get update
I get the eror below:
Please can you help?
rails login: root Password: Linux rails 2.6.24-24-generic #1 SMP Sat Aug 22 01:06:14 UTC 2009 i686 The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To access official Ubuntu documentation, please visit: http://help.ubuntu.com/ root@rails:~# sudo apt-get update Err http://archive.ubuntu.com hardy-security Release.gpg Could not connect to archive.ubuntu.com:80 (91.189.88.45). - connect (111 Connection refused) [IP: 91.189.88.45 80] Err http://archive.ubuntu.com hardy Release.gpg Could not connect to archive.ubuntu.com:80 (91.189.88.45). - connect (111 Connection refused) [IP: 91.189.88.45 80] Err http://archive.ubuntu.com hardy-updates Release.gpg Could not connect to archive.ubuntu.com:80 (91.189.88.45). - connect (111 Connection refused) [IP: 91.189.88.45 80] Err http://archive.turnkeylinux.org hardy-security Release.gpg Could not connect to archive.turnkeylinux.org:80 (97.107.134.22). - connect (111 Connection refused) Err http://archive.turnkeylinux.org hardy Release.gpg Could not connect to archive.turnkeylinux.org:80 (97.107.134.22). - connect (111 Connection refused) Reading package lists... Done W: Failed to fetch http://archive.turnkeylinux.org/ubuntu/dists/hardy-security/Release.gpg Could not connect to archive.turnkeylinux.org:80 (97.107.134.22). - connect (111 Connection refused) W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-security/Release.gpg Could not connect to archive.ubuntu.com:80 (91.189.88.45). - connect (1 11 Connection refused) [IP: 91.189.88.45 80] W: Failed to fetch http://archive.turnkeylinux.org/ubuntu/dists/hardy/Release.gpg Could not connect to archive.turnkeylinux.org:80 (97.107.134.22). - connec t (111 Connection refused) W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/Release.gpg Could not connect to archive.ubuntu.com:80 (91.189.88.45). - connect (111 Connec tion refused) [IP: 91.189.88.45 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/Release.gpg Could not connect to archive.ubuntu.com:80 (91.189.88.45). - connect (11 1 Connection refused) [IP: 91.189.88.45 80] W: Some index files failed to download, they have been ignored, or old ones used instead. W: You may want to run apt-get update to correct these problems root@rails:~#
Forum:
It looks like your system
It looks like your system does not have access to the net. To confirm
Assuming thats the problem I would suspect that either you have host only networking (ie it can connect fine to the host machine but not the outside world) or you have a firewall issue.
Try altering the network connection (in the VBox settings for your VM) to 'bridged mode'.
apt-get update fails
Hi,
I get the following error when I try to update the apt-get.
Unable to connect to archive.turnkeylinux.org http:
Please suggest me, how to overcome this issue?
Thanks and Regards,
Pandiarajan
Looks like that for some reason you cannot connect to TKL repo
Try pinging it (ie ping archive.turnkeylinux.org) and see what happens. It may have just been a momentary issue, or it could be an issue with your DNS, networking or some proxying or firewall issues. Basically it could be lots of things - but most of them on your end.
Also it looks like you are using the old appliances. Perhaps also consider upgrading to a new appliance.
Hi, ping
Sometimes need to be patient
I'd just wait and hope that it completes.
Regardless I just doublechecked from where I am and it's all working fine from here. You're actually getting a better ping than me and we are both resolving the same IP so have no idea at all really. My guess would be a networking/internet issue, but I'm only guessing. You'll need to do some troubleshooting.
Hi Jeremy, Thanks for your
Hi Jeremy,
Thanks for your reply..
Regards,
Pandiarajan
I have the same problem
I can ping all the repositories with very low latency, but apt-get update fails completely
I am running the applieance from virtualbox in bridged mode
Hi, Please check the Proxy
Hi,
Please check the Proxy server that you use!!
Thanks,
Pandiarajan K
Yep, I am pretty sure it's a
Yep, I am pretty sure it's a proxy issue... I am going to switch the networking mode of the appliance in virtual box to NAT with the necessary port forwarding so that I can use the IP of the host which has the necessary clearances to acess the Ubuntu repos...
thanks,
That sounds like a reasonable plan
I don't have much experience with running behind proxies, but I have heard that apt can be a pain to run behind a proxy. So although your plan will involve a little mucking around with VBox NAT config it hopefully will work ok for you, but I'm not sure. Be interesting to hear.
So let us know how you go. If your plan works, it'd be great if you could post instructions for others in the same situation to follow.
apt-get upgrade freeze
Hello, when I try running the following commands
apt-get upgrade
or
on the Turnkey LAMP install my computer freezes. Any suggestiongs on what to do?
I am running the install on VMware.
Any suggestions would be greatly appreciated!
Where are you running commands from?
I'm not sure at all, but many have reported various issues with VMware ESX/ESXi so perhaps it's worth having a look through some of the threads and try a few things (if that's what you meant by VMware). If you meant VMware player then perhaps try VirtualBox. It's much better IMO.
My other thought is that it could be comething to do with the console (not sure how you are currently connecting - but assuming you are using a VMware window/console). Perhaps try running via SSH and/or WebShell.
apt-get update fails | Host Firewall issue
Just got my new core Turnkey VM downloaded and open on VMWare Workstation... trying to execute Security Updates and get connection errors:
Found out that since this is my working machine, I have a Host Firewall installed for security reason (basic) it was blocking all VM connections to the world, so I was able internally to connect to WebMin, SSH, etc..
Solution: Depending on your AV vendor, you Just have to Include the Virtualization software you use to the safet apps an allow it to connect to the world... and that´s It.
Just after the rules get worked out I was able again to download the updates... and get rid of the Connection time out error.
Hope this help!
AG
Update problem how to soled ?
Get:384 http://security.kali.org/kali-security/ kali/updates/main rpcbind amd64 0.2.0-8+deb7u1 [46.9 kB]
Fetched 173 MB in 1h 31min 5s (31.7 kB/s)
Failed to fetch http://security.kali.org/kali-security/pool/main/v/vlc/libvlc5_2.0.3-5+d... Connection failed
Failed to fetch http://security.kali.org/kali-security/pool/main/libx/libx11/libx11-xcb1... Connection failed
Failed to fetch http://security.kali.org/kali-security/pool/main/o/openjdk-6/openjdk-6-j... Connection failed
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Looks like your using Kali Linux
Having said that it looks like a pretty generic problem and personally the first step I would take is to follow the suggestions!
apt-get update fails 111
Unfortunately it's a known issue
Please see my comment on another thread.
Should be back up now
Please see my comment on the GitHub issue for further details.
all good here
You're most welcome, sorry about the hiccup...
You're most welcome, sorry about the hiccup... If you have any questions or concerns, please feel free to open a new thread (requires a free website user account).
Add new comment