Skip to main content
Share Your Experience: Take the 2024 Developer Survey
75 votes
Accepted

How can I check from the command line if a reboot is required on RHEL or CentOS?

https://access.redhat.com/discussions/3106621#comment-1196821 Don't forget that you might need to reboot because of core library updates, at least if it is glibc. (And also, services may need to be ...
xddsg's user avatar
  • 3,452
39 votes

Elastic Beanstalk stuck for more than 12 hrs

If you know how to fix the source of problem (for example: change application settings in Beanstalk Environment variables or deploy fixed version of your application), then: Go to page Auto Scaling ...
Alexey Vazhnov's user avatar
30 votes

How to avoid downtime with linux?

There is an important distinction between making a service highly available and making an individual machine highly available. In most cases the goal is to make the service highly available, and ...
kasperd's user avatar
  • 30.7k
24 votes
Accepted

Unable to run `apt update` on Ubuntu 21.10

Impish went EoL on the 14th of July. As such, its repositories can no longer be found on the mirrors, so if you want to continue using this version, you need to use old-releases.ubuntu.com as your ...
Lacek's user avatar
  • 7,473
23 votes
Accepted

OSX mojave: "crontab: tmp/tmp.X: Operation not permitted"

The short answer: Go to System Preferences > Security & Privacy and give Full Disk Access to Terminal. The long answer: Pull down the Apple menu and choose ‘System Preferences’ Choose “...
Freddy's user avatar
  • 2,069
21 votes
Accepted

Update the container of a service in Amazon ECS

Not sure if this is considered as abandoned question - stumbled upon this while troubleshooting my issue and now adding my solution now that it's resolved. To update service with new container, you ...
uiron's user avatar
  • 326
21 votes

Update Office without opening an Office application

From command prompt: "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user This should trigger the Update GUI. You can also do this silently by adding ...
Rob Traynere's user avatar
20 votes

safely upgrade glibc on CentOS 7

Check it is actually needed Firstly check the python application as it could be out of date and is probably misreading the glibc version. CentOS shows the base version as installed and is patched to ...
Simon Greenwood's user avatar
15 votes

Symlink not updating as expected when using an absolute with relative path

First issue: Quoting you: Creations and deletions work fine. But updates do not work. After performing this command, the symlink becomes invalid. The problem With the given directory structure: ...
Keith Reynolds's user avatar
13 votes
Accepted

Debian Wheezy outdated root certificates

You can try and refresh your certificate links in /etc/ssl/certs with update-ca-certificates --fresh which redoes all the symlinks in /etc/ssl/certs. If that does not help, lets see if your ...
Robert Riedl's user avatar
12 votes
Accepted

How to avoid downtime with linux?

To your question, "Are there Linux distributions/processes where upgrades/patches never require reboots?", I'm not aware of any, and I'm highly doubtful that there ever will be any which are truly ...
Paul Gear's user avatar
  • 4,517
12 votes

Update Office without opening an Office application

If you need to change the Office update channel for a client to switch them to the monthly update channel, you can run the following: "C:\Program Files\Common Files\Microsoft Shared\ClickToRun\...
joeqwerty's user avatar
  • 111k
11 votes

OSX mojave: "crontab: tmp/tmp.X: Operation not permitted"

I had to add cron to System Preferences > Security & Privacy > Full Disk Access Find privacy preferences: CMD + Space, "priv" Unlock preferences for Full Disk Access and open selection menu In ...
Petr Javorik's user avatar
9 votes

OSX mojave: "crontab: tmp/tmp.X: Operation not permitted"

Another approach without requiring any permission changes, which relies upon the fact that sshd is already enabled for 'Full Disk Access' (or can be enabled as mentioned by @Soid), is to perform the ...
Pierz's user avatar
  • 693
9 votes

Unable to run `apt update` on Ubuntu 21.10

I tried this (on a RPI3, Ubuntu 21.10), modify /etc/apt/sources.list deb http://ports.ubuntu.com/ubuntu-ports impish main restricted to deb http://old-releases.ubuntu.com/ubuntu impish-security main ...
Andrew Holt's user avatar
8 votes

Upgrading Debian Linux to a specific patch level

As far as I know, an apt repository does not have a global ID referring to a certain version numbers of all packages. You could create a list of package versions, distribute it to all servers, and ...
Martin's user avatar
  • 2,484
7 votes

How can I check from the command line if a reboot is required on RHEL or CentOS?

uname -a vs. rpm -q kernel and needs-restarting from yum-utils
ptman's user avatar
  • 29.1k
6 votes
Accepted

Running an Ansible command in multiple docker containers

Given the following example output from docker ps: $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ...
dawud's user avatar
  • 15.3k
6 votes

updating SSH version 7.4pl to 7.5 on Amazon linux 2

I make a slightly longer and similar argument here but, for as long as your (enterprise) Linux distribution is supported simply applying OS updates (i.e. with [sudo] yum update) should keep your OS ...
HBruijn's user avatar
  • 80.7k
6 votes
Accepted

Apt-Get Update Failing because of Certificate Validation

Download the package ca-certificates manually from the Ubuntu repositories. You can download it using wget with wget --no-check-certificate http://security.ubuntu.com/ubuntu/pool/main/c/ca-...
vidarlo's user avatar
  • 9,610
6 votes

How we Fix the APT repository errors Debian os

You can try the archive repos, like this: deb [trusted=yes] http://archive.debian.org/debian/ stretch main non-free contrib deb-src [trusted=yes] http://archive.debian.org/debian/ stretch main non-...
Mitya's user avatar
  • 148
5 votes

How can I upgrade to Java 1.8 on an Amazon Linux Server?

yum install java-1.8.0 -y /usr/sbin/alternatives --set java /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java /usr/sbin/alternatives --set javac /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/javac yum remove ...
TechDawg270's user avatar
5 votes

I can't enable the Meltdown/Spectre mitigations in Windows Server 2008 R2

Firstly the above output is saying that the required windows patch has not been installed: Speculation control settings for CVE-2017-5715 [branch target injection] Windows OS support for branch ...
Paul's user avatar
  • 61
4 votes

Update the container of a service in Amazon ECS

I use some part from ecs-deploy script with my improvements (it takes images from every container description, and replaces its tag part with $TAG_PURE): https://gist.github.com/Forever-Young/...
ForeverYoung's user avatar
4 votes
Accepted

Get changelog before installing updates on Solaris/OmniOS?

I don't know how OmniOS provides them, but Solaris does not put ChangeLogs in the packages. For Solaris Support Repository Updates (SRUs), the change information is provided in a README document on ...
alanc's user avatar
  • 1,500
4 votes

Ansible: updating select packages if installed without installing if not

Since ansible 2.5 there is an option update_only for yum (and since ansible 2.1 only_upgrade for apt) which installs latest version only if it was already installed on the system. So, instead of ...
Dennis M.'s user avatar
4 votes

How do I make Windows Updates install automatically without rebooting the server?

Interestingly enough, I'm working on a very similar project for a client. Unfortunately, there isn't any way to download and install the updates and hold a pending required reboot. What you can do is ...
joeqwerty's user avatar
  • 111k
4 votes

Keep an updated virtual machine image on the network and let users use it if needed

For Windows, another iSCSI boot option is StarWind Virtual SAN provides native and free iSCSI target to boot hosted VMs. The following guide should help you implement the project https://www....
Mr. Raspberry's user avatar
4 votes

safely upgrade glibc on CentOS 7

In the end,I did not have to upgrade GLIBC. The gdc-client tool I downloaded through R seemed to be for Ubuntu and not CentOS, though I did it on CentOS 7. I then downloaded the gdc-client for CentOS ...
Paco el Cuqui's user avatar
4 votes
Accepted

Ansible: how to manage hosts if they are not always online?

if they are available for an update, it's always a hassle to determine which tweaks I still have to deploy on that machine... That is not the way to use Ansible. Your playbooks should be written in a ...
Sven's user avatar
  • 99.6k

Only top scored, non community-wiki answers of a minimum length are eligible