Suas operações apt-get
estão falhando porque o DNS não está configurado corretamente na sua caixa Ubuntu, portanto apt
não pode se comunicar com os repositórios especificados.
Ter sua caixa configurada com o endereço DHCP significa que o cliente DHCP configurará automaticamente o DNS para você.
Como alternativa, consulte esta documentação para saber como especificar os servidores DNS que sua caixa usará ao configurar um endereço IP estático: link