Questions tagged [ubuntu-16.04]

Ubuntu 16.04 (Xenial Xerus) is a long term support release, available from 21st of April 2016. Questions should be related to writing or running programs under Ubuntu. General Ubuntu questions should be asked on https://askubuntu.com

New features include the following

  • 5 year support term
  • Linux 4.4 LTS kernel
  • Unity online search disabled by default
  • Unity launcher can be repositioned
  • ZFS (file system)
  • Ubuntu Software Center replaced with GNOME Software

It is available for download as an ISO image.

4960 questions
17
votes
5 answers

Using Different Location for Eclipse's .p2 tree ("bundle pool")

I currently am trying to set up Eclipse to run from /opt/eclipse. Everything was going fine; I extract the software using the Eclipse installer to /opt/eclipse; I made a soft link to it in my /usr/bin directory so I could just type 'eclipse' to run…
16
votes
2 answers

How to get actual path to executable when using .netcore 3.0 and using the /p:PublishSingleFile=true flag?

I recently upgraded an application to dotnet core 3 and started using the PublishSingleFile flag during the build process. With these two changes the way the executable path is found has changed. Now instead of getting the path where the executable…
BillHaggerty
  • 6,157
  • 10
  • 35
  • 68
16
votes
1 answer

Ubuntu 16.04 latest update broke Docker (docker-ce)

I run Ubuntu 16.04 on my desktop. I use docker-ce and it has been working up until a few days ago. The auto-update in Ubuntu seems to have broken it. robert@catness:~$ docker ps Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is…
Robert3452
  • 1,354
  • 2
  • 17
  • 39
16
votes
7 answers

Vagrant : Permission denied (publickey)

I am getting Permission denied (publickey) error when doing ssh by ssh username@ip while ssh working when we are doing vagrant ssh VagrantFile : Vagrant.configure("2") do |config| config.vm.box = "ubuntu/xenial64" config.vm.network…
itsvks
  • 383
  • 1
  • 6
  • 16
16
votes
5 answers

Error setting up MySQL: Table 'mysql.plugin' doesn't exist

I have a MySQL 5.7 instance running without problems on Ubuntu 16, but when i try to install any other package or try to update existing ones through apt-get, i get the following error: # apt-get upgrade Setting up mysql-server-5.7…
AlexGuti
  • 3,063
  • 1
  • 27
  • 28
16
votes
9 answers

AttributeError: module 'mysql' has no attribute 'connector'

I'm running Ubuntu 16.04, trying to connect to mysql in python: import mysql username = 'root' cnx = mysql.connector.connect(user=username, database='db') cnx.close() But I get an error: File "pysql1.py", line 4, in
planpony69
  • 197
  • 1
  • 1
  • 10
16
votes
2 answers

Issues running airflow scheduler as a daemon process

I have an EC2 instance that is running airflow 1.8.0 using LocalExecutor. Per the docs I would have expected that one of the following two commands would have raised the scheduler in daemon mode: airflow scheduler --daemon --num_runs=20 or airflow…
aaron
  • 6,339
  • 12
  • 54
  • 80
16
votes
1 answer

/bin/sh: 1: ./configure: not found - dockerfile

I need to install Cosign filter for Apacher server. I need to use this cosign-filter from Confluence, but when my installation hits ./configure it trow as error: ERROR: Unknown instruction: --ENABLE-APACHE2=/PATH/TO/APACHE2/BIN/APXS Then i found…
copser
  • 2,523
  • 5
  • 38
  • 73
16
votes
2 answers

Error : "sh: gfortran: command not found" | Ubuntu 16.04

I am trying to install package , circular, I get the below error during the installation. I tried a few option that were suggested in a few posts but it didn't work. I also tried loading other packages such as spatstat and this error doesn't occur…
RBK
  • 375
  • 2
  • 5
  • 12
15
votes
2 answers

How to auto-restart Mongodb in Ubuntu 16.04

I can't figure out how to auto-restart mongodb on Ubuntu 16.04 in the event that it crashes due to memory-pressure. I'm using supervisord for other scripts etc, but mongod is through systemctl and I'm not sure how that ties into it.
Dev Sanghani
  • 1,145
  • 11
  • 19
15
votes
3 answers

UFW firewall is not working on Ubuntu in DigitalOcean

In my DigitalOcean (DO) droplet I installed this image: Ubuntu Docker 17.12.0~ce on 16.04 (which is available on ** DO website > droplet> destroy> rebuild droplet**) , in ssh (after user configuration), I run sudo ufw default deny incoming sudo ufw…
Kamil Kiełczewski
  • 85,173
  • 29
  • 368
  • 345
15
votes
1 answer

Ubuntu 16.04 R Installation: configure: gdal-config not found or not executable

System info: Ubuntu 16.04 64 bit I'm trying to install rgdal_1.2-16.tar.gz for a research project. I looked here and did sudo apt-get install libgdal1i R CMD INSTALL rgdal_1.2-16.tar.gz * installing to library ‘/usr/local/lib/R/site-library’ *…
Nathan majicvr.com
  • 950
  • 2
  • 11
  • 31
15
votes
8 answers

psycopg2.OperationalError: FATAL: password authentication failed for user ""

I am a fairly new to web developement. First I deployed a static website on my vps (Ubuntu 16.04) without problem and then I tried to add a blog app to it. It works well locally with PostgreSQL but I can't make it work on my server. It seems like it…
Yannick
  • 1,550
  • 4
  • 18
  • 27
15
votes
7 answers

E200033: Another process is blocking the working copy database

When I checkout from repository sudo svn co --username me http://192.168.1.27/svn/project I got the this error and checkout process terminated svn: E200033: Another process is blocking the working copy database, or the underlying filesystem does…
Ravee Sunshine
  • 386
  • 1
  • 5
  • 15
15
votes
1 answer

Timeout connecting to MSSQL Server 2017 when application running on Linux

I recently started up an ASP.NET Core Web-Application (WebAPI) using Entity Framework Core for database communications and everything was running really smooth as long as I was running the application on my laptop in my dev environment. For hosting…