ptwobrussell / Mining-the-Social-Web-2nd-Edition

The official online compendium for Mining the Social Web, 2nd Edition (O'Reilly, 2013)
http://bit.ly/135dHfs
Other
2.9k stars 1.49k forks source link

stdin: is not a tty Problem #302

Open chimere opened 8 years ago

chimere commented 8 years ago

I've run into most of the problems described on this forum since i started trying to use this book two weeks ago. It's a real shame that the issues keep mounting i use OS X El Capitan with python 2.7 as default and also have Jupiter Notebook on python 3.5. I need help step by step instructions or i will completely give up. This after purchasing the two editions of of this book and finally making out time to go through the contents. ptwobrussell your action is needed.

Thank you

Here's my output.

Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'precise64'... ==> default: Matching MAC address for NAT networking... ==> default: Setting the name of the VM: Mining-the-Social-Web-2nd-Edition_default_1467847637349_83183 ==> default: Auto-generating node name for Chef... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 8888 (guest) => 8888 (host) (adapter 1) default: 5000 (guest) => 5000 (host) (adapter 1) default: 27017 (guest) => 27027 (host) (adapter 1) default: 27018 (guest) => 27028 (host) (adapter 1) default: 27019 (guest) => 27029 (host) (adapter 1) default: 28017 (guest) => 28027 (host) (adapter 1) default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Remote connection disconnect. Retrying... default: default: Vagrant insecure key detected. Vagrant will automatically replace default: this with a newly generated keypair for better security. default: default: Inserting generated public key within guest... default: Removing insecure key from the guest if it's present... default: Key inserted! Disconnecting and reconnecting using new SSH key... ==> default: Machine booted and ready! [default] GuestAdditions versions on your host (5.0.20) and guest (4.2.0) do not match. stdin: is not a tty Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: fakeroot linux-headers-3.2.0-23 make patch Suggested packages: make-doc diffutils-doc The following NEW packages will be installed: dkms fakeroot linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic make patch 0 upgraded, 6 newly installed, 0 to remove and 66 not upgraded. Need to get 12.7 MB of archives. After this operation, 68.5 MB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main make amd64 3.81-8.1ubuntu1 [118 kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 [80.2 kB] Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main dkms all 2.2.0.3-1ubuntu3 [73.1 kB] Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB] Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23 all 3.2.0-23.36 [11.4 MB] Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23-generic amd64 3.2.0-23.36 [947 kB] dpkg-preconfigure: unable to re-open stdin: No such file or directory Fetched 12.7 MB in 3s (3,307 kB/s) Selecting previously unselected package make. (Reading database ... 51095 files and directories currently installed.) Unpacking make (from .../make_3.81-8.1ubuntu1_amd64.deb) ... Selecting previously unselected package patch. Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ... Selecting previously unselected package dkms. Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3_all.deb) ... Selecting previously unselected package fakeroot. Unpacking fakeroot (from .../fakeroot_1.18.2-1_amd64.deb) ... Selecting previously unselected package linux-headers-3.2.0-23. Unpacking linux-headers-3.2.0-23 (from .../linux-headers-3.2.0-23_3.2.0-23.36_all.deb) ... Selecting previously unselected package linux-headers-3.2.0-23-generic. Unpacking linux-headers-3.2.0-23-generic (from .../linux-headers-3.2.0-23-generic_3.2.0-23.36_amd64.deb) ... Processing triggers for man-db ... Setting up make (3.81-8.1ubuntu1) ... Setting up patch (2.6.1-3) ... Setting up dkms (2.2.0.3-1ubuntu3) ... Setting up fakeroot (1.18.2-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode. Setting up linux-headers-3.2.0-23 (3.2.0-23.36) ... Setting up linux-headers-3.2.0-23-generic (3.2.0-23.36) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso stdin: is not a tty mount: warning: /mnt seems to be mounted read-only. Installing Virtualbox Guest Additions 5.0.20 - guest version is 4.2.0 stdin: is not a tty Verifying archive integrity... All good. Uncompressing VirtualBox 5.0.20 Guest Additions for Linux............ VirtualBox Guest Additions installer Removing installed version 4.2.0 of VirtualBox Guest Additions... Copying additional installer modules ... Installing additional modules ... Removing existing VirtualBox DKMS kernel modules ...done. Removing existing VirtualBox non-DKMS kernel modules ...done. Building the VirtualBox Guest Additions kernel modules ...done. Doing non-kernel setup of the Guest Additions ...done. You should restart your guest to make sure the new modules are actually used

stdin: is not a tty vagrant_vbguest.machine_loop_guard ==> default: Checking for guest additions in VM... ==> default: Mounting shared folders... default: /vagrant => /Users/chimereokoro/Developer/Mining-the-Social-Web-2nd-Edition Failed to mount folders in Linux guest. This is usually because the "vboxsf" file system is not available. Please verify that the guest additions are properly installed in the guest and can work properly. The command attempted was:

mount -t vboxsf -o uid=id -u vagrant,gid=getent group vagrant | cut -d: -f3 vagrant /vagrant mount -t vboxsf -o uid=id -u vagrant,gid=id -g vagrant vagrant /vagrant

The error output from the last command was:

stdin: is not a tty /sbin/mount.vboxsf: mounting failed with the error: No such device