Install Node.js on Ubuntu

I'm trying install Node.js on Ubuntu 12.10 (Quantal Quetzal), but the terminal shows me an error about lost packages. I tried with this: sudo apt-get install python-software-properties sudo...

Why is python setup.py saying invalid command 'bdist_wheel' on Travis CI?

My Python package has a setup.py which builds fine locally on Ubuntu Trusty and on a fresh Vagrant Ubuntu Trusty VM when I provision it like this: sudo apt-get install python python-dev...

Invalid Command 'RewriteEngine' but mod_rewrite is enabled

I am setting up a gitlab site with this conf file But this error arise: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration I have...

How to make apt-get to ignore ca-certificate issue - cannot install gstreamer dev library

I am currently trying to develop gstreamer plugins by using gstreamer-development library as instructed in: http://docs.gstreamer.com/display/GstSDK/Installing+the+SDK I have an Ubuntu 14.04...

How do I check result of `npm run test` in bash conditional statement

I have a deploy script I only want to run if my test is successful but believe there is an issue with my conditional statement if [ "$VALID" ] #!/bin/bash # install dependencies echo 'INSTALLING...

"ModuleNotFoundError: No module named <package>" in my Docker container

I'm trying to run a python script in a Docker container, and i don't know why, python can't find any of the python's module. I thaught it has something to do with the PYTHONPATH env variable, so i...

How to circumvent "apt-key output should not be parsed"?

I'm automating my Docker installation. Something like this: if apt-key fingerprint 0EBFCD88 | grep "Key fingerprint = 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88" > /dev/null then #...

Ubuntu Python: unable to pip install dlib - Failed building wheel for dlib and machine is almost stuck

I am trying to install dlib (machine learning library) for my django python environment. however, i cant get it installed. there is error and stuck. based on this instruction, this is what I did...

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? inside a Dockerfile

I have the following Dockerfile: FROM ubuntu ENV NPM_CONFIG_LOGLEVEL warn ENV admin_user="PeerAdmin" network_name=$1 version=$2 hversion=hlfv1 fabrik_path=/fabric-tools project_dir=$(pwd)...

rgeos package installation error on linux [R]

I'm trying to install the package rgeos on linux. I get the following error: system("sudo apt-get update") system("sudo apt install libgdal-dev -y") install.packages("rgeos") collect2: error: ld...

ImportError: No module named dash

I am unable to install dash in production server. In local, I have imported by pip install dash==0.29.0 But in prod it is not working. When i am using sudo apt-get install python dash its...

Deploying Laravel on Heroku with Docker heroku.yml and artisan

I want to deploy my Laravel app to heroku for staging environment in my initial phase of the project. This is the Dockerfile and docker-compose configuration, respectively. Dockerfile: FROM...

VSCode on Ubuntu, clean reinstall

used Sublime Keymappings for years in vscode, but now I want to switch back to default mappings. So I tried to make a clean reinstall of vscode,following the suggestions on stackoverflow to do so...

Docker ROS automatic start of launch file

I developed a few ROS packages and I want to put the packages in a docker container because installing all the ROS packages all the time is tedious. Therefore I created a dockerfile that uses a...

GITLAB CI Error loading key "/dev/fd/63": invalid format ERROR: Job failed: exit code 1

Here is my code giltlab-ci.yml : before_script: ## ## Install ssh-agent if not already installed, it is required by Docker. ## (change apt-get to yum if you use an RPM-based image) ## ...

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

i am trying to run cv2, and when i try to import it i get ImportError: libGL.so.1: cannot open shared object file: No such file or directory the suggested solution online is installing apt install...

The following packages have unmet dependencies: mongodb-org :

I am trying to install Mongodb using the command sudo apt-get install -y mongodb-org on ubuntu 16.04 after it produces the following error: Some packages could not be installed. This may mean that...

Install Azure IoT Edge on Debian9

I'm going to install Azure IoT Edge along a procedure of URL in the following, but an error goes out and doesn't advance it first. Could you tell me the cause and a plan to...

Failed to fetch packages from jonathonf repository while running Dockerfile from AzureDevOps

I have a Dockerfile which is getting the packages from a source called jonathonf but it's failing to download some packages from this repository. Could any one please help me with the solution? I...

How to install kafkacat on kafka container resulted from docker-compose

My context is I am trying to create a docker-compose wich will start few containers for running ELK+FileBeats and 3 Kafka containers. The whole docker compose and its yml configuration files can...

Gitlab runner fails to start. This job is stuck because you don't have any active runners online with any of these tags assigned to them: ios

I have a remote runner: ci$ gitlab-runner --version Version: 12.2.0 The .gitlab-ci.yml : stages: - build - deploy variables: LANG: "en_US.UTF-8" LC_ALL: "en_US.UTF-8" build: ...

SAP Crystal Decisions integration does not work on Linux

We are building a web api that calls the SAP Crystal Decisions Library, to generate PDF reports. It works when running on our Windows 10 developer PCs, but when we deploy it inside a linux docker...

failed to solve with frontend xxx: rpc error: code = Unknown desc = (...) out: `exit status 2: gpg: decryption failed: No secret key`

I'd like to use one experimental feature of Docker BuidlKit (mount=type=cache) The fist lines of my Dockerfile are: # syntax=docker/dockerfile:experimental FROM i386/debian:buster # ...

GNOME Shell integration extension is running, native host connector is not detected?

I have followed these steps while installing the gnome extension of chromium in Ubuntu 20.04. Installed the GNOME Shell integration extension on chromium. As per their documentation ran a...

How do I deal with an internal compiler error (cc1plus: gimplify) when installing c based python libraries (OpenCV2) on a Raspberry PI?

I've been trying to install the OpenCV2 libraries for Python 3 on my Raspberry PI 3B. I started this process by installing Python 3 through apt and using pip3 to install OpenCV. However the...

package.json not found in Docker container for .NET core application

I'm currently learning .NET core and I'm working on a Docker image for running my code in. My project is located in the ~/src/Web where a docker-compose.yml file is at the root of the directory...

how to import segmentation-models with tensorflow keras? getting ModuleNotFoundError: No module named 'keras.legacy'

I tried to install segmentation-models using. !pip install -U segmentation-models==0.2.1 import tensorflow as tf import tensorflow.keras as...

ImportError: cannot import name 'to_categorical' from 'keras.utils' (/usr/local/lib/python3.7/dist-packages/keras/utils/__init__.py)

I have just got below error from an import that use to work fine few hours ago going downward. --------------------------------------------------------------------------- ImportError ...

Docker compose with .NET Core, SQL Server, Elasticsearch, and cerebro services

I'm trying to run a number of services using a docker-compose file. First of all let's say that Docker, version 20.10.3, is running on a Red Hat Enterprise Linux release 8.3. This is the...

Spring boot graphql No graphql schema files found on classpath

I developed a backend application using mongodb, spring-boot and graphql. I am using Jetbrains IDEA IDE. Project can be run on my development machine but it can't run on another computer. Graphql...