OPENi-ict / openi-dev-env

0 stars 0 forks source link

first vagrant up fails on new box #2

Closed openi-fokus closed 10 years ago

openi-fokus commented 10 years ago
==> default: 2014-07-17 21:50:02 (21.3 KB/s) - `get-pip.py' saved [1340903/1340903]
==> default: Downloading/unpacking pip
==> default: Installing collected packages: pip
==> default: Successfully installed pip
==> default: Cleaning up...
==> default: Downloading/unpacking virtualenv
==> default: Installing collected packages: virtualenv
==> default: Successfully installed virtualenv
==> default: Cleaning up...
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: You might want to run 'apt-get -f install' to correct these:
==> default: The following packages have unmet dependencies:
==> default:  apache2 : Depends: apache2-mpm-worker (= 2.2.22-1ubuntu1.6) but it is not going to be installed or
==> default:                     apache2-mpm-prefork (= 2.2.22-1ubuntu1.6) but it is not going to be installed or
==> default:                     apache2-mpm-event (= 2.2.22-1ubuntu1.6) but it is not going to be installed or
==> default:                     apache2-mpm-itk (= 2.2.22-1ubuntu1.6) but it is not going to be installed
==> default:            Depends: apache2.2-common (= 2.2.22-1ubuntu1.6) but it is not going to be installed
==> default:  sbt : Depends: java2-runtime
==> default:  scala : Depends: openjdk-6-jre but it is not going to be installed or
==> default:                   java6-runtime
==> default:          Depends: libjansi-java but it is not going to be installed
==> default: E
==> default: : 
==> default: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: You might want to run 'apt-get -f install' to correct these:
==> default: The following packages have unmet dependencies:
==> default:  libapache2-mod-php5 : Depends: apache2-mpm-prefork (> 2.0.52) but it is not going to be installed or
==> default:                                 apache2-mpm-itk but it is not going to be installed
==> default:                        Depends: apache2.2-common but it is not going to be installed
==> default:                        Depends: php5-common (= 5.3.10-1ubuntu3.13) but it is not going to be installed
==> default:                        Recommends: php5-cli but it is not going to be installed
==> default:  php5 : Depends: php5-common (>= 5.3.10-1ubuntu3.13) but it is not going to be installed
==> default:  sbt : Depends: java2-runtime
==> default:  scala : Depends: openjdk-6-jre but it is not going to be installed or
==> default:                   java6-runtime
==> default:          Depends: libjansi-java but it is not going to be installed
==> default: E
==> default: : 
==> default: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
==> default: rm: 
==> default: cannot remove `/etc/apache2/sites-enabled/000-default': No such file or directory
==> default: sed: can't read /etc/apache2/ports.conf: No such file or directory
==> default: /tmp/vagrant-shell: line 138: /etc/apache2/sites-enabled/builder_apache_conf: No such file or directory
==> default: /tmp/vagrant-shell: line 185: /etc/init.d/apache2: No such file or directory
==> default:  * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
==> default:  * Reconfiguring network interfaces...
==> default: ssh stop/waiting
==> default: ssh start/running, process 32134
==> default: ssh stop/waiting
==> default: ssh start/running, process 32185
==> default:    ...done.
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: You might want to run 'apt-get -f install' to correct these:
==> default: The following packages have unmet dependencies:
==> default:  linux-image-generic-lts-raring : Depends: linux-image-3.8.0-44-generic but it is not going to be installed
==> default:  sbt : Depends: java2-runtime
==> default:  scala : Depends: openjdk-6-jre but it is not going to be installed or
==> default:                   java6-runtime
==> default:          Depends: libjansi-java but it is not going to be installed
==> default: E
==> default: : Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
dmccarthy-dev commented 10 years ago

I fixed this and a number of other issues with the build. The problem above was created because of a capital Y in the apt-get install commands :(. I also updated the readme as the provision_openi.sh needs to be executed as bash.