Skip to content

Error on "sudo apt-get update" #666

Closed

Description

@kylegoch

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.

Activity

  1. changed the title [-]Error on "sudo yum update"[/-] [+]Error on "sudo apt-get update"[/+] on Sep 28, 2016
  2. kylegoch commented on Sep 28, 2016

    @kylegoch
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions