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

How to update-alternatives to Python 3 without breaking apt?

The other day I decided that I wanted the command python to default to firing up python3 instead of python2.So I did this:$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7...

View Article


Update Jenkins from a war file

I have a machine with Ubuntu 12.04 and have installed Jenkins ver. 1.424.6 using apt-get based on *this guide*, but there is a new version:New version of Jenkins (1.447.2) is available for download...

View Article


Ignoring folders in The Silver Searcher `ag`

I have a structure like this:folder_a/├── a.txt└── folder_b/└── b.txtwhere both text files contain 1234 string. Being in folder_a how to use ag from terminal to find only a.txt?I tried:ag -Qu "1234"...

View Article

Ubuntu OS Patch, Updates, BugFixes for local repository

I am working with Ubuntu OS.I have created a local repository using Google Artifact Registry for my VM's which do not have access to internet.I am using apt-offline to create .deb packages and I am...

View Article

nvidia-driver-local-repo-ubuntu2204 error when apt update

apt update -y获取:1 file:/var/cudnn-local-repo-ubuntu2204-8.9.3.28 InRelease [1,572 B]获取:2 file:/var/nvidia-driver-local-repo-ubuntu2204-515.105.01 InRelease [1,575 B]获取:1...

View Article


Not a supported wheel on this platform. (only online installation supported)

My host machine is windows but got a python project running on linux. So I started utilizing Docker to containerize a Ubuntu os equipped with tensorflow, which I already downloaded its .whl file and...

View Article

Linux/ubuntu 22.04 block device busy? [closed]

For context ... I just built a new qcow image using packer based on Ubuntu 22.04. Most of our custom ansible roles are just reused from Ubuntu 20.04 and we are finding a few discrepancies.As part of...

View Article

What is the difference between /usr/bin/python3 and /bin/python3

So, I was using visual studio code and wanted to see what option do I have for interpreter in vscode in my Ubuntu 21.04 machine and what I found are these options. First is the virtual environment...

View Article


Unable to sign_in to master : Attempt to authenticate with the salt master...

I'm getting this issue when i'm setting salt-master as minion itself. Getting this error while running this command salt-call state.highstate -l debug.Loading private key [DEBUG [ ] Loaded minion key:...

View Article


How to make bazel to run "load" and "http_archive"

I created the following test files for testing bazel build on Ubuntu.The rules are copied from angular:https://github.com/angular/angularHere is the testing script:mkdir -p /tmp/testcd /tmp/testcat...

View Article

Can't restart WSL2, LxssManager hangs in stopping state, how to restart?...

I Can't restart wsl2, the command wsl --shutdown and any other wsl command hangs forever.Also I found the service LxssManager in stopping status also hangs forever.How can I restart wsl ?

View Article

Blocking [IPaddress:8080] on nginx

I have an app working on port 8080 perfectly with the domain desh.onecloudhelper.com and now when I hit the Public IP address of the Server, I can still view the same app running using the server's...

View Article

I already have the plugin GLPI Inventory on my GLPI 10.0.12 and the problem...

I'm having trouble connecting to my GLPI server for inventory from my virtual machine. Here is the error message generated by GLPI:root@assane-VirtualBox:~# glpi-agent [info] target server0: server...

View Article


Error during project build with Gradle (Error opening zip file or JAR...

When I run the gradle clean build command during the build process in the console, I receive an error:Error occurred during initialization of VMagent library failed to init: instrumentError opening zip...

View Article

Sub-process /usr/bin/dpkg returned an error code (1). But I can't find the...

Trying to do a build with OAI 5G and run a code like this, sudo ./build_oai -I -w USRP --eNB the console then does a bunch of stuff and I am hit with this error;Errors were encountered while...

View Article


ODBC file configuration

I'm trying to configure the ODBC.ini fileMy server is Ubuntu 22.04How should I configure the odbc.ini file.These are my configurations and it doesn't work.[ODBC Driver 18 for SQL...

View Article

Root login Ubuntu VM on Azure

Installed Ubuntu Server LTS 14.04 from Azure library on Azure VM.Logged in as standard "azureuser" created by Azure with my password.Changed root password:sudo passwd rootIf I try to login as "root":...

View Article


Remove "Server: Apache" from response headers

I want to know how to remove the Server header completely that apache sends in the response.Initially, it was showing full server info like Server: Apache (Ubuntu 14.04) in the response headers.But I...

View Article

Image may be NSFW.
Clik here to view.

Kubuntu multi-monitor clipping issue [closed]

My nvidia drivers got messed up with an update. So I removed them all sudo apt-get remove --purge '^nvidia-.*' and tried installing them again using the cuda install instructions from nvidia. I know...

View Article

Can't add CA certificate for localhost

I have Ubuntu 22.04.4 LTS. I've been developing telegram bot and tried to create nginx configuration for remote server. During this i've broken my localhost certifiate. Now when i run my react app on...

View Article
Browsing all 5944 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>