Questions tagged [ubuntu-18.04]

1

votes
1

answer
4k

Views

Package 'libpng12-0' has no installation candidate Ubuntu 18.0.4 [closed]

I'm trying to install WPS office and it depends on libpng12-0 which I can't install due to 'Package 'libpng12-0' has no installation candidate '. I'm running Ubuntu 18.0.4 LTS.
mrefizzy
1

votes
2

answer
52

Views

Cannot run jar on ubuntu with JFX

Good day, I am trying to run a program called graphdb-native-app-8.8.1-jfx.jar on a ubuntu virtual machine. I have the latest version of java installed, and have made sure JAVA_HOME is set to the correct java-version. java -version java version '11.0.2' 2019-01-15 LTS Java(TM) SE Runtime Environment...
Andrew Malcolm
0

votes
0

answer
3

Views

l2tp/ipsec connection problem in linux centos/ubunto - sending retransmit 1 of request message ID 0, seq 1

i need connect ipsec/l2tp in linux base os(cent os or ubunto) i do all config base this link but when i send command for coconnect have below output and cant connect strongswan up myvpn initiating Main Mode IKE_SA myvpn[3] to 185.167.72.26 generating ID_PROT request 0 [ SA V V V V V ] sending pack...
Mahdi Azadbar
0

votes
0

answer
4

Views

Unable to run my django&bootstrap site with Let's Encrypt on DO Ubuntu 18.04 with nginx and gunicorn

I am trying to launch a django website and I want to install and make sure https connection works with let's encrypt for my site. I followed DigitalOcean 'How To Secure Nginx with Let's Encrypt on Ubuntu 18.04' tutorial on https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let...
codelearner
1

votes
1

answer
42

Views

Why does a string type array doesn't take data when you overwrite the already stored values in the elements with input from keyboard?

I am trying to store values like '01' and '10' into an array but the int array would take '01' as '1'. Hence I decided to use string array.While declaring the string array, I initialized it with string array[n] = {0}; On compiling the code it shows an error saying : 'terminate called after throwing...
Sankalp
1

votes
3

answer
66

Views

Compiler errors with incorrect use of nullptr

I am trying the solution provided in this SO Q/ACompiler error while using shared_ptr with a pointer to a pointer and I am not able to use the solution provided in a proper way. I still get compilation errors on Ubuntu 18.04 with g++ version 7.3 Here is my minimum complete verifiable example to repr...
gansub
0

votes
0

answer
3

Views

How to disable persistent bridge interfaces in ubuntu 18.04

I see a bunch of bridge interfaces that come up on my ubuntu 18.04 machine. They look like br-00a87e65d75d. I can use brctl delbr to delete them, but they comeback after a reboot. I am not able to figure out what's causing them. Can someone point at what to look at? /etc/network/* has nothing in it...
suppandi g
1

votes
0

answer
180

Views

Steam on Ubuntu 18.04 on Virtaul Box

I want to run steam on Ubuntu 18.94 on virtualbox. I can download it but it doesn't open. This is the error I got when trying to open on terminal Running Steam on ubuntu 18.04 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(0) libGL error...
PIPO221
1

votes
0

answer
412

Views

Trouble while trying to install OpenModelica in Ubuntu 18.04

I am trying to install OpenModelica in Ubuntu 18.04 by following the procedures in the link https://openmodelica.org/download/download-linux, but while trying to run the command: wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | sudo apt-key add - I am getting an error as 'gpg: no va...
Bhaskar Kalita
1

votes
1

answer
289

Views

PyQt5 - Ubuntu 18.04 - Error 99 on QNetworkReply when request to HTTPS url

I'm building an app using Python 3.6 and PyQt5. I was on Ubuntu 16.04 I used to make HTTP request using QNetworkReply and QNetworkRequest from QtNetwork like so : @pyqtSlot('QNetworkReply*') def receiveReply(self, reply): buffer = reply.readAll() if (reply.error() != QNetworkReply.NoError): print('A...
Alain Berrier
1

votes
0

answer
424

Views

How to configure vim/nvim on ubuntu 18.04 for c# .net-core development with autocompletion

I have ubuntu 18.04 machine with .net-core 2.0.0 installed. I also have (neovim)nvim v0.2.2 installed. I am able to build and run .net-core projects on my ubuntu machine. My question is how can I use vim/nvim with c# autocompletion for my .net-core projects. I have installed Omnisharp-vim plugin for...
Eskinder
1

votes
1

answer
3.6k

Views

eclipse ubuntu 18.04 installation java.lang.ClassNotFoundException:

Installed eclipse and Java8. But it isn't working. When try to run it following error occur. An error has occurred. See the log file /home/shield/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1526718159168.log I checked the log file and found these lines: ** !ENTRY org.eclipse.equino...
1

votes
0

answer
402

Views

issue with vagrant up with bento/ubuntu-18.04 on mac

I am trying to up a VM with bento/ubuntu-18.04, version 201803.24.0. I am on a Mac running Sierra version 10.12.4, Vagrant 2.1.1. The up fails with: Package linux-headers-4.15.0-12-generic is not available, but is referred to by another package. This may mean that the package is missing, has been ob...
Larry Martell
1

votes
1

answer
3k

Views

installing opencv 2.4.9 on ubuntu 18.04

I have ubuntu 18.04 installed on my pc and I managed to install the newest version of opencv. Nevertheless, I need an older version of opencv running on my pc, namely opencv-2.4.9. So I deinstalled the new version of opencv, in order to install the old version. I followed like any instruction, which...
lonewolf07
1

votes
0

answer
71

Views

How to properly use ftruncate(int aux, off_set n) in c++

Hello Im trying to add a shared memory space with a function, I am doing it like this: void CreateSpace(int size, std::string name){ int aux; int aux2; aux = shm_open(name.c_str(), O_RDONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); if(aux > 0){ aux2 = ftruncate(aux, sizeof(int)*2); if( aux2 != -1){ w...
Manuel Esteban
1

votes
0

answer
162

Views

SonarQube - C++ - Ubunbtu - build-wrapper LD_PRELOAD Error

I just upgraded my linux build slaves and since then my sonarqube stopped working. Run to reproduce: docker run -it ubuntu:18.04 bash apt-get update apt-get install wget unzip wget 192.168.1.5:9000/static/cpp/build-wrapper-linux-x86.zip unzip build-wrapper-linux-x86.zip cd build-wrapper-linux-x86 ./...
choosyg
1

votes
0

answer
1.1k

Views

Serial port permission denied for non-root user with dialout group privileges even after reboot Ubuntu 18.04

I write systemd services that launch with root privileges and de-privilege themselves to a system account (called mxdaemon). These services require access to the physical serial port (/dev/ttyS0) on the PC. Serial port ls -l: Serial port: crw-rw---- 1 root dialout 4, 64 Jun 13 22:00 /dev/ttyS0 When...
Rob
1

votes
1

answer
667

Views

postgis 2.3 installation with postgres 9.6 ubuntu 18.04

I have been trying to install postgis 2.3 with postgres 9.6 on ubuntu 18.04 with command sudo apt-get install postgresql-9.6-postgis-2.3 but got an error E: Unable to locate package postgresql-9.6-postgis-2.3 E: Couldn't find any package by glob 'postgresql-9.6-postgis-2.3' E: Couldn't find any pack...
deusxmachine
1

votes
1

answer
242

Views

gradle-4.8 build failed with an exception which could not get the internet resource

After I change my OS to Ubuntu-18.04 and upgrade grade to v4.8, I failed to build my android project. As a comparison, I can build this project on Ubuntu-14.04 with gradle-v3.4.1. There are some error messages. Gradle build failed as following: [email protected] ~/android/im/ocelot $ gradle build FAIL...
zhengfish
1

votes
0

answer
231

Views

Errors While Installing Bumblebee

Yesterday I installed Bumblebee-nvidia, But I am getting few warnings Like shown below : update-initramfs: Generating /boot/initrd.img-4.15.0-23-generic /sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf: No such file or direct...
Viral Parmar
1

votes
0

answer
271

Views

can not shutdown or restart or even hibernate again after hibernate (ubuntu 18.04 LTS)

I have a almost the problem match to this link (https://askubuntu.com/questions/936442/ubuntu-hibernate-works-just-one-time#) but In addition to the hibernate again i dont able shutdown or restart my laptop. i have a ram with 8GB size and my swap partition is 11.2 GB help me please ! i think that...
mohsen hasani
1

votes
2

answer
219

Views

Unable to run migration scripts

I've been creating an app using Ruby on Rails on Windows for almost two years and I've had it. This weekend I started migrating my dev environment over to Ubuntu because it can run some tools/services not available in Windows. I tried to run a migration and I got this error msg: $ bundle exec rake d...
goterpsgo
1

votes
0

answer
161

Views

How to stop docker-ce from downgrading and keep it at version 18.03?

I've installed docker-ce on my Ubuntu 18.4. The version after installation is 18.03 which is good but after restarting it downgrades on its own to 17.06. Client: Version: 18.03.1-ce API version: 1.30 (downgraded from 1.37) Go version: go1.9.5 Git commit: 9ee9f40 Built: Wed Jun 20 2...
user3299253
10

votes
2

answer
128

Views

Not able to install rstanarm on Ubuntu 18.04 LTS

I'm not able to install rstanarm on R 3.5.3 running on Ubuntu 18.04 LTS. I used the following commands: install.packages('rstanarm') and devtools::install_github('stan-dev/rstanarm', build_vignettes = FALSE) and both throws the following error: Execution halted Makevars:17: recipe for target 'stan_f...
MYaseen208
1

votes
0

answer
175

Views

R 3.5, Ubuntu 18.04, Error: Unable to establish connection with R session

I've got a fresh install of the three things on my Linux testbed laptop; Ubuntu 18.04, R 3.5, R Studio 1.1.453. I can open a fresh instance of R Studio with nothing loaded. Let it sit idle for an hour. Then when I run any command I get Error: Unable to establish connection with R session. I am able...
stackinator
1

votes
1

answer
624

Views

Where are caffe libraries for sudo apt-get install caffe-cpu? Ubuntu 18.*

I have successfully installed the Caffe on Ubuntu 18.* using `sudo apt-get install caffe-cpu` The which caffe returns /usr/bin/caffe I am successfully able to run caffe command on terminal, but problem is running the test files, as they are link to build directories of caffe and the problem is if I...
prodigal_son
1

votes
0

answer
336

Views

dep init -v hangs upon execution

I'll start with a disclaimer here. I'm running go on Ubuntu 18.0.4 on Windows subsystem. I have a package in which I was able to run 'dep init' successfully from the windows command line. I created a new clone (successful clone, so no network connectivity issues) of the repo in my Ubuntu subsystem...
Eddy Jones
1

votes
0

answer
58

Views

Accessing Postgres Docker DB through PGAdmin over local internet

So I've built and run a postgres container from a dockerfile on a ubuntu server remotely. The container seems to be up and runing and I can access the db from psql on ubuntu. But I want to be able to connect to the DB remotely via PGadmin over the company network, so far im stuck in having to do it....
Ali Zia
1

votes
0

answer
202

Views

Compile Tensorflow in ubuntu18.04 with CUDA9.2 cuDNN7.1.4 but got error libtensorflow_framework.so, not found

I want to compile tensorflow 1.9 with CUDA9.2 and cuDNN7.1.4. But I always got error: ERROR: /home/gratia/tensorflow/tensorflow/python/BUILD:1443:1: Linking of rule '//tensorflow/python:gen_audio_ops_py_wrappers_cc' failed (Exit 1) /usr/bin/x86_64-linux-gnu-ld: warning: libcublas.so.9.2, needed by b...
user7352158
1

votes
0

answer
311

Views

How to access Menu bar (File, Edit, View etc.) in Sublime-Text-3 from keyboard in Ubuntu 18.04?

I am using Sublime Text 3 in Ubuntu 18.04. Actually, I hided the Menu bar of Sublime Text 3. Now I want to use Menu bar. But I cannot access the Menu bar from using ALT key. I have also tried re-installing that. But it didn't work.
Bhuvan Gandhi
1

votes
1

answer
204

Views

PyCharm updated and now every script gets executed in Python Console

This morning when I got into the office, PyCharm said I need to update my IDE, so I updated it to the latest 'professional' PyCharm edition. However, whenever I run my code, it now goes to Python Console pane instead of a Run pane appearing. At first, interactive python was completely broken, but...
Rui Nian
1

votes
1

answer
522

Views

R Cairo package installation failed in Ubuntu 18.04

I attempt to install Cairo package in R under a Docker Ubuntu 18.04 container. Before installing the R Cairo package, I installed these packets in Ubuntu: libgtk2.0-dev, libcairo2-dev, xvfb, xauth, xfonts-base, r-base-dev, and libxt-dev. However, when I installed Cairo package in R, I got the foll...
user10252534
1

votes
2

answer
336

Views

Kde applications menu not working in ubuntu 18.04 after upgrade [closed]

I cannot display the drop-doown-menus of any KDE applications like kile, okular texmaker. However, I can click on the menus, but it does not show all the elements that it should show. ubuntu 18.04.1 (gnome3) LTS Any hint is appreciated! Solved: There was a problem with the display that I do not kno...
Marcelo M
1

votes
0

answer
62

Views

Javadoc tooltip hides when I click on it

I recently upgraded Ubuntu to 18.04 and starting using Eclipse Photon (Fresh package). When I hover over a class or a method to view it's Javadoc, and then click on the tooltip, the tooltip disappears. This didn't happen before and I've been using Eclipse and Ubuntu for many years. This also happens...
Muhammad Gelbana
1

votes
1

answer
822

Views

Laravel 5.7 Nginx 500 error when accessing pages, possible storage permission issues?

SOLVED Hi I am deploying my first Laravel application to DigitalOcean and I'm getting a 500 error when trying to access the url. Let me start by saying this is my first Laravel and Nginx deployment and my first time configuring a web server so if you see something that is wrong I welcome the feedbac...
S P
1

votes
0

answer
54

Views

Drawing a Transparent Ellipse with System.Drawing on .Net Core turns white

So I am using System.Drawing on my ubuntu 18.04 system. It works just fine but when I try to draw something transperent it is totally white. It works on Windows in VS just fine and everything else is transperent as well like the background. This is my code: using (Bitmap bitmap = new Bitmap(2048, 20...
Twenty
1

votes
0

answer
18

Views

MongoDB add replica-set to external server by ip

I have created 3 Digitalocean droplet. By default, I choose Ubuntu 18.06 and MongoDB 4. Here I have 3 droplets by default MongoDB config and all are up. I have access to 'mongo' shell for all of them. Now I want to run a replica-set setting by this code: rs.initiate( {_id : 'rs0', members: [ { _id:...
Sami Al Morshedi
1

votes
0

answer
353

Views

GPU getting slow in keras and tensorflow after Ubuntu upgrade to 18.04

After upgrading my notebook's operating system to Ubuntu 18.04 from 16.04 I noticed how my keras code (using tensorflow backend) became incredibly slow in my conda environment where I had tensorflow-gpu installed. Basically, it seems like some simple CNN models takes now forever (like if they had be...
mspadaccino
1

votes
0

answer
105

Views

How to resolve 'cannot match any routes' error in new angular cli app

I have installed a NEW Angular 6 cli app on digital ocean, but when I run the app I get these errors in the browser and no errors on the backend: ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'angular' Stacktrace: Error: Cannot match any routes. URL Segment: 'angu...
user3561890
1

votes
0

answer
171

Views

Cant get tensorflow-gpu to work on Ubuntu MATE 18.04

I tried to install tensorflow-gpu as per instructions given on Tensorflow website. My system configuration is as follows:- - CPU-Intel(R) Xeon(R) CPU E5-2650 - GPU-Nvidia GTX 1080 ti - OS- Ubuntu Mate 18.04 For installing Nvidia Graphics card driver, i did following- sudo ubuntu-drivers autoinst...
Rishabh

View additional questions