Questions tagged [ubuntu-18.04]

GENERAL UBUNTU SUPPORT IS OFF-TOPIC. Support questions may be asked on https://askubuntu.com/. This tag should be used only for WRITING OR RUNNING PROGRAMS specifically in Ubuntu 18.04. If your question applies to other versions of Ubuntu, use [ubuntu] instead. If your question applies to other distributions of Linux, use [linux] instead.

Ubuntu 18.04 is a long term support (LTS) release that came out in April 2018. Important new features include a linux 4.15 kernel, Linux security module stacking support, and a default GNOME desktop.

Available for download as 64-bit version only.

Read the release notes for detailed information.

3638 questions
685
votes
29 answers

Android Studio: /dev/kvm device permission denied

When I try to run my Android app on an emulator I get this error: /dev/kvm permission denied. I checked the permissions and added the user I am currently logged in with to the kvm group. What is wrong?
florian.R
  • 6,851
  • 3
  • 10
  • 4
308
votes
9 answers

WSL Redis encountered System has not been booted with systemd as init system (PID 1). Can't operate

I'm trying to follow the Redis installation process that was discuss in this article of digital ocean, for in WSL(Windows Sub-System for Linux). The Ubuntu version installed is Ubuntu 18.04. Everything in redis installation is fine but when I tried…
Fil
  • 8,225
  • 14
  • 59
  • 85
179
votes
15 answers

How to fix "dial unix /var/run/docker.sock: connect: permission denied" when group permissions seem correct?

I'm suddenly having issues after an update of Ubuntu 18.04: previously I've used docker without issue on the system, but suddenly I cannot. As far as I can tell, the permissions look correct: $ docker run hello-world docker: Got permission denied…
bbarker
  • 11,636
  • 9
  • 38
  • 62
100
votes
2 answers

How to fix "mbind: Operation not permitted" in mysql error log

I have a problem with my MySQL error log which currently mostly consists of "mbind: Operation not permitted" lines (see below). Why does it happen and how do I fix it? It's the "mostly" part that bothers me. As you can see below, not all lines are…
gamasexual
  • 1,267
  • 2
  • 8
  • 9
95
votes
1 answer

Could not build wheels since package wheel is not installed

I am having this problem with wheels: 'Could not build wheels for ..., since package 'wheel' is not installed.' with several packages and I have no idea what to do since - as you can see in the very end - I have installed the wheel package I am…
mikolajbe
  • 1,059
  • 1
  • 5
  • 5
84
votes
7 answers

Apt-get is broken after install Google Cloud SDK on Ubuntu 18.04 LTS

I was installing the Google Cloud SDK on my Ubuntu VM using the following commands # Add the Cloud SDK distribution URI as a package source echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk…
Vinay Joseph
  • 5,515
  • 10
  • 54
  • 94
72
votes
7 answers

"E: Unable to locate package python-pip" on Ubuntu 18.04

I am trying to install virtualenv on Ubuntu. First it said command 'pip' not found, so I typed sudo apt install python-pip then it said E: Unable to locate package python-pip I tried to reset WSL, download using cmd but it doesn't work with…
Aiki
  • 853
  • 1
  • 7
  • 8
66
votes
7 answers

Pytorch says that CUDA is not available (on Ubuntu)

I'm trying to run Pytorch on a laptop that I have. It's an older model but it does have an Nvidia graphics card. I realize it is probably not going to be sufficient for real machine learning but I am trying to do it so I can learn the process of…
wfgeo
  • 2,716
  • 4
  • 30
  • 51
66
votes
9 answers

How to fix 'ModuleNotFoundError: No module named 'apt_pkg'?

I'm running code sudo apt update and fetch error ModuleNotFoundError: No module named 'apt_pkg'. Please, help me solve it. sudo apt update Hit:20 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu bionic InRelease Fetched 93,3 kB in 2s…
Mogikan
  • 769
  • 1
  • 5
  • 3
60
votes
15 answers

ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory

I have installed Cuda 10.1 and cudnn on Ubuntu 18.04 and it seems to be installed properly as type nvcc and nvidia-smi, I get proper response: user:~$ nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on…
Amin Merati
  • 2,221
  • 4
  • 22
  • 38
56
votes
6 answers

why systemd is disabled in WSL?

None of the systemd commands are working inside WSL( Ubuntu Bash 18.04). When I ran sudo systemctl is-active kubelet, error is output: System has not been booted with systemd as init system (PID 1). Can't operate. : running command: sudo systemctl…
47
votes
6 answers

Can't access Oracle Cloud Always Free Compute http port

Yesterday, I was set up my first always free compute VM. I installed ubuntu 18.04 minimal on my VM. For my web service need, I installed Nginx. I'm confused because when I tried to access my public IP via a web browser, the Nginx welcome page didn't…
42
votes
8 answers

Android sdkmanager tool not found

I newly started using Ubuntu 18.0 LTS this week, switching from Windows, and wanted to install Android Studio and Flutter back. I followed all the steps as said to install Android Studio and it is working fine with all the SDKs. However, when I…
Aditya Nigam
  • 869
  • 2
  • 11
  • 21
39
votes
4 answers

How to upgrade postgresql database from 10 to 12 without losing data for openproject

My OpenProject management software is installed with default postgresql 10. Currently the postgresql DB is 12, It is having lot of new features. I want to upgrade my Postgres DB without losing the data in the DB. My system is ubuntu 18.04 and hosted…
vivek rajagopalan
  • 843
  • 3
  • 13
  • 22
38
votes
2 answers

How to install python3.7 and create a virtualenv with pip on Ubuntu 18.04?

I'm trying to set up a standard virtual-environment(venv) with python 3.7 on Ubuntu 18.04, with pip (or some way to install packages in the venv). The standard way to install python3.7 seems to be: % sudo apt install python3.7 python3.7-venv %…
GaryO
  • 5,873
  • 1
  • 36
  • 61
1
2 3
99 100