Latest Ubuntu related questions

Score: 0
Richard avatar
Help with boot-repair
de flag

All of a sudden I can't boot into Ubuntu 22.04. What can I do to get up and running again?

Here is the boot-repair summary:

boot-repair-4ppa203                                              [20221219_1620]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/sda.

sdg: ___________________________________________________ ...
Score: 0
Hady Ijreiss avatar
I keep getting an end of file error. I tried to check the code manually and I tried multiple online bash checkers, can anyone help?
mn flag

I wrote this bash script to deploy a web app automatically to my tomcat server. I keep getting an unexpected end of file error but the code seems fine to me. I also tried multiple online bash syntax checkers and they didn't find any problems.

I'm using an Ubuntu 20.04 LTS Hyper-V VM

Here's the bash code:

#!/bin/bash
CURRENT_DIRECTORY_PATH="$PWD"
PROPS_PATH=$CURRENT_DIRECTORY_PATH/iiq_auto_deployment.prop ...
Score: 1
user1356144 avatar
How repair nvidia driver to work?
fk flag

On open nvidia settings get next errors:

$ sudo nvidia-smi
ERROR: Unable to load info from any available system
(nvidia-settings:7395): GLib-GObject-CRITICAL **: 19:20:22.799: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 19:20:22.801: PRIME: Requires offloading
** Message: 19:20:22.801: PRIME: is it supported? yes
** Message: 19:20:22.837: PRIME: Usage: /usr/bin/prime-select nvi ...
Score: 0
Junior Cortenbach avatar
mdadm -c does not set the mode and so cannot be first option
in flag

I am following the instruction here I am stuck at this line

mdadm –create /dev/md0 –level=1 –metadata=0.9 –raid-devices=2 /dev/sda1 /dev/sda2

I get the following error when I try to run it

mdadm: -c does not set mode, and so cannot be the first option.

Ps: in my case I have sda no sdc

Score: 2
Kvothe avatar
How to search output of help message of program (using e.g. grep)
cn flag

I have a directory with executables and I want to search for a word in the output of the help messages of these executables, i.e. the text that is printed in the console after using the command ./executable1 --help. I want to output both the executable name and the occurrence of the searched text just like grep would do for a text file. How do I do this?


I managed something close with:

find -name ...
Score: 0
Init avatar
How to play sound in Ubuntu
ec flag

I have searched many queries and answers discussing this topic but was unable to fix the problem on my installation. I am on Ubuntu 20.04 and keep getting the following error when trying to perform aplay on terminal.

ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc ...
Score: 1
Denali avatar
How to shut off random notification sounds after Ubuntu 20.04 upgrade?
cx flag

I recently upgraded to 20.04, and now have random, frequent, and annoying sounds happening that sound like notifications. I have no idea what's causing them or how to disable them. I tried turning on do not disturb in notifications settings, and adjusting the bar in sound settings system sounds, but I don't want to turn all sound off, just to stop the random notifications that are so distracting. I hav ...

Score: 1
laxebisu avatar
Netplan file order
at flag

I need help understanding the order in which the netplan config files are applied and, if possible, how to set a fallback config.

Scenario:

  • Let's say I have two config files, A and B.
  • Config files A and B both set the same ethernet interfaces in different ways. (different auth methods...)
  • Config A file name is : 01-config.yaml
  • Config B file name is : 99-config.yaml

Question:

  1. Which config file wi ...
Score: 0
Replicate settings from one Ubuntu Desktop machine to another
pe flag

I am setting up my second Ubuntu Desktop machine.

I would really like to copy some settings from the existing machine to the new one. The following are the list of settings I've identified:

  • Remmina
  • OpenVPN connections
  • Windows Shares (I think I figured this out -- copy the settings in /etc/fstab). I would then create them in Files.

Thanks.

PS: There isn't a tool that does this?

Score: 3
kekkuli avatar
(Ubuntu 20.04) GPU driver version is causing issues, how to downgrade to a previous GPU driver?
cd flag

(Edit2: solved;

I first used sudo apt purge nvidia* and after that sudo apt install nvidia-driver-525 nvidia-dkms-525 it was important to add the nvidia-dkms-525 to the end and it started working after that. Thank you for all who replied!)

I used sudo ubuntu-drivers autoinstall, restarted my pc and now I'm getting weird few seconds freezes in my screen, mouse and programs

Also I'm unable to downscale my ...

Score: 0
po.pe avatar
apt-get upgrade fails on KDE Neon 18.04
us flag

I try to update my KDE Neon Linux Ubuntu 18.04 distribution to a newer one, preferably 22.04 but when I run sudo do-release-upgrade it tells me

Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

And when I then run sudo apt-get update to update all packages it fails with the following output

Get:10 https://dl.winehq.org/wine-builds/ubuntu bionic  ...
Score: 1
Chris avatar
Laptop screen dimming after 15 seconds of inactivity after base update
ke flag

Good Morning,

I, as of yesterday, installed the latest kubuntu base update, and it has caused my laptop screen to dim after 15 seconds of inactivity, which includes things like gotomeeting, zoom, watching videos, etc. I run the cinnamon desktop environment on kubuntu 22.10.

I've done some searching, and there (at least there used to be) should be an icon in the system settings called "Brightness and ...

Score: 1
MaxPhal avatar
Why is my Ubuntu 18.04.5 LTS 64bit going idle?
cr flag

I tend to run scripts for processing big datasets of 3D images and I find myself often surprised that during such operation, my computer just goes randomly idle, i.e., all the CPUs drop in activity and nothing happens anymore. To resume the processing operation, I found out that hitting the "ctrl" key does the trick. I also know that it has nothing to do with the sleep mode, as I deactivated it and I se ...

Score: 0
FBattle206 avatar
Can not use external monitor
sc flag

Problem: I connect my monitor to the laptop with a USB-C to a hub and then with HDMI. The laptop thinks there is a monitor but the monitor don't receive any signal/data.

I use a dual-boot. when I am on windows 11 there is no problem with the monitor and everything works fine.

Has somebody a idea why it is like that and how to fix this? Thanks

Data: Laptop: HP spectre

Monitor: BENQ

Ubuntu: 22.04

Score: 4
ashenflower avatar
How to create an alias for a "cat" file usable in a path
pg flag

I have two huge files (150G each) and I need to use a tool for which I should supply them as a single file (since the tool only accepts one file). However, I do not want to merge these files for several reasons, but I cannot pipe them using something like <(cat file1 file2) or myfile=$(cat file1 file2) because the script uses the path of the input file, not its content.

So I would need something l ...

Score: 0
Abdullah Shahab avatar
imagick WriteImage function is not working using Php 7.4
sn flag

I am trying to write images using imagick php extension but code break on write image line. I also comment this line in policy.xml

<!-- <policy domain="coder" rights="none" pattern="PDF" /> -->

I am trying this code

private $path;
private $file;

function __construct($file){
    $this->path = "upload/".$file;
    $this->file = $file;
}
function convertDocument(){

    if ( !is_d ...
Score: 0
cant have dual display with dell laptop and dell screen on ubuntu kde
in flag

I have a dell laptop and dell screen connected with display port.
when the system loads the display is cloned to the big screen, but once im doing login the dell screen disapear. enabling rhe screen in the configuration does nothing.
Restart did not help, updating the system did not help, unplug and replug did not help either.

how can i fix this?

Thanks enter image description here

Score: 0
Thiemo Kellner avatar
How to fix failing name resolution
ps flag

I have a quite new Kubuntu installation and I messed its name resolution up somehow.

root @ asus-f751s ~ # host www.ecosia.org                                                                                                                  22-12-19 12:05
;; communications error to 127.0.0.1#53: connection refused

root @ asus-f751s ~ :-( # ls -l /etc/resolv.conf                                      ...
Score: 0
FabioSpaghetti avatar
sudo apt update on Ubuntu 20.04
in flag

I have Ubuntu installed on an external Hard

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:    22.04
Codename:   jammy

Ubuntu Version

I get an error when trying sudo apt update

sudo apt update
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu jammy InRelease                                      ...
Score: 0
Gury avatar
How to fix : Unable to install xxxxx: authentication was required
id flag

Running 22.04.1 I was running constantly with an issue with the snap-store unable to refrsh, so I followed instructions to kill and refresh the store from the command line.

Since a few days, I can no longer install app from the snap store. It gives me an error : Unable to install [thisapp]:authentication was required. I tried to uninstall the snap-store and reinstalling it, but no luck. Any ideas ...

Score: 0
Harshavardhan Reddy avatar
Copying docker host files from host to local - is it possible?
sz flag
# docker exec -it id bash

By this command we can move inside a container and find files in it. Inside this how can we write a python script or shell script so the files inside this will move to local. When ever a new file is being generated.

Score: 1
Varakala Chandra Kanth avatar
Need help solving some boot time errors
hn flag

So , I am kind of a newbie I was using Ubuntu 22.04+windows(dual-boot) for few months and deleted the partition via windows disk management and installed Ubuntu 23.04+windows and I am seing these boot errors :

[0 397360] pci 0000:00:07 0: DPC: RP PIO log size 0 is invalid /dev/nvme0n1p8: clean, 474261/ 13132800 files, 13109990/52428800 blocks [ 2 539160] Dev 1oopo: unable to read RDB block 8 [3.  ...

Score: 0
Mix tutor avatar
Lubuntu 22.10 keeps showing NO SIGNAL after some time
it flag

I am using lubuntu 22.10 and my monitor goes to NO SIGNAL after some period of time, i tried:

my vga:

>   

lshw -c video
 > WARNING: you should run this program as super-user.  
    > *-display
    >        description: VGA compatible controller
    >        product: RocketLake-S GT1 [UHD Graphics 730]
    >        vendor: Intel Corporation
    >        physical id: 2
    >    ...
Score: 0
gavenkoa avatar
Is there a way to identify available suites / components / arches of public APT repository?
gu flag

Some providers give base URL for a public APT repository and directory listing is forbidden for the HTTP file server. Is there a way to understand which suites / components /arches they provide?

Like to get the content of dists/* and then the content of dists/<suite>/*, then the content of dists/<suite>/<component>/*.

For the link http://http.us.debian.org/debian/ I want to see t ...

Score: 1
Switching from ubuntu to ubuntu wayland system now lagging
cn flag
Kay

I switched via the login screen from ubuntu to ubuntu wayland. However now my system is lagging. My laptop is pretty powerful and im using 2 monitors. What could be the problem?

enter image description here

Score: 1
Abdullah Shahab avatar
E: Unable to locate package php7.4-pear
sn flag

I am trying to install php extension pear for php 7.4 in Ubuntu 18.04. When I run command sudo apt-get install php7.4-pear I get this result:

Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
E: Unable to locate package php7.4-pear 
E: Couldn't find any package by glob 'php7.4-pear' 
E: Couldn't find any package by regex 'php7.4-pear'

How I can resol ...

Score: 1
Developing Electronics avatar
update and upgrade not working in Ubuntu 21.10
wf flag

I cannot install some packages. So, I have tried "sudo apt-get update" and "sudo apt-get upgrade". These commands do not work, I get "IP not found":

OUTPUT:

Ign:1 ttp://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 InRelease
Hit:2 ttps://download.docker.com/linux/ubuntu impish InRelease
Hit:3 ttps://repos.influxdata.com/ubuntu impish InRelease
Ign:4 ttps://maven.xwiki.org stable/ InRelease
Hit:5 t ...
Score: 0
momo avatar
Can't connect to wifi in normal boot
us flag

I've been using this laptop for over a year now, with Ubuntu 20.04 installed. The wifi card is Wi-Fi 6 AX200. Since last week's ubuntu update (I regularly run sudo apt update), the WiFi wouldn't connect,keeps asking for password even if I put the correct password. However, if I boot in recovery mode, repair the packages and reboot, the wifi issue is solved, but only for that boot. In the next bo ...

Score: 1
jstocks avatar
Can't get Intel AX200 Wifi Adapter working on clean installation of 22.04
gr flag

Fresh installation of Ubuntu 22.04 on a HP 840 G6 laptop. Turned off Fast Boot in BIOS. No dual boot; no Windows installed; formatted hard drive upon Ubuntu installation. Seems what I am reading is this is an error with Dual Boot - but I don't have this: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#about_dual-boot_with_windows_and_fast-boot_enabled

Airplane mode is off. I installed the  ...

Score: 1
ThN avatar
"Wired network extremely slow" Workaround Not Presistent
fr flag
ThN

After upgrading or updating my Ubuntu to the latest, I noticed my Internet connection was very slow. After troubleshooting and testing, I learned that my latest ubuntu system's internet connection to the router was VERY SLOWER than expected - 9 to 10 mbp, but should be 90 to 100 mbp.

After doing Internet search for fixes or solution, I was able to speed up my system to router speed faster using t ...

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.