No sd-agent updates available for Debian/Ubuntu

We've made some changes to sd-agent which include systemd support where appropriate. As such we have split the Debian and Ubuntu repositories to allow us to provide OS specific packages from sd-agent v2.2.0 onwards. If you have a current sd-agent install on your server but are not seeing any available updates following this article will allow you to update. 

Error

You will not see a specific error message from apt, however you will see that your account shows the agent to be out of date but apt does not provide any updates when executing apt-get install --only-upgrade sd-agent or similar.

Solution

Update the repository

You can update to the latest version of sd-agent for your OS by updating your repository with the relevant command below: 

Debian 7 - Wheezy

echo "deb https://archive.serverdensity.com/debian/ wheezy main" | sudo tee /etc/apt/sources.list.d/sd-agent.list

Debian 8 - Jessie

echo "deb https://archive.serverdensity.com/debian/ jessie main" | sudo tee /etc/apt/sources.list.d/sd-agent.list

Debian 9 - Stretch

echo "deb https://archive.serverdensity.com/debian/ stretch main" | sudo tee /etc/apt/sources.list.d/sd-agent.list

Ubuntu 14.04 - Trusty

echo "deb https://archive.serverdensity.com/ubuntu/ trusty main" | sudo tee /etc/apt/sources.list.d/sd-agent.list

Ubuntu 16.04 - Xenial

echo "deb https://archive.serverdensity.com/ubuntu/ xenial main" | sudo tee /etc/apt/sources.list.d/sd-agent.list

Update the agent

Once you've added the correct repository you can then update to the latest version of sd-agent with:

apt-get update
apt-get install --only-upgrade sd-agent

New Installs

No action needs to be taken for new installs as all documentation, install scripts and Server Density provided configuration management tools have been updated to ensure the agent install is successful. 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Monday  —  Friday.

10am  —  6pm UK.

Dedicated Support.