apt-get install build-essential not working on vagrant through provision

I have the following in my Vagrantfile. It install vim, but it does not install nodejs, git etc. How to change it so that it run apt-get install build-essential git-core python-software-properties...

SFML/OpenGL.hpp missing on linux

Im trying to port my sfml opengl game to linux but I ran into some problems. I managed to get a small opengl program to run as well as a sfml program but for some reason i cant get sfml openGL...

Install Webkit for Standalone HTML Desktop App

A few months ago I converted my web application to run as a linux app (kind of, it's just in a web browser to give the illusion that it's a full fledged linux app) I made it on Ubuntu 14.04 and...

Error occurred while installing openstack after setting FORCE=yes

I tried installing openstack through devstack using the following commands $ git clone https://github.com/openstack-dev/devstack.git -b stable/havana devstack/ i followed this link to do it. In...

Perl conflicts during upgrade to squeeze/testing

In a pursuit to get python2.7 on my server system (running Debian squeeze), I've run into some trouble upgrading all packages. I'm completely at a loss of what to do from here: # apt-get upgrade...

Install opencv AWS instance

I am using a reserved instance in AWS ec2 and am trying to install opencv on it. When I tried, sudo apt-get build-essential I got the following output Do you want to continue? [Y/n] y ...

Packer/Amazon EBS/Ubuntu - Inconsistent PPAs

TL;DR; Packer is inconsistently ignoring the AWS Ubuntu PPAs, which is breaking my builds. Why? I have a job in Jenkins that uses Packer's Amazon EBS builder to create an AMI, based on the...

python pip error pkg_resources.DistributionNotFound

I'm trying to install a new module, but I found that pip doesn't work - it shows pkg_resources.DistributionNotFound: The 'pip==1.5.6' distribution was not found and is required by the...

Install pip in docker

I'm not able to install pip in Docker. Here's my Dockerfile: FROM ubuntu:14.04 # Install dependencies RUN apt-get update -y RUN apt-get install -y git curl apache2 php5 libapache2-mod-php5...

Setting up Vagrant for django tutorial

I have found a django beginner+ tutorial. However, I encountered an issue I can't resolve by myself. First I changed all precise64 to precise32, because even if I run 64 bit Xubuntu 16.04, my...

Error while trying to mount S3 bucket into Ubuntu 14.04 EC2 instance

I have tried the following link to mount S3 bucket into EC2 : https://forums.aws.amazon.com/message.jspa?messageID=313009 I started typing the following commands : wget...

can't delete broken mysql install nor fix dependencies (Kali 2)

In the process of upgrading my Kali2 distrib, I ran into a chicken-and-egg problem. When I try to install something (anything) or even to autoremove, I get this: [email protected]:~$ sudo apt-get...

Error to install pip on google-cloud

) I tried to install pip on a gcloud server with ubunto 16.04 I got this error massage. Hopefuly you can help me. https://pastebin.com/Pdyt5n5j maybe pastbin is better to...

How to fix broken apt-get on debian wheezy?

I'm using a debian wheezy at work. Packages are held in specific versions. My /etc/apt/sources.list contains lines like : deb http://mycompany.com/debian/debian-main/ wheezy main non-free...

Why Docker container images become so large while deploying Python 3.6, Virtualenv, Flask, Gunicorn on Ubuntu 16.04?

While deploying the flask application within virtualenv python3 -m venv FLSK-ENV Dockerfile: FROM appcontainers/ubuntu:xenial MAINTAINER user <user> RUN apt-get install -y...

How to use HIDAPI in Qt Creator?

I unpacked the entire hidapi-0.7.0 download (https://github.com/downloads/signal11/hidapi/hidapi-0.7.0.zip) into my project directory, then added hidapi-0.7.0/hidapi/hidapi.h and...

Hash Sum mismatch in ubuntu 16.04.3

[email protected]:~$ sudo apt install python-pip && sudo apt install python3-pip Reading package lists... Done Building dependency tree Reading state information... Done The following...

problems about using apt-get install build-essential and make C source file

I'm going to write C code on Ubuntu 17.10, when I was about to use make command to compile, the terminal message was: [email protected]:~/Downloads/datalab-handout$ make world The program 'make' can...

How to install pip into a ubuntu container while keeping layers to a minimum?

I'm interested in building a small container image which has pip-installed packages, but unfortunately, installing python3-pip via apt-get pulls in a lot of dependencies (348MB) into an otherwise...

Gitlab CI Runner can't import Google.Cloud in Python

I'm just trying to run access GCP from python in a shared gitlab runner. I suspect there is something about the runner's OS that I don't understand. I can't seem to import google.cloud. I...

Rails & Docker: configure bundler to run bundle install in a docker build for Rails.4.2.6?

I am having so much trouble with docker. It seems to be a pattern. I have a dockerfile which installs Node.js and Yarn from source repositories fine. I install ruby from the get-apt repositories...

Getting installation error when installing awsebcli on a linux machine

I am getting a new error (only 2 days ago) when deploying to AWS Linux using CircleCI. It seems that the sys_platform is picked as win32, while i am on a Linux box. Not sure if this is a python...

Python3-pip install: http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.3.0-27ubuntu1~18.04 Unreachable

i'm trying to install python3-pip with apt, but it seems that http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.3.0-27ubuntu1~18.04 is unreachable I have already tried...

How to install ansible 2.9+ on ubuntu 18.04 and utilize python3?

I'm trying to install minimal ansible 2.9.x on Ubuntu Bionic (18.04 LTS). The final goal is to build new disk image (using packer) on every commit and want the process to be as fast as...

Google Cloud VM startup script fails to install pip3

I'd like to pass a startup-script to my free f1-micro instance VM in GCP. The command that I'm specifying is the following: gcloud compute instances create dora-scanner --zone=us-central1-a...

Docker building node image - Stuck

I am trying to build a (node.js + python) image. This is the dockerfile i used: FROM ubuntu RUN DEBIAN_FRONTEND=noninteractive apt-get update RUN DEBIAN_FRONTEND=noninteractive apt-get install -y...

docker python flask gets " Do you want to continue" then "executor failed"

Trying a simple python flask web app in docker 20.10.2, build 2291f61. Doing the: docker build -t hello-world . starts out ok (please see below), but ends with: #6 2.866 After this operation, 305...

Install Python pip in ubuntu using ansible

I am trying to install Python-pip in ubuntu using ansible and then installing python package, But I am getting following error during Python package install task: failed: [X.X.X.X]...

pip install py-find-1st fails on ubuntu20 & centos with python3.9

This is my process. I start a new aws t2.micro ec2 on ubuntu20 and run this script sudo apt-get update sudo apt-get install gcc sudo apt-get install python3.9 sudo apt-get install...