I've installed Ubuntu server 16.04 in a VirtualBox. If I try to install software with apt-get it works fine, but curl test.de or wget get.typo3.org/8.4.0 shows me that the host could not be resolved. The Adapter at the VirtualBox is NAT.

  • 2
    Are you behind a proxy? You may need to set the http_proxy environment variable. Nov 17, 2016 at 20:13
  • 1
    Is ping working? What do you have in /etc/resolv.conf?
    – s.paszko
    Nov 17, 2016 at 20:47
  • I had the same issue. I managed to solve it with this: unix.stackexchange.com/a/349365/239064 I would post it as an answer but I'm really not sure what's going on so I'll just leave it as a comment here
    – KNejad
    Aug 12, 2019 at 16:30


You must log in to answer this question.

Browse other questions tagged .