Category "ubuntu"

ModuleNotFoundError: No module named 'apt_pkg' installing deadsnakes repository

I want to install Python 3.10 on Ubuntu 18.04 (I'm currently on Python 3.8) from the deadsnakes repository with the following set of commands I found on the int

terminate called after throwing an instance 'std::__ios_failure'

In Ubuntu20.04 gcc9.4.0 `void read_txt_config(const std::string &path) { std::cout << std::endl << "Reading configuration file: "; std::ostr

"pipenv" fails with AttributeError after upgrading from ubuntu 20.04 to 22.04?

I recently upgraded my distro version from ubuntu 20.04 to ubuntu 22.04 and now pipenv command does not work. Any solutions to fix this? > pipenv --help Tra

Can't drag and drop in Ubuntu 22.04

It seems like Desktop Icons NG (DING) is not instelled on my desktop. I can't drag and drop items from or in the desktop. When I try to install it manually it

Raspberry Pi 3 - Video error: select timeout() (Ubuntu)

We are trying to run an object detection program in a Raspberry Pi 3B+ with Ubuntu Server. We are connecting the following devices to the USB ports: USB Camera

How to configure neovim with update-alternatives for ex view and vimdiff behaviours?

Of course, we could create aliases, but then we loose the Debian integration. For instance, the 3 first works, as they are just aliases, but the 3 last fails: N

Ubuntu: using docker with snap and firewall is a problem

On a ubuntu 21.10, using docker as a snap (snap install docker). With my firewall enabled, i have a problem resolving DNS: $ docker run bash ping www.google.com

Compilation Failing for xalan-c in Ubuntu

I am trying to build xalan-c (version 1.12) with icu in Ubuntu but it fails. Could anyone help me with this. Environment : Ubuntu 20.04 Steps to reproduce : Cl

nginx: [emerg] "if" directive is not allowed here in /etc/nginx/nginx.conf:64

So I am trying to block certain web browsers (not that you need to know) and everyone says to add if ($http_user_agent ~* (Chrome) ) { return 403; } I do all of

Upgrade Ubuntu: python3 install is corrupted

I'm trying to upgrade Ubuntu from version 18 to version 20 using sudo do-release-update, however it complains about my Python being corrupted: Your python3 inst

Network performance between two hosts slow with Linux bridges and VXLAN

I'm trying to debug a network performance problem between two hosts: Dell R6515 Mellanox ConnectX-5 2x25Gb SFP28 Ubuntu 20.04 Kernel 5.13.0-40-generic These hos

Python Upgrading leads to terminal... not opening

I just upgraded python in ubuntu to python 3.10 to use the match/case statements, but now, my terminal won't open. Anywhere. I tired opening it on Visual Studio

Character set "utf8mb4" error between migration from mysql 5.7 (ubuntu 16.04 LTS) to mysql 8.0 (Ubuntu 20.04 LTS)

I am having some problems I can't figure out. I have a database "DatabaseA" on mysql 5.7 (server A), which I would like to migrate to "DatabaseA" on myql 8.0 (s

Can't load custom pylint module

I am following a simple tutorial that creates a custom checker/module for Pylint. The code looks like this. bad_code.py def func(): print("Bad code") r

Build apk with buildozer

A project written in windows in a shared folder with an Ubuntu 18.04 virtual machine when building apk gives the following error: # Install platform # Run '

Searching for dependency of TimeDoctor2 at Ubuntu 22

I am using the time doctor 2 application for a long time. I am using it to track my and my team's working time. Because they are working for me remotely. 2 days

Qt missing OpenSSL 3.x support on Ubuntu 22.04

I tried to build my application which uses QNetworkManager to communicate to a server. I did not have any problems on older Linux versions but with the newest U

unable to locate package "software-properties-common" docker image

I am trying to create an ubuntu focal image using docker file. I have this line in my dockerfile: FROM ubuntu:focal AS systemdependencies RUN apt update \

Error when running mongo image - docker-entrypoint.sh: line 381

After installing Ubuntu v20 and then installing docker: $ docker network create test-network $ docker pull mongo $ docker run --network test-network --name mo

rails console, rbenv and rbenv-vars issues in ubuntu 20.04

Im experiencing a bizzare issue in ubuntu 20.04. I've installed ruby 3.1.2, rails 6.1.5, rbenv and rbenv-vars. Set up inside the app directory the .rbenv-vars w