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
27
votes
5 answers

Pyodbc: Login Timeout Error

I am trying to connect to MS SQL Server using pyodbc from a remote machine running Ubuntu 16.04. import pyodbc conn = pyodbc.connect(r'DRIVER=ODBC Driver 17 for SQL Server; SERVER=xxxTest-SRV; PORT=51333; DATABASE=TestDB; UID=xxxx;…
Krishnang K Dalal
  • 2,322
  • 9
  • 34
  • 55
27
votes
2 answers

gdb error not in executable format: File format not recognized

I am trying to debug a simple "hello world" C++ program on Ubuntu 16.04 but gdb is not able to recognize the executable file format. However, I am able to successfully run the executable on the command line. Here is the code #include…
Ashutosh Pandey
  • 409
  • 1
  • 4
  • 9
27
votes
4 answers

How to install bcmath in Ubuntu for PHP 7.1

I'm using an Ubuntu 16 server for testing with php7.1. One of my app uses bcadd function. I know that I need to install bcmath module for that but I'm unable to find php7.1-bcmath. When I tried to install apt install php-bcmath, it simply installed…
Vajira Lasantha
  • 2,435
  • 3
  • 23
  • 39
27
votes
5 answers

Cannot connect the virtual device sata0:1 because no corresponding device is available on the host

Cannot connect the virtual device sata0:1 because no corresponding device is available on the host. The error pops up when I enable the host/guest share and map the drive. I have installed the VMware Tools, etc. I tried to delete and then add back…
Sam-T
  • 1,877
  • 6
  • 23
  • 51
27
votes
6 answers

sudo a2enmod php5.6, php -v still shows php 7.01 conflict

I'm trying to switch php versions, get following response. I tried dismounting mpm_prefork and mpm_worker still no joy, any ideas please. on Ubuntu 16.04 sudo a2enmod php5.6 Considering dependency mpm_prefork for php5.6: Considering conflict…
GAV
  • 1,205
  • 2
  • 18
  • 38
27
votes
3 answers

Why does ASAN_SYMBOLIZER_PATH no longer work with version adorned binaries

On Ubuntu 14.10, the llvm-symbolizer program is installed as /usr/bin/llvm-symbolizer-3.5. Normally, address sanitizer wants to find a binary named llvm-symbolizer in PATH. However, as a workaround, it was possible to explicitly set…
acm
  • 12,183
  • 5
  • 39
  • 68
26
votes
7 answers

Installing opencv 3.1 with anaconda python3?

How do I install opencv with anaconda python3 , opencv picked up my python3 executables -- Python 2: -- Interpreter: /usr/bin/python2.7 (ver 2.7.12) -- Libraries: /usr/lib/x86_64-linux-gnu/libpython2.7.so…
Tamim Addari
  • 7,591
  • 9
  • 40
  • 59
25
votes
3 answers

MySQL 5.7 show_compatibility_56

Recently, I decided to get a VPS server and host my own forums as we grew too big for your average shared hosting platform. I thought it would be easy to setup and get going, and it has been for the most part, but I have hit a brick wall with a…
CarlM24
  • 1,251
  • 1
  • 9
  • 8
25
votes
2 answers

Version `GLIBCXX_3.4.22' not found

I have built a C++ app on a VM Ubuntu 16.04 on which I have installed g++ compiler 6.2.0 in order to support C++14 features. When I tried to run it on new clean VM 16.04 which has default the g++ 5.4.0 the error …
dk13
  • 1,461
  • 4
  • 20
  • 47
24
votes
2 answers

Linux/Ubuntu set: Illegal option -o pipefail

The below mentioned line of code used to work for me all the time on a Ubuntu 16.04 distribution, but suddenly option-name pipefail is an illegal option: set -eu -o pipefail returns: set: Illegal option -o pipefail Why does this happen? I run…
sunwarr10r
  • 4,420
  • 8
  • 54
  • 109
24
votes
4 answers

How to copy text from tmux window to system clipboard?

I am using Ubuntu 16.04 with tmux 2.1. Mostly I split the screen in two tmux windows split vertically. Frequently I need to copy long pieces of text from tmux window and paste in sublime text/browser. I have a feeling that xsel/xclip could be used…
sherlock
  • 2,397
  • 3
  • 27
  • 44
23
votes
2 answers

Why 'apt-get install openssl' did not install last version of OpenSSL?

When I use 'apt-get install openssl', my Ubuntu 16.04 install OpenSSL 1.0.2g version. I expect to install 1.1.0 versions. Why is not install 1.1.0 version? How can i install the last version? Thanks.
malievci
  • 369
  • 1
  • 2
  • 6
22
votes
2 answers

travis: sh: 0: Can't open /etc/init.d/xvfb

My travis CI uses Ubuntu 14.04 and Node.js 8. My .travis.yml looks like: language: node_js node_js: - 8 sudo: required addons: chrome: stable before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start install: - npm set…
Francesco Borzi
  • 56,083
  • 47
  • 179
  • 252
22
votes
5 answers

override default ImageMagick policy.xml

I use ImageMagick on ubuntu-16.04 for converting pdf file into png image. Recently, converting stop woking, because package imagemagick-common added to policy.xml file in…
user6403354
  • 223
  • 1
  • 2
  • 5
22
votes
7 answers

Can't install Ruby rvm on Ubuntu 16.04 due to gpg bug

I'm trying to install Ruby on Ubuntu 16.04. However when I enter to following command to terminal: $ \curl -sSL https://get.rvm.io | bash -s stable --ruby I get the following: Downloading https://github.com/rvm/rvm/archive/1.29.1.tar.gz Downloading…
TamerB
  • 1,401
  • 1
  • 12
  • 27