Latest Ubuntu related questions

Score: 3
Mohammad javad avatar
apt error: repository doesn't support architecture 'i386'
it flag

When I run sudo apt update got this message:

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://apt.postgresql.org/pub/repos/apt hirsute-pgdg InRelease' doesn't support architecture 'i386'

this is output of dpkg --get-selections | awk '/i386/{print $1}'

gcc-11-base:i386
libc6:i386
libcap2:i386
libcom-err2:i386
libcrypt1:i386
libdbus-1-3:i386
libgamemode0:i386
lib ...
Score: 1
heol avatar
Wifi-Ap snap, Simultaneous Client and Access Point now working
cn flag

I've tried running "Simultaneous STA / AP Mode" using wifi-ap snap as described here:

https://discourse.ubuntu.com/t/simultaneous-sta-ap-mode/19964

Tested on Ubuntu Server 20 and Ubuntu Core 20 with no success. Namely the AP reports itself as active but I can't find the network when scanning from another device.

$ snap install wifi-ap
$ wifi-ap.config set wifi.channel=6 ## the wifi channel used b ...
Score: 1
yaa__ avatar
Resize Corner takes a lot of space in GNOME
us flag

The resize corner takes a lot of space. At least half an inch of space in all four sides of any window of a program. How should I scale it down.

I'm on Ubuntu 20.04 LTS.

Score: 0
Sid avatar
Ubuntu 21.04 sees only 1 storage to install
us flag
Sid

I have 4 storage drives on my system.

Current Storage in Win 10

My goal is to install 21.04 on the 1 TB empty drive listed as Disk 1. It's a regular HDD. The windows OS runs off a nvme currently and I do not want to touch that. Booting into Ubuntu and going in for an install, I for some reason can only see one drive to select - Disk 2 Ubuntu Installer

Drive detected by Ubuntu installer

Now, when I cli ...

Score: 0
Milen Todorov avatar
Restore files from software RAID 1
gb flag

I accidentally erased my files from my MDADM raid when I created a Docker container and mapped my raid but after that all files in the raid disappeared. The discs are not currently being written or read. I want to ask what is the way I can recover my files? Unfortunately I don't have a backup. Also I am open to any suggestions even to attach disks to Windows machine. This is my Docker compose config fil ...

Score: 1
namish avatar
Switching from an SSD to HDD, how will Grub behave?
in flag

I am going to replace the HDD in my dual-boot laptop with an SSD. I don't want to move my files, since everything I need is backed up to the cloud. This is what I plan to do:

  1. Install a fresh copy of Windows 10 on the SSD.
  2. Create a partition and dual-boot Ubuntu as usual using a Live USB.
  3. Restore my files from the cloud.

Here is my only concern: The first time I put the SSD, what will happen when I  ...

Score: 0
user3620633 avatar
How to disable Split Tunnelling in OpenConnect on Ubuntu?
cn flag

I use the following command to connect to a VPN via openconnect on Ubuntu 20.04 LTS:

sudo openconnect -b --protocol=gp --user=himanshuiiitian  vpn.example.com --servercert XXXXXXXXXXXXXXXX

Above command uses split tunnelling to connect to the VPN which is blocking few sites for me. How can I disable the split tunnelling or enable full tunnelling via openconnect?

Score: -2
Saeed Neamati avatar
How to rename files in ubuntu, recursively, using grep and rename not find?
cn flag

There are gazillions of questions and answers regarding how to rename files. I'm new to Linux and this myriad of possible ways and different results and different configurations confuses me.

For example:

  • rename works, but not recursively
  • grep works recursively, but can't be used to search for file and directory names, instead of file contents
  • find works, but has a long ugly syntax when you want t ...
Score: 0
Redirect web service
cn flag

I have a web server that is running. There is a URL https://www.example.com/test/ (/var/www/html/test) How do I make https://test.example.com redirect to there?

I am using Apache 2.4 as my web daemon.

Score: 2
Wifi stops working after reboot unless I boot Windows first
us flag

When I boot into Ubuntu (21.04), my laptop wifi usually stops working after a few minutes. It disconnects from the router, and can no longer detect any nearby routers. There is a workaround: my laptop is set up to dual-boot Windows, and if I boot to Windows and then immediately reboot back to Ubuntu, the wifi always works fine.

My problem seems similar to this one, but the fix that worked for that ca ...

Score: 1
hlesnt395 avatar
Python3 vulnerabilities
us flag

Can anyone help me to understand difference between these two python outputs.

root@ip-192-168-20-21:~# apt install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.6.7-1~18.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


root@ip-192-168-20-21:~# apt install python3.6
Reading package lists. ...
Score: 0
marco demmon avatar
`Package 'gnome-software' has no installation candidate` on Ubuntu 21.04
us flag

I'm new to linux and trying to install gnome-software on my machine but the command is not working. I am getting this error: E: Package 'gnome-software' has no installation candidate. The command I'm using is sudo apt install gnome-software.

I have ran: sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y sudo apt purge gnome-software && sudo apt install gnome-softw ...

Score: 0
How To Debug CPU Usage Of mount.ntfs-3g
ck flag

Many questions have been asked & answered about issues with mount.ntfs-3g's CPU usage; typically, the solution offered is to add big_writes to the mount options (e.g. here), or to simply say "it's an inefficient driver, so poor performance is par for the course."

In my case, I've been happily running nearly everything off a shared ntfs partition on a dual-boot machine for some time. Virtually all my ...

Score: 0
takizee avatar
How to permanently switch "backspace" and "Enter" keys?
in flag

i want to swap the functions of Enter key and backspace . i know the key code of both of them

"Enter" = 117; "Backspace" = 101;

possible ways is by using the dconf editor by changing the options of xkb, but I don't know the name of the rules/options .

Score: 0
Surya Sashank avatar
VirtualBox VM insert guest addition not working after installation
mx flag

Max is not 1920

MY HOST OS IS WINDOWS

Hello everyone. I'm trying to install Windows in my Oracle Virtual box, however after installation there are these white bars around my screen. I followed the instructions to go to Devices>Insert Guest Addition> then the amd exe file

I have an asus laptop with a gtx video card. Picture of Description of my Virtual System

Even then it isn't working after rest ...

Score: 0
Nicholas Saunders avatar
How to add bluetooth headset to sound settings for mic and speaker?
mx flag

How do I get the bluetooth device listed for sound settings:

sound

I actually used this just a few hours ago, worked fine.

nicholas@mordor:~$ 
nicholas@mordor:~$ sudo dmesg | grep -i bluetooth
[   32.835495] Bluetooth: Core ver 2.22
[   32.835522] Bluetooth: HCI device and connection manager initialized
[   32.835533] Bluetooth: HCI socket layer initialized
[   32.835535] Bluetooth: L2CAP socket layer initia ...

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.