Latest Ubuntu related questions

Score: 0
Kaung Kyaw Htin avatar
Network manager accidentally purge
cn flag

I accidentally purge network-manager. . So Although I try sudo apt install network-manager failed to fetch error occure cause I don't have Internet now. Pls help me How should I do to get my network-manager and Internet.

Score: 1
BRO_THOM avatar
Install PHP 7.x on Ubuntu 16.04
cn flag

I know this question has been asked a lot, but I've always been led to the same answer which is not resolving my issue.

The solution that's provided is usually along these lines:

~$ sudo apt-get install software-properties-common python-software-properties;
~$ sudo add-apt-repository -y ppa:ondrej/php;
~$ sudo apt-get update;

And it's done! But not in my case unfortunately.

So after executing the  ...

Score: 0
speed2k avatar
How to make one shortcut to execute .cpp file
tr flag

whenever I want to execute a .cpp in terminal I have to write ./ before it .

And I want to change this "./" to something else .

I found this on another thread :

cr(){
if [ "$#" -ne 1 ]; then
    echo "Usage: cr <file.cpp>"
else
    name=$(echo $1 | cut -f 1 -d '.')
    g++ $1 -o name; ./name
fi

}

It works fine but the thing is that I want to use it with flags like -DLOCAL and some others, how d ...

Score: 0
riaan Laubscher avatar
Ubuntu 20.04 Wifi connected, but cannot access internet
cn flag

I'm having the following weird internet connection problem that I'm struggling to fix.

I have a working home wifi / internet connection. I have a phone and another windows based PC on the network, and both can connect to the internet fine. On my ubuntu based machine I could connect fine as well until a few days ago (impossible to say what changed, could be an update), now the wifi connection is m ...

Score: 0
How to add permission to user for one specific command
in flag

I have a Jenkins job which runs as Jenkins user. The script it runs need to delete one folder which owns www-data user. Jenkins user has not sudo privileges and I dont want to give it to him. The command looks like:

rm -rf /var/www/deploy-old 

I don't want to add sudo privilege for rm command to Jenkins, but only for whole command including path. Is it possible or not?

Score: 0
StressedBoi69420 avatar
sudo mkdir -p parent/child | Permission Denied
th flag

This seems like such a Day 0 problem. I need to create a 2-level folder structure.

I tried:

sudo mkdir parent/child
>>> mkdir: cannot create directory ‘parent/child’: No such file or directory
sudo mkdir -p parent/child
>>> mkdir: cannot create directory ‘parent’: Permission denied
Score: 0
Batista Tomé Oliveira avatar
Internet stop working after use nordvpn
jp flag

I started use nordvpn for some days and suddenly my network stopped work.

my internet just work when i use sudo iptables -F, everytime I turn on my pc I have to run this command to put internet working.

what I want is to stop use that and back a normal way of internet.

Score: 0
Gideon Glago avatar
reinstall virtualboxVM but cant find acrhive for it
cn flag

I tried uninstalling virtualbox VM but i get this" The package virtualbox-6.1 needs to be reinstalled, but I can't find an archive for it."

Score: 0
Hristos avatar
Can I compile a Delphi project to run on ubuntu?
co flag

I need to compile a Delphi (pascal) project to run on Ubuntu. It has a GUI and it is supposed to communicate with an external device so I cannot use WINE to just execute the .exe file. Is there any way to create a .deb file out of the source code?

Score: 0
J.st avatar
No line-in sound on Ubuntu 20.04
ng flag

I suddenly got no sound using the line-in on my laptop and I do not know why. I know this isn't a hardware issue, because the line-in worked fine when booting from a USB.

Restarting pulse and alsa did nothing, and using alsamixer did not help as well.

Any help will be greatly appreciated!

Score: 1
BOJACK avatar
Hardware transcoding stopped working after host reboot
in flag

I have a Intel NUC 9 with a Quadro P2200. ESXi 7.01 is installed on the nuc.

I have enabled passthrough on the host and rebooted the nuc.

Passed both parts of the GPU - Audio and Video to the Ubuntu 20.04 VM

Added both entries on the VMs advanced settings

SVGA.Present FALSE

hypervisor.cpuid.v0 FALSE

If i build the VM fresh, install drivers via ubuntu-drivers devices it works fine. NVIDIA0-smi shows th ...

Score: 0
Grey Hill avatar
Slow server work high iowait, raid0, cpu 100%, ram is only 20% loaded
cn flag

There is a server

  • CPU ⇢ 1x Xeon E-2236
  • RAM ⇢ 32 GB
  • HDD ⇢ 4x 10TB HDD.

The disks are assigned in a RAID0 array. This is a streaming server (nginx) designed to distribute large video files. The problem arises in the following.

When you start loading the server with traffic:

  1. grows iowait
  2. CPU utilized at 100%
  3. the server starts to get slow

What I don't understand about this is that RAM memory is ...

Score: 1
Sanx avatar
Unable to install MySQL client via pip3 or pip
gh flag

I get the exact same error as shown in Unable to install mysqlclient on Ubuntu 20.10 and Error installing libmysqlclient-dev on Ubuntu 20.04. But after doing all these, if I install mysqlclient via, "sudo pip3 install mysqlclient" it installs successfully. The problem is I don't need it in root since I'm using virtual env and my django is not in root, that is, python in venv does not detect mysqlcli ...

Score: 0
user3303102 avatar
Intel RST RAID and Ubuntu 20.04. used DM RAID utility to rebuild and destroyed RAID config
cn flag

I have set up a local server with an old laptop so I was using RAID 1 mirroring for reliability= 2* 1TB HD SATA 2.5". I did use the Intel RST built in functionality. Only Ubuntu Desktop version recognized the Intel RAID configuration (I don't know why the server version didn't).

Anyway, while mounting back again everything after the first setup, unluckily a cable didn't get connected properly. Ev ...

Score: 0
Vombatus avatar
remote display freezes & poor performance (x2go, XFCE, lightdm)
cn flag

I have a server runnning Ubuntu Server 20.04 with XFCE4 (lightdm) and x2go. On the client side I use the x2go client for windows on windows 10. Since the client and the server are usually in the same LAN, I use the "no-pack" option. Connecting to the server via x2go takes quite a bit (~1 minute). Once the session is opened, it takes around two more minutes until the desktop is fully drawn. Clicking on a ...

Score: 0
Tapasvi Bhatt avatar
How to install Dolfin Package (which is generally used when you are using FEniCS)?
ph flag

To solve Partial Differential Equations, I installed FEniCS on a virtual environment. To use FEniCS, I have to use the Dolfin Library and I wish to know, how to install this library. I tried the following options but didn't get through:

1. pip install dolfin
ERROR: Could not find a version that satisfies the requirement dolfin (from versions: none)
ERROR: No matching distribution found for dolfin

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.