Latest Ubuntu related questions

Score: 0
'SkiaSharp.SKImageInfo' threw an exception while running .net C# avalonia
um flag

i am trying to build avalonia in C# .net application .But i keep getting this error below

Unhandled exception. System.TypeInitializationException: The type initializer for 'SkiaSharp.SKImageInfo' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'libSkiaSharp' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG ...

Score: 0
josh k avatar
Black screen with unblinking cursor on sleep
gt flag

I have a Lenovo Ideapad 310 wit an NVIDIA 920M graphics card. I recently dual booted Ubuntu and I didn't have any problems. I've never put my laptop to sleep nor closed the lid without shutting it down.

So today, for the first time, I closed the lid, without powering off, expecting it to be put in sleep mode and ready to work again when opened. When I opened my laptop, there was a black screen wi ...

Score: 0
Simon Hryszko avatar
ranger replace space in filenames
pr flag

I made map for moving file to Downloads directory but it cause problem if file has space

map dD console shell mv %s /home/${USER}/Downloads

Ofc I know that I can give their "" but it will not work then for multiply files (what's important for me) Is any other variable like %s what will replace -> \␣? Or maybe I can resolve this somehow else

Thanks!

Score: 0
Pradeep Kumar Jha avatar
executing upgrade grub failed this is a fatal error
cn flag

While installing Ubuntu 20.04 from a live usb, the following error is displayed: executing upgrade grub failed this is a fatal error

Please help.

Score: 0
OpenSource avatar
Huge CPU load under large amount of TCP connections
tr flag

Under a large amount of TCP connections, one CPU core will always go up to 100%. After that happens, the whole VM would start lagging and there will be an evident packet loss.

Is there a way to solve it, make TCP connections use less CPU, or even rate limit it?

NOTE: Rate-Limiting via iptables will not work. Tried the following:

iptables -A INPUT -i eth0 -m state --state NEW -p tcp -m limit --limit 30/mi ...
Score: 0
wsm avatar
E: dpkg was interrupted… run 'sudo dpkg --configure -a'
jp flag
wsm

I was trying to deploy a Django project on AWS Deep Learning AMI (Ubuntu 18.04) Version 48.0. When I try to install packages or upgrade I get this.

"E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem."

And When I run sudo dpkg --configure -a, nothing happens after this and the terminal gets frozen.

Setting up linux-headers-5.4.0-1055-aws (5.4.0-1055.58~18.04 ...
Score: 0
L. Bruce avatar
no audio on Dell XPS 13 9310 (Intel Tiger Lake) with Ubuntu 18
de flag

Fresh install of Ubuntu 18.04, no audio at all, only "dummy output" in the available outputs in the audio settings.

I tried some of the solutions available online (adding options to /etc/modprobe.d/alas-base.conf or /etc/default/grub) and none worked.

Some info:

$ aplay -l

aplay: device_list:270: no soundcards found...
$ lspci -nnk | grep -A2 audio
0000:00:1f.3 Multimedia audio controller [0401]: Intel ...
Score: 9
Sam avatar
How to make a brochure from a pdf file in ubuntu?
cn flag
Sam

Say that I have a 16-page pdf file, A4 sized. I have A4 paper and printer. I want to shrink it to halves, and print them on 4 sheets of paper, double side, fold them in halves, and staple it in the middle.
The way I do it now is to export it to PNG, use LibreOffice Writer to rearrange them. This is time-consuming. Is there a better way to do it? If I have a 64 page file.
PS: What if this is a dictionary a ...

Score: 0
Ubuntu 20.04 freezing on Lenovo Thinkpad E14
kr flag

I have Ubuntu 20.04 on a Lenovo Thinkpad E14. I gets freezes suddenly. Sometimes it goes without freezing for a few hours, sometimes only 20 mins or so.

Here's some system info:

nil@n:~$ ls -al ~/.local/share/gnome-shell/extensions
ls: cannot access '/home/nilesh/.local/share/gnome-shell/extensions': No such file or directory

nil@n:~$ ls -al /usr/share/gnome-shell/extensions
total 20
drwxr-xr-x 5 root  ...
Score: 3
Phil H avatar
How do I compress a folder while preserving file ownership
mx flag

I have a docker server I want to backup. My deployment folder has very specific ownership and permissions to support my containers:

$ ls -lhaF /opt/docker
total 32K
drwxr-xr-x  7 devops devops 4.0K Aug 23 02:34 ./
drwxr-xr-x  6 root   root   4.0K Aug 23 04:20 ../
drwxrwxr-x  2 devops devops 4.0K Aug 21 00:00 .certs/
drwxrwxr-x  2 devops devops 4.0K Aug 23 03:53 .scripts/
-rw-rw-r--  1 devops devops ...
Score: 0
error when processing archive inux-firmware_1.187.16_all.deb
cn flag

Context : Ubuntu 20.4.3

Update runs with errors about mt7615_n9.bin

Here is le log:

Preparing to unpack .../linux-firmware_1.187.16_all.deb ...
Unpacking linux-firmware (1.187.16) over (1.187.15) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive /var/c ...
Score: 2
Andreas Riedel avatar
Network error message: Feature is not implemented on this backend
cn flag

i have a problem with multipass.

For the background only:

I take the following command from the documentation for Multipass:

$ Multipass networks --format yaml

multipass networks command

Contrary to my expectations, I get the following error message:

$ Multipass ne ...
Score: 0
Sumit Mukharjee avatar
Ubuntu Installation not working in intel RST mode
us flag

I want to install ubuntu in ssd in dual boot but the bios mode is in INTEL RST so the ubuntu setup don't detect ssd,but when I switch it to AHCI mode my windows setup doesn't start it only works in Intel RST

Score: 0
logicito avatar
Ubuntu 21.04 kernel 5.13.12 - Battery drainage during Suspend mode at 1% per hour aprox
cn flag

I put my XPS 15 9510 OLED in suspend mode at night, let us say at 60% battery charge, the next day after 8 hours in suspend mode it will be at 51% battery charge, meaning a discharge rate of 1%/hour aprox., is that normal? In theory, it is only powering the memory, I have 64GB, I am using Ubuntu 21.04 with Kernel 5.13.12, thanks

Score: 0
Dayrona avatar
Apache2 symlink - How to use target name and MIME type
cn flag

I just set up an Apache2 server and it works fine. Since this server purpose is to simply serve versioned files, I created a latest symlink which targets e.g. myfile_v1.1.0.ext.

The problem is that when I access the URL http://localhost/latest, the download window shows latest as the filename and application/octet-stream as MIME type.

I would like that when I access this same URL, it shows myfile_v1 ...

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.