Latest Ubuntu related questions

Score: 0
moski avatar
HTTP ERROR 500 when running to linux server?
sc flag

I have this PHP code for importing excel to mysql using PhpSpreadsheet in xampp. This code is OK when running in windows environment but if I hosted it to a Linux Server(Ubuntu 22.04) using XAMPP Linux got an error "HTTP ERROR 500". I've installed all packages and extension needed for PhpSpreadsheet based here on phpspreadsheet.readthedocs.io documentation. If this error is for the server side what shou ...

Score: 0
ChallengeTheOne avatar
Struggling to create partitions on a SD flash card
pa flag

I wanted to create partitions on a SD card. I tried to use GParted, KDE Partition Manager and also tried it under Windows using the system's manager but it always fails at creating more than one partition.

The Process starts normal but then fails at KDE Partition Manager and shows an error, it continues at GParted without error but in the end you can not find the partitions - they stay beeing und ...

Score: 0
Omar Shawky avatar
libinput and xev don't detect 3 or 4 fingers
it flag

I want to use fusuma or libinput-gestures which requires libinput but it is not working

Things I tried:

  1. Copied a working installation and configuration from my other laptop, but they are not working on the current laptop.
  2. Tried to debug sudo libinput debug-events and it catches 1 & 2 fingers only without 3 or 4 fingers at all.
  3. Tried xev and it catches touch press, touch release, axis scroll (2 fi ...
Score: 0
Faisal Shaikh avatar
External Webcam Detected by cheese but not working(webcam- fingers 720p)
sr flag

"My question is about that ,I am using an external webcam by fingers it has resolution of 720. When I am connecting my webcam on my laptop it detects in cheese but video is displayed and get stuck, starts flickering and get's hanged too.But it was working when i had ubuntu 20.04 in my laptop. The same issue was happening in windows by installing its drivers, perfectly working there." All this happened a ...

Score: 0
What is the correct way to not be using the home directory during a backup of it?
co flag

So I obviously shouldn't just run rsync backing up /home while I'm plainly logged in, as the state of settings files could be inconsistent or whatever else, since /home is being used.

One solution is to enable signing in as root on the login screen and going from there as root, but I've heard that is ill-advised.

What's the right way to not be using /home during a backup of it?

Score: 0
Lucas Miller avatar
How can I install Python's latest version on Ubuntu 20.04 and make sure that it's set as the default Python version for all users on the system?
vi flag

I'm working on an Ubuntu 20.04 machine and need to ensure that I have the latest version of Python installed. How can I install it and make sure that it's set as the default Python version for all users on the system?

I've tried using the package manager to install Python, but it only installs an older version. I've also tried compiling from source, but that doesn't seem to work either.

Any help wou ...

Score: 0
13 Dhinesh A avatar
I am using Ubuntu on my Lenovo laptop with single boot, I don't know what happened and I paste the error message here
ws flag

I am using Ubuntu on my Lenovo laptop with single boot. I don't know what happened, and I paste the error message here.

[ 1.1800501 integrity: Problem loading X.509 certificate -65 /dev/numeOn1p2: clean, 502523/31227904 files, 15065420/124895488 blocks  
[ 6.5166201 ACPI BIOS Error (bug): Could not resolve symbol _IZ.ETMD1, AE_N  
OT FOUND (20220331/psargs-330) I 6.516745)   
ACPI Error: Aborting me ...
Score: 2
ATG avatar
dpkg: error processing package virtualbox-dkms (--configure):
kz flag
ATG

I am trying to run virtualbox, but its not working. Tried reinstalling it and came across an error.

sudo apt purge virtualbox
[sudo] password for vega: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'virtualbox' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
 ...
Score: 0
guyd avatar
Ubuntu 22.04 :: VM failure after power failure
cn flag

I have Several VM's - all worked fine prior that event. After a grid power failure - all VM's showing an error message as shown below. PC works fine. All files, HDD, are intact. I tried to Ignore - but problem persists.

What can I do ?

screenShot

Score: 2
Fangquan Shi avatar
"virtual ethernet failed" for VMWare station 17.0.0 on Ubuntu 22.04
cz flag

I installed VMWare Workstation pro 17.0.0 (build-20800274) on Ubuntu 22.04 (5.19.0-38-generic). However, I can't access the internet from the guest machine. I searched the internet and tried some resolutions (e.g. https://communities.vmware.com/t5/VMware-Workstation-Pro/Virtual-ethernet-failed/td-p/2906720). But they don't seem to work. For example, I tried to install some patch and compile modules.

Score: 1
Apple Orange avatar
Ubuntu 22.04 LTS kernel panic (/sbin/init not found)
kr flag

I'm currently running a deep learning server with Ubuntu 22.04 LTS. After a reboot, it keeps running into kernel panic with the error messages '/sbin/init not found' and '/etc/init permission denied'. Recovery mode does not help at all.

Based on a quick search, I found that this problem usually occurs after a partial update corrupting the initrd image. Following the typical approach to regenerate ...

Score: 0
Leonid Yurchenko avatar
22.04, battery reading is occasionally very off after a sleep
io flag

Laptop is MacBook Pro 13 early 2015. When just booted, its fine, battery percentage shows accuratelly. But after a sleep it occasionally (like 80% of time) goes wrong, showing 4-10% left, while in reality its 40-100%.

$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               DP
  model:                bq20z451
  power supply:         yes
  updated ...
Score: 1
Mauri Ericson Sombowadile avatar
How to manually install a theme for KCacheGrind?
eu flag

I just installed KCacheGrind onto my WSL2 Ubuntu for profiling the performance of a program, but I can't stand the blinding light.

I've noticed that every time I run it through the terminal, there is the message Icon theme "breeze" not found. (but the program works just fine). Then I learned about KDE themes, but I don't want to install the whole KDE ecosystem. I just want to install a dark theme so tha ...

Score: 0
Sadegh Pouriyan avatar
getting lots of package dependencies while installing wine on ubuntu 22.04
gw flag

i have tried the instructions from here:

https://wiki.winehq.org/Ubuntu

steps:
sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt install --install-recommends winehq-stabl ...

Score: 2
Daryl avatar
I have no applications accessible including apps, desktop, startx, etc after removing a library (I think) in synaptic
cw flag

I removed a library from my system by mistake. Can't remember the actual package name. Tons of stuff was removed. Now every application is inoperable and my application's window shows nothing.

  1. Is there a way to find the last couple of items removed with synaptic?

    I found that if I run <sudo apt reinstall (app)> the programs will then work and the settings are intact. I reinstalled firefox, zim  ...

Score: -1
Mohamed Ridzuan avatar
What to do to install ubuntu or not?
mf flag

"This computer currently has windows boot manager and ubuntu 22.04.2 lts on it. What would you like to do?"

The reason behind this was before this i change my motherboard, and fresh install the windows. So, i cannot boot to my ubuntu as there is no boot option to it.

So what i need to do ?

  1. Erase ubuntu and resintall ?
  2. Erase disk and install ubuntu ?
  3. something else ?

Note that previously i have  ...

Score: 0
Terence Eden avatar
Set LD_LIBRARY_PATH for with symlinks
bt flag

As per the Ubuntu documentation - the only way to permanently set LD_LIBRARY_PATH is by adding a conf file to /etc/ld.so.conf.d/

If I manually run export LD_LIBRARY_PATH=~/nextcloudapp/squashfs-root/usr/lib then the libraries in that path are accessible and I'm able to run my program.

If I edit /etc/ld.so.conf.d/nextcloudlibs.conf and add /home/me/nextcloudapp/squashfs-root/usr/lib/ and then run

Score: 0
Bren Scott avatar
launching steam and discord at startup
cn flag

OK so I've been launching steam and discord manually every time i turn on my computer, i'm tired of it. I've tried using the startup application but i have to use terminal commands and if i launch through terminal the terminal window must be open otherwise if i try to close it the application closes in both cases with discord or steam. how can i avoid using the terminal command in the startup applicatio ...

Score: 0
Thomas Craig avatar
1440p 144hz monitor stuck at 60hz
nc flag

I have a 1440p 144hz monitor connected to my system via HDMI. My CPU is an intel i5 10400 in an ROG Strix z490i motherboard. I don't have a dedicated graphics card so I am just running off of integrated graphics. My motherboard supports HDMI 2.0 and I am pretty sure that I am using an HDMI 2.0 capable cable. I am on Ubuntu 22.04.1 with Kernel 6.2.9 installed.

In my display settings, the refresh r ...

Score: 0
ZeN avatar
message when connecting to a VPS
bv flag
ZeN

When connecting to a VPS, it gives me a message:

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status

As I understand it, this message is related to ubuntu pro. But how can it be removed without crutches? And what does it have to do with exactly?

Score: 0
Leska avatar
Ubuntu EFI is not removing
iq flag

I recently tried to dual boot windows with ubuntu but I changed my mind and deleted the disk partition where ubuntu was installed. Now, when I use bcdedit /enum firmware, I still see the EFI Ubuntu boot manager, even after using bcdedit /delete {id}. Please help

Image: What it looks like now

Score: 1
nobody special avatar
How to install qemu-kvm on kinetic when package not showing up in apt?
sj flag

I'm going around in circles trying to install qemu so I can run a lxd vm.

lxd gives me the error

Error: Failed instance creation: Failed creating instance record: Instance type "virtual-machine" is not supported on this server: QEMU command not available for CPU architecture

I've done all the checks having turned on vm in my bios and everything checks out okay.

However I need the qemu command.

 ...
Score: 0
Dragan Veselinovic avatar
Permission Denied (Transmission WebUI)
ca flag

So I have been playing with groups, users and permissions on my Home Server in order to use Transmission, to no avail.

I want to have my 'download' folder in my 'home' folder. Why? Because I have my external drive mounted to /home in order to have a larger library and my root folder is on the internal memory.

This is my ls -l output

total 16
drwsrwsrwx 2 debian-transmission drigy 4096 Mar 31 17:01 Mov ...
Score: 0
Yung Taco avatar
Whats the password?
mn flag

Permission denied, please try again. ubuntu@172.16.1.102's password:

ive been trying to log into Anbox Cloud for the first time, at the moment im trying to get into the website a it gives you a command to type in "ssh ubuntu@172.16.1.102" when i do that its asking me to imput a password to get into it, only issue is that it's not a password that i've set

I recently created this PC a week ago so its  ...

Score: 0
Simon Kepp Nielsen  avatar
reading multiline output of command into variable in bash script
id flag

I have the following line in a bash script:

disk_info=$(smartctl -i $disk)

where $disk is the name of a disk eg. /dev/sda The output of the command should be many lines long, and I need to further process these as seperate lines, but the variable $disk_info does not contain any newlines, just spaces in their place Example:

echo $disk_info
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.15.0-56-gene ...
Score: 0
Captain Chaos avatar
The backup GPT table is not on the end of the device
by flag

I had my docker server (Ubuntu 22.04.2 LTS) installed on an old 32GB SSD with two 4.0TB HDDs as data storage. but as i added more docker images soon ran out of space on the tiny ssd. So I had an old SAMSUNG MZNLN256, still not huge but should hold enough for what i need at the moment. I have retried installing ubuntu server several times on it, reformating. but i get an error saying that the GPT partiti ...

Score: 0
Brayan Gonzalez avatar
because i can't install python3.10-minimal in ubuntu 22.04 lts
lc flag

I have a container with ubuntu 22.04 lts and when I need to install a package or program that requires pyhton3.x-minimal it throws a permissions denied error, I am also root. It is something strange but I have not been able to solve it.

This is program installa

root@c0f46f619a6c:/var/www/html#apt-get install systemd

And the installation throws the following message

Reading package lists... Done
Buil ...
Score: 1
Cosimo Massari avatar
My PrtSc key is not working properly since upgrade to Ubuntu 22.04 LTS
in flag

Since upgrading my pc to Ubuntu 22.04 LTS I've encountered several issues, but the funniest and most tedious one is definitively this. When I press the PrtSc key on my keyboard it doesn't take a screenshot. I checked my computer shortcuts but they are ok (I changed the first one in order to take the following screenshot): enter image description here

Using some web application I checked that the key input was ok, and it is. By ch ...

Score: 0
kolyande avatar
Converting Ubuntu-Minimal 22.04 cloud image from .img file to VirtualBox .vdi disk image
sl flag

I'm trying to use Ubuntu-Minimal 22.04 pre-built cloud image in VirtualBox. I've dowloaded .img file which (according to file util) has QEMU QCOW2 Image (v2) so I'm trying to convert it using qemu-img tool:

qemu-img convert -O vdi ubuntu-22.04-minimal-cloudimg-amd64.img disk.vdi

It is being converted sussessfully, but when I attach converted disk image to VBox VM and try to start VM it fails with messa ...

Score: 0
AsianXL avatar
How To Create and Backup a Bootable System Image of Ubuntu Server 22.04
de flag

Objective:

  • I am trying to back up my unmanaged VPS to remote cloud storage (Google Drive or Storj) by creating a system image so that if my VPS is wiped in a disastrous event. I can restore everything in minutes without typing dozens of command lines to set up Ubuntu again, then my web hosting panel, hardening the system, etc. Ideally, it would also have daily backups of the latest changes to my VPS hos ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.