Questions tagged [updates]

Questions about updates. This is a very general tag. If you have a tag that's more specific (e.g. the package name that your question is about) please use that one.

6968 questions
870
votes
9 answers

How to install updates via command line?

When I log into my web server via SSH I see the information: 88 packages can be updated. 80 updates are security updates I tried apt-get update then apt-get upgrade but each time I log in I still see the message about updates. How do I install…
Marlin
  • 8,854
  • 3
  • 14
  • 5
694
votes
9 answers

What does "sudo apt-get update" do?

I am wondering what sudo apt-get update does? What does it update?
Elysium
  • 10,912
  • 24
  • 56
  • 81
540
votes
15 answers

How to prevent updating of a specific package?

Because of bug #693758 I'd like to prevent apt-get upgrade and Update Manager from updating the "libgtk2.0-0" package. How can this be achieved?
Ivan
  • 55,987
  • 65
  • 150
  • 212
400
votes
10 answers

How can I install just security updates from the command line?

sudo apt-get upgrade installs all updates, not just security updates. I know that I can use Update Manager to select only important security updates, but is there a way to do this from the command line?
crenshaw-dev
  • 30,632
  • 9
  • 43
  • 47
203
votes
7 answers

Where can I look up my update history?

Is there a place where I can look what updates I've installed?
vrcmr
  • 6,267
  • 10
  • 37
  • 60
199
votes
2 answers

29 packages can be updated - How?

I see the following message when I login: 29 packages can be updated. 6 updates are security updates. How can I perform the updates? I tried apt-get upgrade and some stuff was installed but the message still remains.
Gerve
  • 2,107
  • 2
  • 13
  • 8
190
votes
23 answers

sudo apt update error: "Release file is not yet valid"

I keep getting this error every time I try to sudo apt update: Hit:1 ubuntu bionic InRelease Ign:3 linux/chrome/deb stable InRelease Get:2 /ubuntu bionic-updates InRelease [88.7 kB] Get:5 /linux/chrome/deb stable Release [943…
user897956
188
votes
4 answers

apt-get stuck at 0 [Connecting to us.archive.ubuntu.com]

When I do upgrade it gets stuck here: user@plato:~# sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: …
Arian Faurtosh
  • 6,099
  • 4
  • 15
  • 15
185
votes
5 answers

What can I do if a repository/PPA does not have a Release file?

When updating, I get the following error message: W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file. Here, I find another statement on this error: How can I fix a 404 Error when…
Addem
  • 2,113
  • 4
  • 15
  • 14
179
votes
17 answers

How to update kernel to the latest mainline version without any Distro-upgrade?

Currently I'm running Linux-3.0 and I want to update it to Linux-3.3.1 the latest stable kernel release as mentioned at http://www.kernel.org. Can I update to 3.3.1 in Ubuntu without any risk of crashes? I'm updating my kernel regularly as provided…
Suchith JN
  • 2,121
  • 4
  • 18
  • 14
165
votes
14 answers

How to fix missing GPG keys?

I have just installed Ubuntu 12.04 and I added some repo, and when I did apt-get update, I got missing gpg key. Following command seems to doesn't work for me: apt-get update 2> /tmp/keymissing; for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed…
Fih
  • 1,935
  • 2
  • 14
  • 18
159
votes
5 answers

How do I enable automatic updates?

Update Manager is constantly offering me updates (e.g. security fixes, updates from PPAs). How can I tell my Ubuntu installation to automatically download and install updates whenever they become available?
David Siegel
  • 8,882
  • 10
  • 34
  • 34
146
votes
3 answers

"method driver /usr/lib/apt/methods/https could not be found" update error

sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found. michael@Ubuntu:~$ sudo apt-get clean michael@Ubuntu:~$ cd /var/lib/apt michael@Ubuntu:/var/lib/apt$ sudo mv lists lists.old michael@Ubuntu:/var/lib/apt$ sudo…
Michael12uk
  • 1,461
  • 2
  • 9
  • 3
125
votes
4 answers

Unable to update "Snap Store": cannot refresh "snap-store": snap "snap-store" has running apps (ubuntu-software)

I am a new Ubuntu 22.04 user who is facing an issue with the Snap Store. Whenever I try to update the Snap Store I can see these error messages. Pending update of "snap-store" snap Close the app to avoid disruptions (13 days left) Unable to…
ABHILASH T
  • 1,513
  • 3
  • 5
  • 12
113
votes
2 answers

There is no public key available for the following key IDs 1397BC53640DB551

When I run the command: sudo apt-get update I got this following warning: There is no public key available for the following key IDs: 1397BC53640DB551 This is the only warning I got and I do not get any Error. How I can fix it and what the key…
Marcellinov
  • 3,339
  • 3
  • 15
  • 23
1
2 3
99 100