gteti / vagrant-ubuntu-LTS-NN-train-arneis

MIT License
0 stars 0 forks source link

[FEAT] Update the vagrant file to ARNEIS project need #1

Open gteti opened 2 years ago

gteti commented 2 years ago

Latest version output:

 vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'nitindas/ubuntu-18' version '04.04-1593461159' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2225 (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: localhost:2225
    default: SSH username: vagrant
    default: SSH auth method: private key
==> default: Machine booted and ready!
[default] A Virtualbox Guest Additions installation was found but no tools to rebuild or start them.
Reading package lists...
Building dependency tree...
Reading state information...
dkms is already the newest version (2.3-3ubuntu9.7).
linux-headers-4.15.0-108-generic is already the newest version (4.15.0-108.109).
linux-headers-4.15.0-108-generic set to manually installed.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Copy iso file D:\Programmi\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
Mounting Virtualbox Guest Additions ISO to: /mnt
mount: /mnt: WARNING: device write-protected, mounted read-only.
Installing Virtualbox Guest Additions 6.1.26 - guest version is 5.2.8
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.1.26 Guest Additions for Linux........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 4.15.0-108-generic.
update-initramfs: Generating /boot/initrd.img-4.15.0-108-generic
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
An error occurred during installation of VirtualBox Guest Additions 6.1.26. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
Unmounting Virtualbox Guest Additions ISO from: /mnt
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   5.2.8
VBoxService inside the vm claims: 6.1.26
Going on, assuming VBoxService is correct...
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   5.2.8
VBoxService inside the vm claims: 6.1.26
Going on, assuming VBoxService is correct...
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   5.2.8
VBoxService inside the vm claims: 6.1.26
Going on, assuming VBoxService is correct...
Restarting VM to apply changes...
==> default: Attempting graceful shutdown of VM...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
    default: /vagrant => D:/VirtualMachine/testubuntu
==> default: Running provisioner: shell...
    default: Running: inline script
    default: /tmp/vagrant-shell: line 2: /root/.ssh/authorized_keys: No such file or directory
    default: Cannot open display "default display"
    default:
    default:
    default:  Starting main commands!
    default: Adding user `root' to group `vboxsf' ...
    default: Adding user root to group vboxsf
    default: Done.
    default: Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
    default: Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
    default: Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
    default: Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
    default: Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2,029 kB]
    default: Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2,374 kB]
    default: Get:7 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [1,098 kB]
    default: Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [1,403 kB]
    default: Get:9 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [361 kB]
    default: Get:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [55.2 kB]
    default: Get:11 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [28.9 kB]
    default: Get:12 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [65.2 kB]
    default: Get:13 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [572 kB]
    default: Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [454 kB]
    default: Get:15 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages [23.2 kB]
    default: Get:16 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [77.5 kB]
    default: Get:17 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1,166 kB]
    default: Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [297 kB]
    default: Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [82.9 kB]
    default: Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [154 kB]
    default: Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [596 kB]
    default: Get:22 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [1,005 kB]
    default: Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages [29.9 kB]
    default: Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [81.3 kB]
    default: Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,781 kB]
    default: Get:26 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [269 kB]
    default: Get:27 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [59.4 kB]
    default: Get:28 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [28.4 kB]
    default: Get:29 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [139 kB]
    default: Get:30 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [6,480 B]
    default: Get:31 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [20.9 kB]
    default: Get:32 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [4,732 B]
    default: Get:33 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
    default: Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,596 kB]
    default: Get:35 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [386 kB]
    default: Get:36 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [301 kB]
    default: Get:37 http://archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [229 kB]
    default: Get:38 http://archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [507 kB]
    default: Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [11.6 kB]
    default: Get:40 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [27.2 kB]
    default: Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6,808 B]
    default: Get:42 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
    default: Get:43 http://archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages [10.3 kB]
    default: Get:44 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [10.3 kB]
    default: Get:45 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [4,824 B]
    default: Get:46 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.3 kB]
    default: Get:47 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [11.3 kB]
    default: Get:48 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [5,772 B]
    default: Get:49 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [9,260 B]
    default: Get:50 http://archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [2,809 B]
    default: Get:51 http://archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [3,943 B]
    default: Fetched 17.7 MB in 7s (2,603 kB/s)
    default: Reading package lists...
    default:
    default: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    default:
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: The following additional packages will be installed:
    default:   libcurl4
    default: Suggested packages:
    default:   git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
    default:   gitweb git-cvs git-mediawiki git-svn
    default: The following packages will be upgraded:
    default:   curl git libcurl4
    default: 3 to upgrade, 0 to newly install, 0 to remove and 354 not to upgrade.
    default: Need to get 4,302 kB of archives.
    default: After this operation, 22.5 kB of additional disk space will be used.
    default: Do you want to continue? [Y/n] Abort.
    default:
    default:
    default: Downloading Anaconda installer. This may take sometime.
    default:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    default:                                  Dload  Upload   Total   Spent    Left  Speed
100  580M  100  580M    0     0  17.7M      0  0:00:32  0:00:32 --:--:-- 17.9M
    default:
    default:
    default:  Download finished. Starting installation!
    default: bash: https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh: No such file or directory
    default:
    default:
    default:  Creating environment and installing major libraries
    default: /tmp/vagrant-shell: line 35: conda: command not found
    default: /tmp/vagrant-shell: line 36: conda: command not found
    default: /tmp/vagrant-shell: line 37: conda: command not found
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
gteti commented 2 years ago

config.vm.disk :disk, size: "40GB", primary: true is not working.

gteti commented 2 years ago

Need to find commands to configure correctly the installation of vscode.