Ubuntu / DigitalOcean - Unable to fetch packages to install git on a fresh install

Just started with a fresh install of Ubuntu 14.04 on my digitalocean droplet and I'm trying to install git. My first attempt failed to install some packages - [email protected]:~# sudo apt-get install...

libpulse.so.0: cannot open shared object file: No such file or directory

I am getting this error when trying to install a server. libpulse.so.0: cannot open shared object file: No such file or directory I run an ldd and there is the libpulse.so.0 but the script don't...

QT symbol lookup error

When I run qtcreator from the command line, I get the following error: qtcreator: symbol lookup error: /usr/lib/x86_64-linux-gnu/libQt5Network.so.5: undefined symbol:...

Deploying dynamically linked Qt 5.7 Widgets application on CentOS 7 - cannot open shared library

I'm trying to deploy a dynamically linked Qt 5.7 Widgets application on CentOS 7. It works on my machine without a problem, even though I don't copy libQt5Widgets.so to build directory. However,...

Mixing QT and Mathematica

I have a CMake project where I have written a C++ library "mathematica++" that abstracts mathematica's WSTP calls and transports C++ objects as mathematica objects. For this I use Mathematica...

dpkg: error processing archive /var/cache/apt/archives/golang-1.6-go_1.6.2-0ubuntu5~16.04.2_amd64.deb (--unpack):

When I am running sudo apt-get -f install, it shows dpkg: error processing. Please find the complete logs below and advise how to solve this. I am running VB 5.0.10 with Ubuntu 16.04 and already...

Symbol lookup error: undefined symbol: _ZN2cv6imreadERKSsi

I made a simple C++ project using Qt, the goal is to extract some connected components from images and save them into proper folders. I only use one .cpp file and opencv to do so. But when I run...

Qt 5.9 error eglfs with raspberry pi 3

I have compiled the latest version of qt from git 5.9.2 with latest raspibian (2017-08-16-raspbian-stretch.img) as sysroot. I have previously install some library to compile with -opengl es2....

JNA - java.lang.UnsatisfiedLinkError on Ubuntu

I am trying to call my shared library on Ubuntu on an Amazon EC2 instance The same code works 100% fine on windows but on Ubuntu - I am getting a java.lang.UnsatisfiedLinkError when I try to run...

Dockerizing kafka gives non zero exit code

I am a newbie trying to learn docker. I am trying to dockerize kafka installation and stuck with a non zero exit code. I would like to debug the issue and find out the reason. How to debug a...

cuda 9 packages no longer required after installation

I installed CUDA 9 from the local deb but afterwards apt reports: The following packages were automatically installed and are no longer required: cuda-command-line-tools-9-0 cuda-core-9-0...

Only eglfs when cross-compiling QT static for Raspberry PI

I have cross-compiled QT static for Raspberry PI using ./configure -opengl es2 -opensource -confirm-license -release -static \ -prefix /usr/local/qt5static -hostprefix ~/raspi/qt5...

Make .deb for JDK8 with JavaPackage

I'm trying to install JDK8 on Debian Stretch. The recommended way is to use JavaPackage. I have successfully packaged JDK6 and JDK7 using this method: Download the JDK archive from...

Importing matplotlib with reticulate in R

I just started using the reticulate package in R, and I'm still getting a few of the kinks figured out. In particular, importing matplotlib is not going well. I've tried it two different ways,...

shared libraries not found while running the executable, even the shared library exists in the specified path

I am trying to run an executable in Ubuntu 16.04. but it is giving me below error. error while loading shared libraries: libswscale.so.3: cannot open shared object file: No such file or directory ...

Qt-version related runtime errors in Qt application

I am using Qt Creator to develop and run an application on Linux KDE neon. My application suddenly refuses to open some URLs, a function that properly worked before. I didn't change anything so I...

QtWebEngine has no attribute QWebView

I am trying to build a simple interface that can display an HTML file. I migrated to the new QtWebEngineWidgets from the old QtWebWidgets, and I get: File "interface.py", line 576, in setupUi ...

Can apt-get autoremove remove system files?

I tried to install Python 3 on my Ubuntu 16.04.4 LTS and while using apt i found this: The following packages were automatically installed and are no longer required: cabextract gcc-5-base:i386...

Compile c++ application standalone with Qt creator

I am new in the community and I would like to ask a question. I have written an application in c++ with QT that I can compile and use on my linux distribution. However, I cannot use the binary...

How to minimize an ubuntu docker image which needs only git, cron and openjdk-8-jre

Testing some docker project so after playing with alpine, I would like to use ubuntu:bionic for production. I decided to roll out my own image but the problem is that it's 600MB+ . REPOSITORY ...

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...

How to fix numpy dependencies path on a python 3.7.3 script on Linux frozen with cx_Freeze 6.0b1?

I am using Debian 9, python 3.7.3 and cx_Freeze 6.0b1. I spent some time installing cx_Freeze on Windows 7 and Debian, I managed to compile the script on both platforms. When I share it, the...

how to fix php-gd failing to install debian

i know this question has already been asked, but it didn't have an answer that worked for me and i cannot comment as i do not have enough reputation. I'm not able to install php-gd extension on my...

PyQt5 error: This application failed to start because it could not find or load the Qt platform plugin "xcb"

I upgraded PyQt4 to PyQt5 and I use python3. I have the following imports: from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * And I have the following main: if...

Qt deployment can't finde my libs but ldd can

When i try to run qt-deployment i got the fallowing error : I also try to copy all the so files with ldd and put them in another system but then i got segmentation fault (core dump)...

Cannot compile Pangolin on QT Creator

I am new to pangolin and trying to compile a 'hello world' code of pangolin on Qt Creator. I have run into this "undefined reference" issue while compiling it. My code is simple : #include...

Github Actions using CMake, conan and Vulkan SDK fail because conanfile.py cannot be found

I am trying to build a Vulkan project using Github actions, CMake and conan package manager. Here is my Github setup:...

Upgrade to Ubuntu 20.04 killed pip

I upgraded to Ubuntu 20.04 from 19.10 and now I cannot use pip. zeno:~$ pip --version Command 'pip' not found, but there are 18 similar ones. Python is installed: zeno:~$ python3...

Running apt-get install within Docker container: "Unable to connect to deb.debian.org" part-way through installing dependencies

I'm trying to build a docker container on a Raspberry Pi 3B. I need to install gpac for MP4Box. Dockerfile FROM python:3.8-buster RUN apt update && apt install curl gpac -y ENV...

Heroku requirements.txt dependencies not installing, returning ImportError: No module named selenium

I'm trying to deploy a Python script on Heroku that utilizes Selenium. I have my Python script file, Procfile, requirements.txt(created via pipfreeze), and runtime.txt files all created in my root...