Latest Ubuntu related questions

Score: -1
Mandroid avatar
linux script: '. /path/to/anotherscript'
gl flag

I have a script file which refers to another script file(containing some functions) this way:

. "${scripts_dir}/update.sh"

What does it mean in linux scripting?

Does it load code in update.sh so that it can be invoked now onwards?

Score: 0
Paweł Suchodolski avatar
Ubuntu - LibreOffice - doesn't start without sudo
ve flag

Trying to convert docx to pdf and i run into problem. sudo libreoffice is working libre office is throwing error

javaldx failed!
Warning: failed to read path from javaldx
LibreOffice 7.5 - Fatal Error: The application cannot be started.
User installation could not be completed.

think this is permission problem but doesn't know how to change it that command will work with www-data user.

Ubuntu 20.04.6 LTS ...

Score: 0
bleptoga avatar
C-states not fuctioning on Ubuntu Server 22.04. Please help
mc flag

I’m putting together a home server running Ubuntu 22.04 LTS and I’m having a hell of a time with the c-states. Current power draw of the system is 33 watts but I’d like to lower that as far as possible. At the moment I can only get a C2 c-state. I’ve tried updating the kernel with HWE, I’ve tried turning off the sound and LAN in the bios, I’ve made sure the C packages are enabled in the bios ...

Score: 0
Eliyno D.C Gaeb avatar
input/output error during write on /dev/sda
US flag

I have been trying to install Ubuntu on my pc, the device currently does not have any OS. But I get the error "input/output error during write on /dev/sda"

Score: 0
codegirl2000 avatar
Precision 3260 cannot connect to monitor via Displayport to HDMI
sl flag

I have a Dell Precision 3260 with Intel UHD Graphics with three Display ports on the device. I have two monitors. I normally connect to one via Display port directly. However the other monitor has only HDMI. I have tried a Display port to hdmi adapter and the screen is shown on BIOS start. But after it is just a blank black screen'. On the monitor I had it has a HDMI also so tried it with the same cable ...

Score: 0
itil nonok avatar
Need to edit, improve the auto completion on sudo
cn flag

How can we improve the auto completion on sudo, as it should complete second argument, i.e. the rooted executable's first argument, with items of the current working directory files instead of that of executable files in PATH

The problem is can find this Bash completion only few of the sudo lines under /usr/share/bash-completion

in bash_completion: ... ...

_root_command()
{
    local PATH=$PATH:/sbin:/us ...
Score: -3
Nicolò Di Girolamo avatar
Installing Scibd (chess database) on Linux Mint
lu flag

I've been looking around for an open source software that can read chessbase formats (.cbv especially) and it seems like the only existing one is scibd (https://scidb.sourceforge.net/) but I can't understand how to install it and make it work. I would be very happy to toss away chessbase completely (it's the only thing that forces me to go back to windows from time to time). I use Linux Mint 21.1 ...

Score: 0
Sree Hari avatar
No arm64 support for openjdk-17-jdk?
pk flag

https://packages.ubuntu.com/focal/openjdk-11-jdk supports multiple architectures including arm64. https://packages.ubuntu.com/focal/openjdk-17-jdk does not seem to support arm64. What could be reason ? Is there a plan to support more architectures for openjdk-17-jdk ?

Score: 0
hurelhuyag avatar
How to setup PPPoE connection on Ubuntu 23.04?
bt flag

I've been using Ubuntu for over 10 years. But I can't find the PPPoE setup menu for the first time ever. Do I need to install an additional package?

My Settings Looks like now: screenshot of settings app

Score: 0
Brus0 avatar
Ubuntu 22.04 flannel cni0 degraded carrier
md flag

I'm working with kubernetes on Ubuntu 22.04. We can see networking issues showing up in the syslog with flannel. In the logs you can see various networking links going up and down after 2s. The cni0 is in status degraded carrier. Can anyone help ? Should it be in a better state ?

Calling systemctl status systemd-networkd.service return the text below.

rgadmin@ubuntu:/var/log$ networkctl
IDX LINK    ...
Score: 0
Alex Oat avatar
Migrate from apt lxc 3.0.3 to snap 4.0.9. Mount points problem
br flag

I need to upgrade my Ubuntu from 18.04, and for this, I need to upgrade LXC/LXD to snap version. So, I ran: lxd.migrate and I got the following output:

=== Destination server
LXD version: 4.0.9
LXD PID: 7439
Resources:
  Containers: 1
  Images: 0
  Networks: 1
  Storage pools: 1

Although, my container and ZFS pool mount points are gone:

NAME                           USED  AVAIL  REFER  MOUNTPOIN ...
Score: 0
Nicola Urbinati avatar
NFS cluster with pacemaker and corosync fails with stale file on failover
co flag

I have a 3-node pacemaker-corosync cluster on ubuntu 22.04, managing some nfs shares.

I share two different glusterfs (for sharded storage on the three nodes) volumes (one ssd, the other hdd):

showmount -e
Export list for nfs2:
/HDD5T/nfsshare/exports/HDD5T x.x.x.x/24
/HDD5T/nfsshare/exports       x.x.x.x/24
/HDD5T/nfsshare/exports/SDD2T x.x.x.x/24

So on the hosts, I mount the HDD gluster volume on /HDD5 ...

Score: -3
Anber_liang avatar
how to download MP3 files from Spotify platform?
ht flag

I would like to know how to download MP3 files from Spotify platform? Because I am a free Spotify user, I cannot download some of my favorite songs. Is there any way to download MP3 files from the Spotify platform?

Score: -3
Zac Scrywalker avatar
After installing linix ubuntu its said to remove the usb and press enter after i removed the usb and pressed enter is says /dev/nvme01np2 clean:
in flag

After installing linix ubuntu its said to remove the usb and press enter after i removed the usb and pressed enter is says /dev/nvme01np2 clean: there are numbers than / more numbers file same angain but blocks and it doesnt change after a few hours

Score: 0
capibara245 avatar
paste doesn't work on save file dialog name input
cd flag

I'm using ubuntu 22.04.3 and when I try to paste text in the save file dialog name input sometimes it doesn't work. I noticed it while using libre office, but it is set to use system dialogs, not its own. I have tried both using ctrl+v and right click and paste as I saw suggested in another post, but it had no effect. The copied text is stored on the clipboard, because I can still paste it normally on a ...

Score: 0
user1704433 avatar
Ubuntu authentication error login screen auto blinking?
ms flag

I am working on Ubuntu that is launched from an Oracle virtual machine. While logging in it is showing an authentication error.

authentication Error

Score: 0
Nishant Majumdar avatar
Mouse Movement via MotionSource (DSU)
ca flag

I wish to control my mouse via my mobile's gyro, sideways. I was able to send motion like that using the android app called MotionSource which emits DSU input, and I am able to connect to games and the games recognize motion. I connect it by typing my phone's IP into the PC.

I want a way to be able to control my mouse movements via the motionsource app.

Score: 0
Kirby-1989 avatar
freshclam problem
cn flag

I have clamav all installed and freshclam is working after I do:

cd log
sudo mkdir clamav
sudo touch freshclam.log
sudo chown -R clamav:clamav /var/log/clamav/freshclam.log

Question is : how can I make above permanent because after some restarts these changes go back to root and disapear ?

Score: -3
Huzaifa Nadeem avatar
how can i add online image in libreoffice write?
de flag

Does LibreOffice have its own library of online images to insert into Writer, etc? I’m thinking of how Microsoft Word, when you go to Insert an image, you can directly choose from an online library of images from Microsoft, so it’s safer than choosing random images from unknown websites, and it’s more convenient. If such a thing doesn’t yet exist in LibreOffice, this would be a perfect opportuni ...

Score: 1
mirzanahal avatar
Ubuntu doesn't boot, only boot in recovery mode, after upgrading Cuda
kg flag

I recently encountered an issue with my Ubuntu 20.04 setup after attempting to upgrade CUDA from version 10.1 to 11.4. After the upgrade, I noticed that the nvidia-smi command was no longer functioning properly. In an attempt to resolve the issue, I ran ubuntu-drivers autoinstall, but unfortunately, this caused my system to stop booting normally. Now, I can only boot into recovery mode.

I've tried re ...

Score: 0
slideshowp2 avatar
unable to start container process: exec: "/opt/sentry/postgres-entrypoint.sh": permission denied: unknown
ng flag

Following the sentry self-hosted/#getting-started documentation to install the sentry in WSL ubuntu 20.04

Got an error after executing the ./install.sh.

 ...
 Container sentry-self-hosted-kafka-1  Healthy
 Container sentry-self-hosted-snuba-outcomes-consumer-1  Starting
 Container sentry-self-hosted-smtp-1  Started
 Container sentry-self-hosted-symbolicator-1  Started
 Container sentry-self-hoste ...
Score: 0
john avatar
Hangs up during the bootstrap process in openstack
sy flag

I keep having this error for 2 days now.

sunbeam cluster bootstrap --accept-defaults Timed out while waiting for model 'openstack' to be ready Error: Timed out while waiting for model 'openstack' to be ready

Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy

only managed to install 5/23 then it hangs consistently. Please advise. Deploying openstack control pla ...

Score: 7
Erick avatar
What is the correct command using brace expansions to create multiple directories?
th flag

Could I use the following command to create multiple directories?:

mkdir ~/backups/freemem/{backups/diskuse,backups/openlist,backups/freedisk}

or

mkdir ~/backups/freemem/{/backups/diskuse/,/backups/openlist/,/backups/freedisk/}
Score: 0
Raul Aquino avatar
Visual artifacts in apps on Ubuntu 22.04
jp flag

After a clean installation of Ubuntu 22.04, I'm facing this problem in some apps such as Firefox. When installing OBS through the store, it also stays like this and I already had this problem before. Sometimes Chrome would bug which is a big problem.

enter image description here

My specs are:

  • AMD Ryzen 5 5600X 6-Core Processor 3.70 GHz

  • 48.0GB RAM

  • 5500XT 4GB

  • SSD NVME 1TB

EDIT:

Loot at spotify for example: enter image descr ...

Score: 0
Rogier van Vlissingen avatar
Activating a USB / Bluetooth dongle ASUS USB-BT500
kg flag

The instructions from ASUS suggest the following instruction, but it is not working for me I am following the instructions for 64-bit Linus, but I can't get it to work.

$ sudo make install INTERFACE=all
[sudo] password for rogier: 
make: *** No rule to make target 'install'.  Stop.

The instructions say this:

===============
  REQUIREMENT
===============

The supported kernel version is 2.6.32 - 5.7 ...
Score: 1
seedlessly avatar
Ubuntu upgrade to 20.04, cannot uninstall prior version of gnumeric
at flag

I upgraded Ubuntu 18.04 to 20.04 a few days ago using Software Updater. After the upgrade, Gnumeric will not open my old gnumeric files. If I start Gnumeric then open a Gnumeric file, the hard drive lights a bit then it crashes. There are errors on startup if I start it from terminal.

(gnumeric:50306): GLib-GObject-CRITICAL **: 17:13:09.939: Object class GnmFontButton doesn't implement property 'le ...

Score: 0
Gabriel Mourão avatar
Stuck on white underscore on screen + cant acess terminal
au flag

I know there are a lot of questions about this, but none of them helped in my case. First of all i none of the commands the access the terminal seem to work (alt+f2 or alt+cntrl+f1 or f3), the screen just stays there irresponsive. I had this response ever since i installed dual booted ubunto

I also tried and reinstalled the ubunto from an mounted usb drive many, from partitioning myself (i alloca ...

Score: 0
Anil Gusaiwal avatar
"Request failed with status code 403" error when downloading from Android SDK Manager
gh flag

I am facing the following error everywhere so in Android Studio when I download tools and SDK:

Packages to install: 
- Sources for Android 31 (sources;android-31)
- Android SDK Platform 31 (platforms;android-31)
Preparing "Install Sources for Android 31 (revision 1)".
Downloading http://dl.google.com/android/repository/sources-31_r01.zip
An error occurred while preparing SDK package Sources for And ...
Score: 0
wojtekthe avatar
Zero Upload Problem on Ubuntu
mm flag

A few days ago I installed linux ubuntu on my computer and the upload has not been working since the installation. I turned off the extensions and tried again, but it didn't work. I can't even upload a simple picture.

Score: 0
Peter Chow avatar
Either NVIDIA Driver works OR laptop hardware works - but not both - 20.04
cz flag

Problem: Either the laptop can run 20.04, kernel 5.15.0-79-generic, and the nvidia driver loads and works, OR I can update the kernel to >5.19 to enable most laptop hardware but "nvidia-smi" returns "nvidia-smi has failed because it couldn't communicate with the NVIDIA driver." Attempts to reinstall the NVIDIA driver have all been unsuccessful.

Specifics:

  • We have a development requirement to use  ...

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.