Latest Ubuntu related questions

Score: 0
Sanjiv avatar
Matlab R2022b installer not working in Ubuntu 22.04
ca flag

I am trying to install Matlab R2022b along with Simulink (issue is happening with every version so it's probably something with my computer) on my Ubuntu 22.04. When I first tried installing it through the command line, the GUI opened, but for some reason, it stopped saying I didn't have enough disk space which I have plenty plentyyyyyy of! After that, I tried rerunning the installer, now the GUI doesn' ...

Score: 0
hnyh avatar
restore files in path /var/lib/dpkg lock
ae flag

I accidentally deleted /var/lib/dpkg/lock and /var/lib/dpkg /frontend files from my ubuntu 22.04 system. How do I return them?

Score: 0
Jess Sremmal avatar
Ubuntu 22 LTS crashing with iwlwifi errors in logs, hard reboot required
mc flag

I have used this MSI katana computer for 2 months with no issue. Installed WINE and installed NVIDIA Drivers to be able to use Steam, which was installed but I hadn't run yet. The computer started freezing randomly. No pattern to when it freezes.(Log in, desktop, in Chrome, in Steam, with just terminal open, etc)

SysRq + REISUB doesn't work, Alt+F2 doesn't open dialog, CTRL+ALT+F3 doesn't open TTY ...

Score: 0
Alekhya Vemula avatar
How to add a filename to multiple text files which are tab separated at 7 column
to flag

I want to add the filename at 7 column for multiple tab separated text file My file looks right now like this:

chr1    467293640   .   G   A   35.3963 PASS    AF

I want output like this

chr1    467293640   .   G   A   35.3963 s372-937    AF

Right now i am using a code like this

awk -vOFS='\t' '{$7 = "s372-937"; print}' 

for a single file but how can i perform for multiple files

Score: 1
tkan avatar
stuck in dependencies loop - ubuntu 22.04
gi flag

im somehow ended up in package dependencies loop. when im trying to upgrade my packages following appears:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libapt-pkg6.0 : Depends: libgcrypt20 (>= 1.10.0) but 1.9.4-3ubuntu3 is install ...
Score: 2
LO Writer: Easiest way to put line of words into table as rows (list)
br flag

Let's say we have a series of words separated by commas in a LibreOffice Writer odt document:

"water, air, fire, sky, cloud, rain, snow, ice, wind, sun, moon, star, mountain..."

What is the easiest method to list them in a LO Writer table separated by rows?

Trying to convert them to table (TableConvertText to tableSeparate text at "Other" → selecting , - the result is that the words are  ...

Score: 0
Elliot13 avatar
I lost my Desktop after regular updated my Ubuntu 22.04
ki flag

My Ubuntu 22.04 was regular updated again and after reboot I lost my Desktop. I get just a black screen and a login string. When I enter a name, the Password appears. Then I enter the password and just get into the terminal.

I tried to install the ubuntu-desktop through the Terminal, it doesn’t work, some files are missing or something is in the way. I've tried reinstall ubuntu-desktop - and I get th ...

Score: 1
in Xubuntu, when cycling windows with Alt+Tab, the preview window has disappeared
cn flag

I have Xubuntu 22.04. This is the first time I've ever seen this problem: when I press Alt+Tab, the preview bar, that is, the horizontal bar of windows icons that shows which window would receive the focus when the Alt key is released, suddenly stopped appearing. This caused there to be no feedback at all when cycling windows, so I just have to guess or remember which window would get the focus when I r ...

Score: 0
Utz avatar
Autoinstall support both EFI and Legacy boot
mh flag
Utz

I'm trying to install Ubuntu 22.04 using Autoinstall. My generated ISO that includes userdata.yml (main autoinstall's file) has storage section, that should support both EFI and Legacy boot, but I cannot find a way to implement it.

Storage section in userdata.yml that supports only EFI boot:

  storage:
    config:
    - ptable: gpt
      path: /dev/sda
      wipe: superblock-recursive
      preserve: ...
Score: 0
Muhammad_Bilal avatar
WARNING: Unable to find module repositories. "Get-PSRepository" ubuntu20.04
tk flag

I was trying to install Az-Module in my Ubuntu power-shell, But It wasn't installing than I double checked the PSRepository and I came to know that I don't have any repository there.

I also have tried to Register the default repository But it didn't worked out and Also, I've tried to uninstall power shell and re-install it but nope, Nothing is working out.

Need expert advise on it how to Register PS ...

Score: 0
Yousra Maged avatar
USB headphones stopped working suddenly on Ubuntu 20.04.5
ga flag

USB headphones used to work normally then suddenly stopped being recognized by the machine. When I run dmesg this is what I get:

[ 1121.782061] usb 3-4: new low-speed USB device number 98 using xhci_hcd
[ 1121.782803] usb 3-4: Device not responding to setup address.
[ 1121.990215] usb 3-4: Device not responding to setup address.
[ 1122.198059] usb 3-4: device not accepting address 98, error -71
[ 1 ...
Score: 0
FRALEWHALE avatar
Error connecting to postgressql after moving to new drive
cn flag

Real head scratcher today that I am hoping someone might be able to help out with. I have an Ubuntu 22.04 LTS server and I am trying to install and configure postgressql on the server. The intent is for it to be used as an archive for older, larger DBs that don't need to be quickly accessed.

We built the server with two disks (virtual disks) one smaller one for the OS and then a second (2TB drive) fo ...

Score: 0
MarkK avatar
Install ubuntu 22.04 bootloader in windows boot manager partition
pe flag

I purchased a dell laptop with windows 11 on it. I am in the middle of installing Ubuntu 22.04.1. I have reached the part of the install, where I'm ready to install the software. I'm at the point where it is, asking me to install the device for bootloader installation. It has defaulted to /dev/nvme0n1 EDILOCA EN605 1TB. Selecting the drop down from the device for bootloader installation, it displays sev ...

Score: 4
Lumaja avatar
System Load indicator not working properly
ni flag

Ubuntu 22.04 System Load Indicator

After installing and showing on Top Bar the small windows don’t open just green thin line and keeps flickering. I had these application working properly in Ubuntu 20.04, Can some one help to correct this. Thank you

Score: 0
Salman Malik avatar
Unable to connect with wifi to ubuntu 18.04
na flag

Can some one help me on this, below is the ssid config.

[connection]
id=BM-CorpNet
uuid=bf3989d5-6b54-4a27-95be-92e715350873
type=wifi
permissions=

[wifi]
mac-address=70:A6:CC:3D:FB:3A
mac-address-blacklist=
mode=infrastructure
ssid=BM-CorpNet

[wifi-security]
auth-alg=open
key-mgmt=wpa-eap

[802-1x]
eap=pwd;
identity=test.xxx
pass=xxx

[ipv4]
dns-search=
method=auto

[ipv6]
addr-gen-mode=stable-p ...
Score: 0
Xashyar avatar
Determining Wayland or X.org on Kinetic Kudu
nf flag

I used inxi -G to determine whether my system uses Wayland or not this what it shows:

Graphics:
  Device-1: Intel HD Graphics 530 driver: i915 v: kernel
  Device-2: NVIDIA GM107M [GeForce GTX 960M] driver: nvidia v: 515.65.01
  Display: wayland server: X.Org v: 1.22.1.3 with: Xwayland v: 22.1.3
    compositor: gnome-shell v: 43.0 driver: X: loaded: modesetting,nouveau
    unloaded: fbdev,vesa gpu:  ...
Score: 0
Gabriel Celestino avatar
Change IPv4 address of my server
th flag

I've tried to change de IPv4 address from my Ubuntu Server but when i run the command "netplan apply" an error appear, the error appeared is telling me my gateway isn't a valid IPv4 Address. Someone can help me please. I'm a beginner with servers. I know this is a such idiot thing but i realy have difficult to do that IP migration. Tnx for the patient guys.
(Sorry for my Bad English i'm from Brazil. ...

Score: 0
odakunagi avatar
connecting to LAN is a problem after wlan module attempted upgrade
ky flag

short prestory: i've decided to updrade my internal wlan card. turns out not all lenovo models are open to all cards and on boot, if the change is attempted, it's normal to get something like "unauthorized network card is detected". system is halted until you reboot, put in the original card, and boot again. however:

the original card gives me kukish: not only the airplane mode seems to be permam ...

Score: 0
Praveen Kumar avatar
awk command not working for rbash user
in flag

I have created a rbash user(restricted user) vega and I have created softlinks for the following commands-: awk,ls,free,top etc. Am trying to run a script for resource utilization and some of the commands use awk.

If I run the below commands via admin am able to get the results:

admin@VD1-21-2-1:/home/vega$ free -m |grep Mem |awk '{print $3/$2 * 100.0}'
16.4827
admin@VD1-21-2-1:/home/vega$ top -b -n 1 ...
Score: 0
localhost avatar
How to backup LUKS drive, compressed?
id flag

I had a working Ubuntu LUKS installation on a 120Gb SATA SSD and I have just cloned it using dd to a larger, faster 240Gb NVME SSD (I haven't expanded the partitions yet).

lsblk:

nvme0n1                 259:0    0 223.6G  0 disk
├─nvme0n1p1             259:1    0   487M  0 part  /boot
├─nvme0n1p2             259:2    0     1K  0 part
└─nvme0n1p5             259:3    0 118.8G  0 part
  └─sd ...
Score: 2
Yukulélé avatar
"open containing folder" is taking a long time
ph flag

I am on Kubuntu 22.04

When in an application I select a file and do "open containing folder" (vscode files list / firefox downloads / chromium downloads) the default file manager takes 25 seconds to open.

If Dolphin is open or if I open it manually before the 25 seconds is up the folder is instantly displayed in a new tab in the Dolphin window. Even if Dolphin is not my default file manager.

run  ...

Score: 0
mick-au avatar
Ubuntu 22.04 maximises my windows by default
vn flag

Ubuntu 22.04 maximises my windows by default How do I stop this practice? Maximised windows hides z-order and is something that M$ uses

Mick

Score: 0
Fábio Balseiro avatar
Open application my screen lose configuration
mh flag

I have a clean installation of ubuntu 22.04 on an HP 650 G1 laptop and whenever I open an application my screen loses its configuration. I have 2 screens connected, one by VGA and one by HDMI In the image I show is what happens whenever the application is opened and I can't get around it. can you help?

Application example:

  • Settings
  • Google Chrome
  • Mailspring
  • Spotify

Image

Score: 1
Hojo Ujinobu avatar
How to mount a bitlocker-encrypted image so that it can be decrypted with dislocker?
fr flag

For a forensic case at university I am given a bitlockedImage.img disk image. I am trying to mount it using the following command on my command line:

sudo mount [image location]/bitlockedImage.img ~/img -o loop,ro 

However, I am given back the following error:

mount: /home/[user]/img: unknown filesystem type 'BitLocker'.

I am quite stuck at this point, because I need to mount the image to a loopback de ...

Score: 1
RML avatar
Ubuntu Studio 22.04 Auto-login in-active and using On-screen Login
pf flag
RML

This is with a fresh install of Ubuntu Studio 22.04, the earlier /home/user folder contents intact to preserve extensive wine DAW plugins and with a dual boot into Windows 10.

Ubuntu Studio 22.04 uses KDE Plasma, but the System Settings are very different from Kubuntu.

I have checked all the System Settings to confirm that no touch-screens are detected, there is no way to enable an on-screen keyboar ...

Score: 0
An.Shen avatar
rbash can't use tab to completion path in ubuntu 20.4
lr flag

I created a user and set bash to rbash. On centos7.x, users can use tab to complete the path. It doesn't work on Ubuntu 20.04, is there any additional configuration required?

i use ansible playbook to create user:

---
- hosts: all 
  user: root
  gather_facts: true
  vars:
    limit_user: "programer"
  tasks:
    - name: "clean dir"
      file:
        state: absent
        path: '/home/{{ limit_user } ...
Score: 0
user2742717 avatar
What the open file limit `ulimit -[H]n` does apply to?
us flag

A set of systems is configured to 1024 limit. I'm running a set of programs (written by me) for which lsof -p <pid>|wc -l returns values no greater than 200-300 at any time. But sometimes they cause a core dump with errno=24 from glibc logger (too many open files). While increasing to 2048 ois possible solution. I'm curious how that can happen. They are launched from same bash script this w ...

Score: 2
JR Utily avatar
Intel MIPI Camera stopped working after last update (XPS 13 9320)
cn flag

I got a Dell XPS 13 9320 in July, I put Ubuntu 22.04 on it and it was working fine for a few months now.

When installing in July, I followed the section Dell XPS 9320 on https://wiki.ubuntu.com/Dell to have the webcam to work.

Last week, I did an update of several packages (without looking closely on what I got, just clicking 'update all') and now the webcam stopped working.

At first, it was just  ...

Score: 2
DCTLib avatar
Ubuntu 22.10 - Enabling fscrypt for user directory after installation
jp flag

Best practices for encrypting files on a Ubuntu computer (e.g. to prevent data loss from stolen laptops that were locked or shut down while being stolen) appear to change from time to time. With ecryptfs for user home directory encryption not being recommended any more nowadays, and full-disk encryption being available as an alternative, it looks like that with Ubuntu 22.10, fscrypt is an officia ...

Score: 1
doggy avatar
Ubuntu downgrade on encrypted drive
at flag

On my laptop I have dualboot with win10. Win10 partition is encrypted with Bitlocker and Ubuntu partition is installed on encrypted LUKS partition (boot is not encrypted, home and other folders are in one encrypted partition). Recently I upgraded system to 22.10 and sadly noticed that AWS VPN Client is not supported on this system version. I need to downgrade back to 22.04 LTS. I have a question if I ca ...

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.