Most Popular

1500 questions
143
votes
8 answers

"Package 'docker-ce' has no installation candidate" in 18.04

I'm following the official Docker installation guide for docker-ce on Ubuntu. When I get to sudo apt install docker-ce I get E: Package 'docker-ce' has no installation candidate: $ sudo apt-get update Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic…
Robin Winslow
  • 2,646
  • 3
  • 21
  • 26
142
votes
1 answer

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY

When I run apt-get update, I get this error message: Err:18 http://dl.google.com/linux/chrome/deb stable Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY…
142
votes
8 answers

How do I change my default browser?

Is there an option to change my default browser for all my applications?
Ederico
  • 6,437
142
votes
6 answers

apt full-upgrade versus apt-get dist-upgrade

In accordance with man pages: apt has parameter full-upgrade apt-get has parameter dist-upgrade. Are both the same command? btw: which is officially the recommended command in Ubuntu 16.04? apt or apt-get?
a903user
  • 1,453
142
votes
13 answers

Bluetooth headset with poor sound quality on Ubuntu

I've bought a Philips SHB4000 headset (phone+mic) wireless (bluetooth) and It has a good quality when I pair it with my phone or PC Windows but when I pair it with the same PC on Ubuntu (14.10 64 bits) the sound quality goes down. I've been googling…
142
votes
8 answers

scp copy over ssh doesn't work - permission denied error, please?

It's driving me nuts! I just want to transfer one simple file from laptop to server. I'm using ubuntu on both machines. So I have: -rwxr-xr-x 1 sandro 414622 2011-10-14 23:42 sandrophoto-html.tar.gz And I'm sending it using: sudo scp -P XXXX…
user25389
142
votes
2 answers

What is the correct way to edit a crontab file?

I am trying to automate the refreshing of awstats for my webserver and understand that I need to use cron to set that up. So each user has a crontab file? I was following the instructions here community/AWStats And it says to go to the file at:…
timbram
  • 2,255
  • 5
  • 20
  • 21
142
votes
5 answers

What is the CVE-2014-6271 bash vulnerability (Shellshock) and how do I fix it?

Recently, there have been news going around regarding "CVE-2014-6271" (See USN-2362-1), which is a vulnerability in Bash. How do I know if I am affected by this, how can I fix it, and why should I care? This is designed as a canonical answer for…
nanofarad
  • 20,906
142
votes
1 answer

Shutdown after a certain time

I am done using my laptop but I am using the hotspot in my smart phone. So I want my laptop to be awake for next one hour. How can I Shutdown the laptop after one hour of time?
sigdelsanjog
  • 7,280
142
votes
3 answers

What does the StartupWMClass field of a .desktop file represent?

I am working on this pre-existent .desktop file and I have a doubt: The file content is: [Desktop…
AndreaNobili
  • 4,839
142
votes
2 answers

GPG error: The following signatures couldn't be verified because the public key is not available

Possible Duplicate: How do I fix the GPG error “NO_PUBKEY”? after sudo apt-get update I get this error: W: GPG error: http://archive.hivemind.me all Release: The following signatures couldn't be verified because the public key is not available:…
PabloJimeno
  • 1,525
142
votes
4 answers

No Host only adapter selected

I have a problem with my virtualbox on ubuntu 12.04, I can't add a host only adapter, the message is "no host only network adapter selected" I can't select anything can anyone solve this problem??
Ujang Karnadi
  • 1,523
  • 3
  • 11
  • 10
142
votes
4 answers

How to repair a corrupted FAT32 file system

I'm using the FAT32 file system for my pen drive. It frequently has file/data corruptions. In Windows, I used the scan disk utility to fix the FAT32/NTFS file systems. How can I do this in Ubuntu?
Chalitha
  • 1,423
142
votes
6 answers

Changing colors for user, host, directory information in terminal command prompt

Is it possible to change the colors in the command prompt for the user@computer, as well as the the current directory and command parts of the prompt display? I've already seen something like this done by OSX users, but I don't know how to do the…
Luiz Rodrigo
  • 1,769
142
votes
17 answers

How can I capture network traffic of a single process?

I would like to examine the network traffic being handled by a single process, but simple network captures won't work since I am dealing with such a busy system (lots of other traffic happening at the same time). Is there a way to isolate a tcpdump…
Kees Cook
  • 17,823