Installing MariaDB: unmet dependencies, mariadb-server-10.0

ubuntu:~$ sudo apt-get install mariadb-server Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that...

Trouble with psycopg2 in virtualenv python3 for use with Django

I have a Django project that I would like to use with a PostgreSQL database but I am having an issue with psycopg2. When I try to run the dev server or perform a syncdb I get this error. My...

Ansible Do Task If Apt Package Is Missing

I'm looking to do a series of tasks if a specific apt package is missing. for example: if graphite-carbon is NOT installed do: - apt: name=debconf-utils state=present - shell: echo...

django-auth-ldap failed authentication

I'm trying to use Django-Auth-Ldap in my project (Django 1.6, Python 2.7) but it is not working. My active Directory shema is: I've tested the connection on the cmd line by installing the...

How to increase GL_MAX_TEXTURE_SIZE for mesa drivers?

I am trying to generate a large image using WebGL and Xvfb. When the WebGL canvas size is up to 8192x8192px - it's working great and I get my image. When the WebGL canvas size is larger than...

Docker container not able to locate Zip packages?

All Ubuntu wiley repositories are added to my Dockerfile, namely main, universe, etc. and are present in my docker image. However, apt-get install in the following Dockerfile is not able to locate...

How do I advertise AND browse mDNS from within docker container?

I'm trying to create a ubuntu 17.04 based docker container that can browse mDNS on my network (outside of the docker network) AND advertise on mDNS to my network (outside of docker network). I...

OSError: [Errno 13] Permission denied when initializing Celery in Docker

I've been getting the following error when running docker compose. The problem doesn't happen at all in my Mac OS dev environment (this error in occuring when trying to deploy in Ubuntu & debian),...

docker, nodejs: node not found error

(on Ubuntu 16.04 and Docker 1.13) When I run my dockerfile that tries to run my server.js, I get an error: sh: 1: node: not found I did some research and the name node and nodejs got changed...

getting a java.lang.ClassNotFoundException when starting a Docker container

I am having a problem starting a .jar file within a Docker Container. The error message I am getting is: Exception in thread "main" java.lang.ClassNotFoundException: ccinfw.MainApplication I...

ImportError: Library "GLU" not found

On CentOS 7.5 system, run python3 and execute the following code: import gym import time env = gym.make('CartPole-v0') observation = env.reset() count = 0 for t in range(100): action =...

Ubuntu 16.04 I uninstalled apache2 but can't reinstall it now

I have a problem on an ubuntu 16.04 server that I set up. I suspected that I had made a number of errors when I installed and configured apache2 originally because it was not behaving the way it...

npm cannot find module 'semver' after reinstall

I am using ubuntu 19.04. I am getting following error, when trying to do anything with npm internal/modules/cjs/loader.js:638 throw err; ^ Error: Cannot find module 'semver' at...

How to apt-get install in a GitHub Actions workflow?

In the new GitHub Actions, I am trying to install a package in order to use it in one of the next steps. name: CI on: [push, pull_request] jobs: translations: runs-on: ubuntu-latest ...

public key is not available: NO_PUBKEY F76221572C52609D

For the below docker file: FROM microsoft/aspnetcore-build:1.0.1 ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE 1 # This is FROM openjdk:8-jdk RUN apt-get update && apt-get install -y...

DllImport not working on Docker - DllNotFoundException

I have a project developed with .NET Core and C#, running on Docker, that has to call a few functions on a DLL developed with C++. The problem is: when I run my project without Docker, on Windows...

Docker build command fails on COPY

Hi I have a docker file which is failing on the COPY command. It was running fine initially but then it suddenly crashed during the build process. The Docker file basically sets up the dev...

HMR not working with Laravel Mix in Docker

I am having some problems setting up Hot Module Reloading in Laravel Mix inside a Docker container. I have the following Dockerfile: FROM php:7.4.0-fpm RUN curl -sL...

Certificate / SSL connection problem in docker build on macOS

I am building a docker image on macOS. This is the part of my Dockerfile: FROM ubuntu:18.04 # Dir you need to override to keep data on reboot/new container: VOLUME /var/lib/mysql #VOLUME...

Error "Running as root without --no-sandbox is not supported"

I try to implement scrapy-puppeteer library for my project (https://pypi.org/project/scrapy-puppeteer/) I implement PuppeteerMiddleware according to documentation from library Here is code which I...

Why virtualbox fails to install on Ubuntu20.04

I am trying to install virtualbox. I had it installed previously and it worked. Today I tried to add another virtual machine and it started complaining about problems with dkms so I tried to purge...

Missing libappindicator3-1 installing Slack

Here's the output when I try to install Slack. $ sudo dpkg -i slack-desktop-4.12.2-amd64.deb Selecting previously unselected package slack-desktop. (Reading database ... 155664 files and...

VirtualBox .vdi file to BOOTABLE .iso

I saw a few solutions for that question but non of them was working for me. My goal is (pretty obvious) to make a custom made OS and make it bootable from USB. The solution must work for both...

Django command - django-admin command not working

i have tried to install django using below three command. Now when i execute the django-amdin command then its showing me below error. Even i cant see the django-admin --version. sudo apt install...

Newbie needs help understanding Docker Postgres django.db.utils.OperationalError: FATAL: password authentication failed for user "postgres"

I am a newbie trying to follow this tutorial. https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/#postgres I succeeded in building the docker containers but got this...

Can not get asdf-direnv work in docker when building

I'm trying to use asdf-direnv in docker. Following the README of asdf-direnv, I make this Dockerfile FROM nvidia/cuda:10.2-devel-ubuntu18.04 RUN chsh -s /bin/bash SHELL ["/bin/bash", "-ic",...

Docker build - mmap() failed: [12] Cannot allocate memory (Using Apple M1 chip)

I am getting the below error while trying to build a docker image (I am using apple macbook pro M1 chip, which already has a lot of issues). The error log - => ERROR [builder 7/15] RUN composer...

E: Package 'python3-distutils' has no installation candidate

I am currently using the Google core dev board and using Putty to enter the code. While performing the code, I got the error as below. Traceback (most recent call last): File...

Terraform: How to mount EFS access point to EC2?

My goal is to install some python packages on the EFS and connect it to my Lambda. Now I'm at the point were I mount EFS to the EC2 instance and install certain libraries, like numpy. The whole...

Airflow set python library versions to improve build speed

It used to take ~5 minutes for our Airflow deployment's docker image to build, and all of a sudden it is taking over an hour. With that said we haven't had to rebuild our image in a few months, so...