Questions tagged [ubuntu]

GENERAL UBUNTU SUPPORT IS OFF-TOPIC. Support questions may be asked at https://askubuntu.com/. Ubuntu is a free desktop and server operating system based on Debian GNU/Linux. This tag is for programming questions specific to Ubuntu.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Cant install Mysql2 Gem::Ext::BuildError: ERROR: Failed to build gem native extension

Im using ruby '2.7.5' and rails '6.0.4.7' on WSL2 I'm trying to install the mysql2 gem but I keep getting the following error: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. ...
JulioCarvalho's user avatar
-9 votes
0 answers
55 views

ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] [duplicate]

I'm running Ubuntu on a virtualbox, I installed all the necessary compilers, but it gives me an error that says "ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]". #include ...
Mekkai's user avatar
  • 1
0 votes
0 answers
12 views

Trying to create a Laravel/Kompo project on a fresh ubuntu install and I get an openssl extension missing error

I have a VM setup with Ubuntu -> ubuntu-22.04.3-desktop-amd64. I want to setup a Laravel/Kompo project that will run on nginx. I installed php8.3 from source following the steps on the php website. ...
LaZoR_Bear's user avatar
1 vote
1 answer
18 views

Why does StandardOpenOption.CREATE not work on SMB via Ubuntu?

I have a Windows file server which is mounted to an Ubuntu server at /mnt/DrawingsPB. The mount point is using the SMB protocol to manage files on the Windows server. I am trying to create a file and ...
Cardinal System's user avatar
-1 votes
0 answers
15 views

How to copy a folder from remote server ubuntu into local system [closed]

I Want to download a complete directory from ubuntu aws-server ec2 instance to my local system. i tried using this command in putty and local host **scp ubuntu@<--local-host-->:/var/www/html/...
Mustafa Ahmad's user avatar
-1 votes
0 answers
17 views

Error while checking filesystem. Not authorized to perform operation (udisks-error-quark,3)

I have been getting disk errors from an NTFS-formatted internal SATA HDD on a Lubuntu 20.04.6 LTS system. When I try to check the filesystem (from the Disks app) I get this error. The drive is ...
Ian M's user avatar
  • 575
1 vote
0 answers
41 views

Runtime dependency not found but it's there in the runtime path?

I am trying to run my application which requires a dependency libother; and libother requires its own dependency libfftw3. Both dependencies are located in the same folder on Ubuntu 22.04 LTS. I build ...
RPH's user avatar
  • 55
0 votes
0 answers
10 views

.net MIP SDK on Ubuntu 2204 fails to load libraries

Current setup: Running on mcr.microsoft.com/dotnet/sdk:7.0-jammy container (Ubuntu 2204) .net 7.0 Microsoft.InformationProtection.File.Ubuntu2204 Version "1.14.108" Installed all ...
PauliusP's user avatar
0 votes
1 answer
20 views

Building a docker image for an old version of R to utilize an older package

I am trying to build a docker image with R 2.5.0 (I know this is very old), and the package affyPara (also very old). affyPara should be supported with Bioconductor version 2.7, which should run on ...
JonahD's user avatar
  • 11
-1 votes
0 answers
17 views

Can't send files to web-server using FTP connection, Ubuntu on Virtual Box on Windows 10 [closed]

Using Visual Studio Code, I'm trying to send files to a web server from Linux/Ubuntu on Virtual Box which is installed on Windows 10. I also have git installed on Ubuntu and works OK in pushing to ...
cat15ets's user avatar
  • 165
-1 votes
1 answer
25 views

error getting credentials - err: exit status 1, out: `exit status 2: gpg: decryption failed: No secret key`

Help, I'm set up Airflow in Docker with Ubuntu VM(since Docker Airflow doesn't fully support on Windows). I'm using gpg to credentials and after run docker-compose up init, the package for redis,...
Nein Nein's user avatar
0 votes
1 answer
38 views

how to run find command on shell to get a part of the pathfile into variable?

I'm trying to get content of files spread on specific folder. find /tmp -name '*.txt' This give me: /tmp/s3400/10.txt /tmp/s3544/1212.txt I need to store "s3400" value on a variable to run ...
JaTamez's user avatar
  • 11
0 votes
0 answers
15 views

how can i fix update error on ubuntu like "Failed to ..... Could not resolve 'archive.ubuntu.com' [closed]

how i can fix this error on ubuntu = W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/mantic/InRelease Could not resolve 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/...
ahora omidian's user avatar
-1 votes
1 answer
23 views

How do I run WSL 'docker compose' command in Intellij Idea?

I have WSL with Ubuntu and docker-compose plugin installed on Windows 10. Now, I can run docker compose command (v2) from my PowerShell or Idea's terminal like this: wsl docker compose up. And ...
Oleksii Morenets's user avatar
0 votes
0 answers
15 views

PM2 Commands Unable to Stop Nodejs Process on Ubuntu

I am using pm2 to start a nodejs service on Ubunutu 22.04. The service is: /srv/goyard_print/nodejs/index.js. I used pm2 to start the service and to configure it to automatically restart when ...
f1fan44's user avatar
  • 141
-2 votes
0 answers
20 views

Ubuntu - how to increase the size of RAID 1 [closed]

I have Software RAID1 running on Ubuntu 22.04. lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 100G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 ...
Venelin's user avatar
  • 3,009
0 votes
0 answers
25 views

Upgrading PHP version in Matomo on Ubuntu server

I have Matomo installed on my server using [email protected]. In order to remove the warning showing in Matomo dashboard I want to upgrade to php8.2 only on Matomo directory, without affecting the system. I ...
Mourad Tlili's user avatar
0 votes
0 answers
28 views

How to deploy a Qt application from one Ubuntu to another

I built a Qt 5.15.1 application on Ubuntu 18.04.5 LTS and I am trying to run it on a newly installed Ubuntu 22.04.3 LTS, before sending it to a colleague. I have: created plugins and platforms ...
Pete Smyth's user avatar
0 votes
0 answers
19 views

this is a pyqt5 code which was working fine in my old os (manjaro) now its not working in (ubuntu)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. ...
5030- Giridharan's user avatar
-1 votes
1 answer
62 views

what is the use of getchar() in following program [duplicate]

#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #define NUM_DAYS_IN_WEEK 7 typedef struct { char *acDayName; int iDate; ...
Swathi A's user avatar
0 votes
0 answers
36 views

Wordpress / PHP / Ubuntu problem. Site does not load fast enough [closed]

My WordPress site has worked quite fine - until I recently moved all pages to the new server. Some of the images, not always the same, download very slowly, and because of that the rest of the images ...
EsaA's user avatar
  • 11
0 votes
1 answer
49 views

GCC/G++ on Unbuntu makes a.exe that won't run: "Exec format error"

I'm trying to get my working C/C++ code to compile with GCC/G++ on Ubuntu - apart from one weird bug and a few very minor differences from the MinGW GCC port, Intel and MSC compilers it compiled and ...
Martin Brown's user avatar
-1 votes
0 answers
21 views

Error while updating ubuntu and installing zsh in windows [closed]

I installed Ubuntu using wsl. Once the Ubuntu get installed, I tried to update it using sudo apt-get update. It gave me this error. myusername@SYSTEM-NAME:~$ sudo apt-get update [sudo] password for ...
Amit Pal's user avatar
0 votes
1 answer
10 views

Unable to install php8.1-ldap

Basically, I wanted to install Joomla 5 on Ubuntu 23.04. So when I executed sudo apt install php8.1-ldap it gives me an error because php8.1-ldap depends on libldap-2.5-0. when then i try to install ...
Adeel Raza Azeemi's user avatar
-3 votes
1 answer
24 views

How do I configure the extra buttons on a Logitech M720 to map to keystrokes in Ubuntu [closed]

I already know the answer, just posting it here so someone else doesn't need to go through the same work to get it working.
r-m's user avatar
  • 11
0 votes
0 answers
21 views

cant get systemd service to run python program

I am trying to run a rather simple python program on startup and making it restart by itself. Python program working fine from terminal. Service just gives me a failed Message. sudo systemctl status ...
Sebastian Bätz's user avatar
-1 votes
1 answer
11 views

How to fix nginx error connection refused on AWS EC2 instance?

I get ERR_CONNECTION_REFUSED error when trying to access nginx on an AWS EC2 instance via the public IP address. I launched an ubuntu t2.micro EC2 instance and installed nginx on it. Then set inbound ...
Mena's user avatar
  • 1,921
1 vote
1 answer
43 views

How to set "VARSIZE" and "SET_VARSIZE" in PostgreSQL 16

I'm trying to build the mapnik-german-l10n on Ubuntu 22.04 but got the following error: https://github.com/giggls/mapnik-german-l10n/blob/master/icutranslit/osml10n_translit.cpp Here is the error: ...
stackbiz's user avatar
  • 1,212
0 votes
0 answers
5 views

Package owner not correctly applied for Debian package created through fpm

I want to create a debian package through the fpm packaging tool and I want this package to be owned by a particular user/group ( say X ). So while building the package, I set the options --deb-user ...
Nishchal G S's user avatar
-1 votes
0 answers
26 views

Running Django and PHP on same Ubuntu server [closed]

I have a dedicated Ubuntu 22.0 server on which I am running PHP apps using Cyberpanel. I want to use Django on the same server. I have 2 sites inside cyberpanel using wordpress. I want my third site ...
Vijay Prajapati's user avatar
-4 votes
0 answers
21 views

Nvidia driver on Ubuntu 22.04 [closed]

I am so confused, why ubuntu sources get more updated driver and cudnn version than nvidia's wevsite, and which one should be used? Q1: When use ubuntu-drivers list --gpgpu, I suppose it return ...
ease_zh's user avatar
  • 38
-1 votes
0 answers
33 views

Docker entrypoint cannot execute binary files, but can in bash shell

I am working with this dockerfile that has an entrypoint that starts up a ROS 2 python script. FROM --platform=linux/arm64/v8 ncannon511/ros2-jammy SHELL ["/bin/bash", "-c"] ENV ...
Eclipse999's user avatar
-1 votes
0 answers
12 views

Install an app on Ubuntu 18.04 from some .docker files [closed]

I have a few files with the extension .docker for an app I need to setup on Ubuntu 18.04. I have 4 .docker files one with mongo, one with nginx and the others with the app. I installed docker on ...
Dorin's user avatar
  • 1
0 votes
0 answers
17 views

Notify-send scripted to several other ubuntu's distros

I start to wonder if it's possible to make a script to send notifications once to several other Ubuntus, i must say that not all the computers have the same Distro, having MATE XUbunutu LUbuntu and ...
JPG.jpg's user avatar
-1 votes
1 answer
42 views

Why does cpio deny access when copying to a USB stick? [closed]

I want to make a copy of /home on my USB. To do this I am running this command: sudo find /home | cpio -o > /dev/sdb while Im logged as root user. I have previously made sure that /dev/sdb is the ...
cnd's user avatar
  • 33
-2 votes
0 answers
18 views

grub rescue ls only hd0 [closed]

What if grub rescue ls only has hd0 and only has (hd0) after ls and error after ls (hd0)\ Can I still restore my Ubuntu operating system? Can the data in it still be restored,What should I do, after ...
hello_world's user avatar
0 votes
0 answers
11 views

CFLAGS ignores -std=c++11 or -std=gnu++11 Ubuntu 14.04

I am trying to compile the latest Open VM Tools from VMWARE on Ubuntu 14.04. Running "make" I get the following: /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file ...
JustAGuy's user avatar
  • 5,311
1 vote
0 answers
12 views

Blazor WASM (hosted) - CI/CD with Jenkins?

Our company is currently trying out working with Blazor and we decided to go with WASM (ASP.NET-Core hosted). We are currently trying to figure out how to deploy a project via CD with Jenkins. We want ...
philipp8230's user avatar
1 vote
1 answer
62 views

Ubuntu Webhooks is not reading the correct RVM ruby installed

I'm trying to set up webhooks on my system to do some ruby stuff on my machine automatically via running a bash script. The problem is that the ruby used while running the script manually differs from ...
Hazem Hagrass's user avatar
-1 votes
0 answers
14 views

How, using Putty console, to point the path for files to copy, from Ubuntu 20.04 server to Windows 10? [closed]

Need to copy files to G:/site on Windows. I use command scp -P 15397 /var/www/site.com/public_html/file.txt [email protected]:/ How shall i point the path to G:/sites directory on Windows after ...
Gianna schaefer's user avatar
-2 votes
0 answers
14 views

openstack clam pci cached and fails [closed]

I have openstack instance with one controller node and 2 compute nodes, our production works fine until 3 days ago, but now if we want to create instance with RTX-3090-flavor instance creating fails ...
Mahdi's user avatar
  • 140
-1 votes
0 answers
20 views

Sql developer - Error 'The network adapter could not establish the connection' Ubuntu [closed]

I downloaded oracle database using docker images on ubuntu and it worked, however after a few days I started my virtual machine and when entering the password to connect in SQL Developer an error 'The ...
Cookies's user avatar
0 votes
0 answers
13 views

Docker performance issue with nested Ubuntu KVM [closed]

I have an issue with docker performance in a nested Ubuntu VM. Here's the setup: >OpenStack Infrastructure >>My Workstation (A) >>>My Project Host (B) >>>>My Project VM (...
Martin's user avatar
  • 119
0 votes
0 answers
7 views

how can I change OpenSSH default "nas-identifier"?

sorry for my poor English. I setting up a fully working Radius server for SSH authentication and it work without any problem. I just want to know: how can I change default ubuntu/openssh "NAS ...
Nirvana Wubian's user avatar
0 votes
0 answers
18 views

TypeError: An error occurred while decoding the string

GIST: Server cannot decode _id when request is sent along with korean alphabets. I'm sending a WebSocket message from my local Live Server page to my EC2 Ubuntu backend server like so: websocket.send(...
sickodev's user avatar
0 votes
3 answers
59 views

replace a specific text in all files with a text from its own file name in linux

Good Day! I have files in Ubuntu like: ZAF_MM_CYCLE_K051.XLS ZAF_MM_CYCLE_K052.XLS ZAF_MM_CYCLE_K053.XLS which are copy of a file "ZAF_MM_CYCLE_K036", the code of file is K036 File ...
Jonibek's user avatar
  • 98
0 votes
1 answer
82 views

Issue with using dotnet run as Entrypoint in docker image for c# webapi application

I was experimenting with docker and c# app, I noticed that ideally people are using both dotnet sdk image which is base image and dotnet runtime image. My idea was why not just use dotnet sdk image to ...
curiousDev's user avatar
0 votes
0 answers
47 views

SQL Issues when using docker

I am attempting to get data from mssql Everything works fine on windows, but the error only occurs when I dockerize the application. I cut out a lot of code but I think this sums up what I'm ...
MotoMatt5040's user avatar
-1 votes
0 answers
16 views

Can’t open directories in tar file [closed]

I created a tar file from a linux machine and when I open it in windows the directories shown as files with white symbol 0kb which is unopenable(added a picture) Can you please help me fix this issue:(...
adar buchris's user avatar
0 votes
1 answer
17 views

apache2 on ubuntu mantaining persistent cache of inexistent php file

I am facing the following problem: I am developing locally on my machine, and after making certain changes, I upload them to the remote Git directory. Then, I download them on my server, which is ...
Thainan Nunes's user avatar

1
2 3 4 5
1220