Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on "sudo apt-get update" #666

Closed
kylegoch opened this issue Sep 27, 2016 · 1 comment
Closed

Error on "sudo apt-get update" #666

kylegoch opened this issue Sep 27, 2016 · 1 comment

Comments

@kylegoch
Copy link

kylegoch commented Sep 27, 2016

In Vagrant(1.8.5) using bento/ubuntu-14.04(virtualbox), when I run sudo apt-get update I get the following:
E: Unable to determine file size for fd 9 - fstat (2: No such file or directory)

This is using the most recent bento box from Atlas. I could have sworn that several months ago (last time i used Vagrant plus ubuntu) that I was able to run that command.

@kylegoch kylegoch changed the title Error on "sudo yum update" Error on "sudo apt-get update" Sep 28, 2016
@kylegoch
Copy link
Author

I found the issue, leaving here in case a future person finds this.

This was caused by my Vagrantfile. It had /tmp mounted to the host machine. However when you run sudo apt-get update it is trying to write to /tmp but it cant do it properly.

Remove /tmp as a shared folder and it will go back to normal operations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant