Latest Ubuntu related questions

Score: 0
joesiegel avatar
Landscape-api couldn't parse value as data
fr flag

I've been using the landscape-api command line to create and edit scripts in Landscape for a while. Recently, however, I started getting an error:

Couldn't parse value <code> as data

The command I'm running is:

landscape-api edit-script <script_ID> --code <file_name>

The error also occurs if I enter the code as text instead of a file name.

I only noticed the error in the last couple w ...

Score: 0
carlo avatar
After installing ubuntu in dual boot with windows, now windows wont start
sb flag

So that is the repair boot tool report about my issue, so i hope you will help me guys. https://paste.ubuntu.com/p/Tc7qs3QNwx/

More info. So i used chatgpt before and some others online tools so it see i must have a file /esp/efi/microsoft/ so i cant see the microsoft file, as i understand the boot windows file must be in this folder.

  • Another stuff, i didnt see windows in where i must make the choo ...
Score: 0
Bianka Kesler avatar
Hard drive not detected
li flag

Normally I am a Windows user and when my external hard drive crashed, I wanted to use the back up. Unfortunately this one was not detected and I could only find it in the Disk Manager. Here I was asked to initialize it which would mean a loss of the data. It was suggested that using Ubuntu might be a solution. So I installed Version 22.04.2 on another laptop. Here it is found when I use gnome-disk but n ...

Score: 0
Herbert Qerbert avatar
~/.bashrc displays entries depending on how it is called
cz flag

I am trying to export a new directory "foo" to $PATH using a shell script. For now I used a shell script install.sh that exports the path like this:

<install.sh> 
#! /bin/sh

echo export PATH=$PATH:<path/foo> >> ~/.bashrc

For some reason, if I now try to display the ~/.bashrc file, I do get different outputs depending on how I print it. For example, accessing it in a Terminal via

Score: 0
kamyogi avatar
Retrieve FF in 'Normal Mode'
us flag

My Firefox window opens in 'Private Mode' by default (I must have used a trick in past for that. But now, I forgot what was that!). Some sites aren't accessible in private mode. For them, I want to use the Normal Mode. How to retrieve it?

PS: ~/.config/autostart shows 'Exec=firefox %u'

Score: 0
shantanu sharma avatar
Cgroup one of the needed subsystems is not mounted
cn flag

I'm a web application developer. I am learning about container internals and Linux.

I was following the article Complete Intro to Containers. When I ran the command cgcreate -g cpu,memory,blkio,devices,freezer:./sandbox inside the container, it didn't work. I also tried the same command outside the running docker container but no difference in Error.

The error is cgcreate: can't create cgroup ./sandbox ...

Score: 0
jduff1075 avatar
Downgraded 22.04 -> 20.04, Ubuntu won't save user settings
tl flag

I had a working AMD64 based Ubuntu computer w/ 22.04. I had /home on a separate drive (from OS). I downgraded 22.04 -> 20.04. (Erase 22.04 and install 20.04, not a downgrade in place - a fresh install of 20.04) After the fresh 20.04 install, edit fstab and remounted /home. No problems, works as expected.

However, I can't get display related settings to work. e.g.

  • with NVIDIA driver load ...
Score: 0
Shubhang Kakkar avatar
Theres static noise in my wired headphone always when connected to ubuntu 23.04
us flag

Hello I have a dell inspiron 3542 and when I connect my wired headphones I always hear static noise it is driving me crazy this problem never happened in Windows 10,8,7 ever

Output of

shubhang@shubhang:~$ inxi -A
Audio:
  Device-1: Intel Haswell-ULT HD Audio driver: snd_hda_intel
  Device-2: Intel 8 Series HD Audio driver: snd_hda_intel
  Sound API: ALSA v: k6.2.0-20-generic running: yes
  Sound Serve ...
Score: 0
Renato avatar
Acer AN515-57: How to keep keyboard backlight on
is flag

friends.

I have a laptop Acer model Nitro AN515-57 with BIOS 1.19. My OS is Ubuntu 22.04.2.

My keyboard backlight turns off after 30 seconds. I want to avoid this situation.

My BIOS hasn't the option "Keyboard Backlight Sleep" or the option "Keyboard Backlight Timeout".

The command ls -l /sys/class/leds/ returns only:

input4::capslock ->../../devices/platform/i8042/serio0/input/input4/input4::capsl ...
Score: 0
Flenza Darius avatar
I cannot install libtool on my pc
mo flag

When am trying to install it tells me unable to fetch archives,maybe run apt-get update or try with --fix-missing?

Score: 0
NASSIM avatar
How can I stop the grub command line appearing on startup after deleting Ubuntu and boot directly to Windows?
is flag

I recently have deleted Ubuntu now whenever I boot the grub line command appears, I was able to boot into windows using the following commands

insmod part_gpt
insmod chain
set root=(hd0,gpt1)
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot

The problem is I have to do this each time I boot

I tried messing with the diskpart tho wasn't able to fully manage and solve it due to my lack of knowledge of it

Score: 0
Rahul Sharma avatar
How to start jupyter notebook (or run 1 command) when GCP Starts up
ua flag

I have a GCP instance. Currently, I login using the username@ip address with a SSH file for auth.

Then once I login using terminal, I run this command manually

jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser & disown

I want to do something like, after I hit "start" button on google cloud VM page, jupyter notebook starts. How can I do it?

Score: 0
Ľubomír Mlích avatar
How to display line numbers in new gnome-text-editor
in flag

Is there a way to show line numbers in new gnome-text-editor?

Score: 1
skyvol avatar
How do I disable mouse acceleration in ubuntu 22.04.2 LTS?
bt flag

how do I disable the mouse acceleration? In widows I could easily disable it in the mouse settings but in ubuntu I don't see an option for it.

Score: 1
AymericM avatar
a process started with sudo and put in background still exist after ssh disconnect
cn flag

Here is the procedure I use:

  • I'm connecting to Ubuntu 22.04 using ssh.
  • I'm editing a file with vim (or emacs) using sudo
  • I'm leaving the editor with Ctrl-Z

Then, I close the ssh connection. Either I force to close the ssh connection or the connection is closed for network reasons.

Before I close the ssh connection, this is what I have on my Ubuntu:

userxxx   468394  468393  0 11:04 pts/2    00:00: ...
Score: 0
sorecauadrian avatar
Laptop battery toggles between not charging (0%) and fully charged (100%)
tg flag

I'm using a Lenovo ThinkPad W520 and Ubuntu 22.04. By mistake it got to 0% and now it shuts down whenever the charger is plugged off, thus I can only work with it plugged in. In addition, the battery toggles between not charging (0%) and fully charged (100%). when typing

upower -i upower -e | grep 'BAT'

that's what i get when it's fully charged and when it's not charging.

I've tried the solutions f ...

Score: 0
Vasiliy avatar
LUKS + TPM2 + auto unlock at boot (systemd-cryptenroll)
cm flag

Please, help me to finish setup LUKS + TPM2 + auto unlock at boot.

I have installed clean Ubuntu 22.04.2 I have encrypted partition in GUI while installing OS. I have installed all updates.

Ubuntu 22.04.2 LTS
5.19.0-43-generic
systemd 249 (249.11-0ubuntu3.9)

I am trying to use this manual: https://wiki.archlinux.org/title/Trusted_Platform_Module#systemd-cryptenroll

I have installed:

tpm2-tools
dracu ...
Score: 0
sphtd avatar
Adding unallocated space without data loss
cn flag

I have Ubuntu Server 22.04. I have zabbix server installed on it. Unfortunately, disk space is running out. this server is a virtual machine on VMware ESXi. I added 25 GB to the server but unfortunately I don't know how to add 25 GB to the existing partition so as not to lose data. Is it possible at all?

 fdisk -l /dev/sda

sudo sfdisk --list-free /dev/sda

Score: 0
mLstudent33 avatar
autocomplete-like feature in terminal (ROS2) that shows the "options" for that command typed in
ph flag

It's not quite autocomplete but on the ROS2 course on O'Reilly, the instructor types part of the command, presses Enter and the terminal shows any and all commands for which what has been typed before pressing Enter is a substring of the actual command.

Here is an example

autocomplete pic

cd /usr/share/col

gets him several that start like that and among them he chooses to type in

cd /usr/share/colcon_argcomplete... ...
Score: 0
Mohammed Baashar avatar
My ubuntu server broke after following a tutorial to upgrade python frm 3.6 to 3.8
cn flag

I followed this tutorial to upgrade python:

https://tech.serhatteker.com/post/2019-12/upgrade-python38-on-ubuntu/

Then I ran

sudo apt update && sudo apt upgrade

but the system refused with the error:

Setting up python3-apt (1.6.6) ...
E: py3compile:243: Requested versions are not installed
dpkg: error processing package python3-apt (--configure):
 installed python3-apt package post-installation s ...
Score: 1
How can I scan a QR code to connect to a Wi-Fi network on Ubuntu?
bd flag

On various devices, both smartphones and computers, it is possible to generate a QR code for a Wi-Fi network. You can connect to that Wi-Fi network by scanning the QR code.

Ubuntu 23.04 has this functionality. You can open the Settings app, and navigate to the "Wi-Fi" section, then click the QR code button next to a Wi-Fi network.

Screenshot (image from OMGLinux)

How can I connect to a Wi-Fi network on my  ...

Score: 0
Tom avatar
Canonical MaaS utilisation on large machines
lv flag
Tom

Apologies if I'm asking something that's been covered before - my search didn't bring anything up.

From what I have seen on Canonical MaaS on bare metal, we provision the whole server with a single OS image, like Ubuntu, right? But what if the server's so big that it's almost a waste to use it as just one server? Without bringing a hypervisor into the mix, is there a way we could slice up that ba ...

Score: 0
julio avatar
I lose my Explore on ubuntu 20.04 , please help
pr flag

I was trying to connect my Samsung S21 to my ubuntu and perform some instructions:

root@spike:~# history | grep mt
    1  sudo add-apt-repository ppa:langdalepl/gvfs-mtp
    4  sudo apt-get install mtpfs
    6  sudo apt-get install gmtp
    7  sudo apt-get remove gmtp
    8  sudo apt-get install mtpfs
    9  sudo apt-get install gmtp
   23  history | grep mtp

After this m Explore icon desappear and I  ...

Score: 0
Jora Gevorgyan avatar
how to get LLVM IR with debuginfo from linux kernel
cc flag

I get the following linker error when trying to build linux kernel, help me please to fix the issue. click to see the screenshot

Thanks in advance.

Score: 0
Biomage avatar
Can't upgrade Ubuntu 23.04, due to bluetooth driver 'rtbth'
us flag

I updated to 23.04 a few weeks ago, but the software updater now keeps informing me of new updates but every time I update through this process it fails with the following error message.

I have tried sudo apt clean,sudo apt autoclean, and sudo apt autoremove, but this hasn't helped.

If I use the command line after doing sudo apt update and sudo apt upgrade, I get this:

Reading package lists... Done
 ...
Score: 0
SebMa avatar
Cannot find "Gandi Standard SSL CA 2" certificate on my webserver, where is it?
de flag

I have installed a certificate on my webserver into /etc/ssl/certs/.

My certificate is signed by Gandi Standard SSL CA 2 which is signed by USERTrust RSA Certification Authority.

The USERTrust RSA Certification Authority is stored on my webserver into /usr/share/ca-certificates/mozilla/ :

$ dpkg -S USERTrust_RSA
ca-certificates: /usr/share/ca-certificates/mozilla/USERTrust_RSA_Certification_Authorit ...
Score: 0
Jayaraman adithya avatar
What is the default amount of swap storage space?
zw flag

Does Ubuntu 22.04 create a swap file by default? What is the default amount of storage allocated to the swap file? Please share the documentation link regarding these details.

Score: 0
Ravi avatar
How to enable 6Gbps for SATA3?
in flag

Though it supports SATA Rev 3.0, still there is no Gen3 listed here? Tried to set the speed using "libata.force=6.0Gbps", but getting error like "ata: failed to parse force parameter "6.0Gbps" (unknown value)".

~ # hdparm -I /dev/sda | egrep "Model|speed|Transport"
        Model Number:       TOSHIBA MQ04ABF100V -63
        Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA R ...
Score: 0
Ali Safdari avatar
Play audio through 2+ bluetooth devices
hk flag

I do not have surround sound speaker setup and was hoping that I can imitate some level of that through 2 (or more) sets of wireless earbuds when watching a movie with someone on my laptop.

Basically a duplicate of this question, except it's for Ubuntu 22.04.2. The answer as given in there does not seem to work for me.

Thanks!

Score: 0
Mohit Sajwan avatar
CIFS mount not on showing correct owner
gl flag

I have a CIFS mount on Ubuntu 20.04.6 LTS. getcifsacl shows the correct domain user as owner but not getfacl shows unix root user as owner. Not sure what i am missing.

wbinfo -t

wbinfo -n

wbinfo -S give same id as frim "id "

smbclient -L $HOSTNAME -U $domain_admin%$domain_passwd -d 3, works fine

This is an issue since application running wil check user permisison based on getfacl.

Adding comment:

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.