Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Browsing all 5956 articles
Browse latest View live

dpkg: error: dpkg status database is locked by another process

Delete the updates with:cd /var/lib/dpkg/updatessudo rm *Tried to update and upgrade:sudo apt updatesudo apt upgradeStill it says that:E: Could not get lock /var/lib/dpkg/lockThis means that some...

View Article


copy skompile model to clipboard

I have a random forest model that I've trained in Python 3.11.0 with scikit-learn. I'm then exporting the model weights with skompiler 0.7. I then export the model weights to dataframe, and then copy...

View Article


Image may be NSFW.
Clik here to view.

ADB device list empty using WSL2

I'm trying to debug / connect up a device for development using WSL2 (Ubuntu). I've followed steps on this post https://stackoverflow.com/a/58229368/21061 which sets up ADB on both Windows and Linux...

View Article

ImportError: cannot import name '_gi' from partially initialized module 'gi'...

Looks like I have broken my python installation when I wanted to switch to python 3.8. Using Ubuntu 18.04. Trying to use the gi, gives the following error:$ pythonPython 3.8.1 (default, Dec 31 2019,...

View Article

How to Enable Virtualization on AMI BIOS with AMD Processor

I'm currently trying to setup a Linux development environment in windows with WSL2, but I'm stuck on figuring out how to enable virtualization on my machine.I know my machine supports virtualization...

View Article


Image may be NSFW.
Clik here to view.

Adding new VDI forces Ubuntu's reinstallation

I've started playing with virtualization using Oracle VM VirtualBox Manager and Ubuntu 20.04.6 but I faced some trouble. When I try to add new VDI to my vm inside Storage setting as a IDE Controller...

View Article

shebang under linux does not split arguments

I have kotlin script (but it can be any Linux command with arguments) for example:#!/usr/bin/env kotlinc -scriptprintln("hello world")When I run it in Ubuntu I get: /usr/bin/env: ‘kotlinc -script’: No...

View Article

Pynput not recognizing inputs when terminal is focused

I'm on Ubuntu 24, using Python 3.12. I have a basic Python script with pynput that stops the program execution when the up arrow is pressed. Running this script in Pycharm has no problems, but in a...

View Article


can't open "add new posts page" in wordpress

When I click the "add new post" button, the web page become empty, and the console log:Uncaught SyntaxError: Unexpected identifier 'https'VM427 post-new.php:2 Uncaught TypeError: Cannot read properties...

View Article


Unable to connect to oracle linux instance with putty [closed]

Unable to connect to oracle linux(ubuntu) instance with putty (connected recently). pretty sure that my private key is correct.Error I am receiving : no supported authentication methods available...

View Article

How to kill a process on a port on ubuntu [closed]

I am trying to kill a process in the command line for a specific port in ubuntu.If I run this command I get the port:sudo lsof -t -i:9001so...now I want to run:sudo kill 'sudo lsof -t -i:9001'I get...

View Article

Failed to verify signature archive-contents.sig: ... (problem with Emacs)

I'm trying to configure Emacs and it seems like I'm stumbling on every step so far. Currently I'm trying to install/setup the Melpa package but it gives me back the usual error message:Failed to verify...

View Article

Image may be NSFW.
Clik here to view.

Invalid ELF header out of the gate running simple nodejs script

I'm trying to run a simple nodejs script on Ubuntu 14.04, the contents of which are as follows:http = require('http');http.createServer(function(req, res){ res.writeHead(200, {'Content-Type':...

View Article


/bin/sh: 0: Illegal option - when installing ppa:deadsnakes/ppa on ubuntu...

I am stumbling on this issue:Why cannot add PPA deadsnakes?This line in my dockerfile:RUN add-apt-repository ppa:deadsnakes/ppaFailing my docker build with:1.028 Cannot add PPA:...

View Article

How to use headless Chrome in Docker?

Currently I'm using MPDF to convert complicated html files to pdf with PHP Laravel (production server is Ubuntu 22.04 and development is Docker image with Ubuntu 22.04). I would like to improve the...

View Article


Docker - mkdir read-only file system

After freshly installing Ubuntu 18 I am receiving the following error when trying to launch a docker container that has a bind to a LVM (ext4) partition:mkdir /storage: read-only file systemI have...

View Article

How to change directory of Ruby environment? [closed]

I built my ruby 2.5.8 ​​environment and project in the same directory on Ubuntu 20.04.06 LTS.I have deployed the ruby ​​environment successfully in a specific folder for my project. I try and i see it...

View Article


Rsyslog sync hangs after log rotation [closed]

currently we use rsyslog to collect webservers logs in one VM.Log sync always hangs indefinitely after log rotation script execution on Ubuntu22.we have this rsyslog version and config file:rsyslogd:...

View Article

How to install Boost on Ubuntu

I'm on Ubuntu, and I want to install Boost. I tried withsudo apt-get install boostBut there was no such package. What is the best way to install Boost on Ubuntu?

View Article

Please help me! Can i learning ROS on Windows instead of on Linux? [closed]

My problem is this:I learn about robotics, and of course I learn about ROS, I am using a Lenovo Ideapad Gaming 3 laptop, running two operating systems: Windows and Linux: Ubuntu, I have researched and...

View Article
Browsing all 5956 articles
Browse latest View live