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'.
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.
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.
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.
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.
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!
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.
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