ubuntu/trusty64 wont update package

45 views
Skip to first unread message

alex.s...@algopix.com

unread,
May 10, 2016, 5:57:42 AM5/10/16
to Vagrant
Hi
I have strange problem. In my office network im unable to use apt-get commands on ubuntu/trusty64 instance.It works fine if i bring my laptop home.

I have Windows 10 Home 64 bit.
I've installed vagrant 1.8.1 x64.
I've installed VirtualBox 5.0.20 x64.

I've initialized my vagrant box like this
vagrant init ubuntu/trusty64

It downloaded and startup new box.
I can connect to it by ssh.
When i login to it and run following command

 sudo apt-get update
i get following result

Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:2 http://security.ubuntu.com trusty-security/main Sources [113 kB]
Ign http://archive.ubuntu.com trusty InRelease
Get:3 http://security.ubuntu.com trusty-security/universe Sources [36.2 kB]
Get:4 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:5 http://security.ubuntu.com trusty-security/main amd64 Packages [466 kB]
Get:6 http://archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Get:7 http://security.ubuntu.com trusty-security/universe amd64 Packages [127 kB]
Get:8 http://archive.ubuntu.com trusty Release.gpg [72 B]
Get:9 http://security.ubuntu.com trusty-security/main Translation-en [257 kB]
Get:10 http://archive.ubuntu.com trusty-updates/main Sources [274 kB]
Get:11 http://security.ubuntu.com trusty-security/universe Translation-en [75.1 kB]
Get:12 http://archive.ubuntu.com trusty-updates/restricted Sources [5,352 B]
Get:13 http://archive.ubuntu.com trusty-updates/universe Sources [154 kB]
Get:14 http://archive.ubuntu.com trusty-updates/multiverse Sources [5,928 B]
Get:15 http://archive.ubuntu.com trusty-updates/main amd64 Packages [765 kB]
Get:16 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:17 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [359 kB]
Get:18 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [13.2 kB]
Get:19 http://archive.ubuntu.com trusty-updates/main Translation-en [383 kB]
Get:20 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [7,227 B]
Get:21 http://archive.ubuntu.com trusty-updates/restricted Translation-en [3,699 B]
Get:22 http://archive.ubuntu.com trusty-updates/universe Translation-en [188 kB]
Get:23 http://archive.ubuntu.com trusty-backports/main Sources [8,948 B]
Get:24 http://archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:25 http://archive.ubuntu.com trusty-backports/universe Sources [34.5 kB]
Get:26 http://archive.ubuntu.com trusty-backports/multiverse Sources [1,898 B]
Get:27 http://archive.ubuntu.com trusty-backports/main amd64 Packages [9,998 B]
Get:28 http://archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:29 http://archive.ubuntu.com trusty-backports/universe amd64 Packages [41.5 kB]
Get:30 http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1,571 B]
Get:31 http://archive.ubuntu.com trusty-backports/main Translation-en [5,986 B]
Get:32 http://archive.ubuntu.com trusty-backports/multiverse Translation-en [1,215 B]
Get:33 http://archive.ubuntu.com trusty-backports/restricted Translation-en [28 B]
Get:34 http://archive.ubuntu.com trusty-backports/universe Translation-en [36.0 kB]
Hit http://archive.ubuntu.com trusty Release
Err http://archive.ubuntu.com trusty Release


Fetched 3,588 kB in 6s (517 kB/s)
Reading package lists... Done
W
: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192


W
: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release


W
: Some index files failed to download. They have been ignored, or old ones used instead.

If i run same command when my laptop connected to my home network, everything runs ok.

I've installed ubuntu 14.04 64 bit as guest operation system on Virtual Box and ran same apt-get update command.
It worked ok.

Ive never changed vagrant file so its default vagrant file for ubuntu/trusty64.
I understand that this problem is linked to router configuration at work office, but i dont know where to look exactly.
Any help will be appreciated.
Thanks


Alvaro Miranda Aguilera

unread,
May 10, 2016, 5:25:37 PM5/10/16
to vagra...@googlegroups.com
Hello,

To discard the VM try the same command with other ubuntu, ideally other trusty.


Perhaps you need to setup a proxy to make things run faster in the office ?

Or maybe set a different dns ?

Alvaro.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/992c23c2-0f71-430b-ad55-890bcd6b4432%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages