Why does update-notifier needs tons of additional packages to be installed?Howto get the number of available updates/security-updates in ubuntu serverGood practices for updating a server? [without affecting current running services]How to make my server email me when there are security updates?A question about installing security updatesIn 14.04 Packages/reboot warnings in motd take an additional login to show upSecurity Updates make server software not work anymoreHow to update the apt-check count of “X packages can be updated” message
TensorContract and TensorProduct problem
For the Ring of Shooting Stars, what is the spell save DC of Faerie Fire?
Beautiful planar geometry theorems not encountered in high school
Is it a mistake to use a password that has previously been used (by anyone ever)?
Are we experiencing lower level of gravity now compared to past?
How does the credit rating of a country affect its populace?
Is there a practical use for dependent types?
Why does Darth Sidious fear Luke Skywalker?
Why would prey creatures not hate predator creatures?
Using a sealant to stop a toilet tank leak
Does toddler keep hands around private parts?
Magento2.3: How to move the custom block in account navigation sidebar?
Locked folder with obscure app from Sourceforge, now cannot unlock folder
"Store" a remote SSH session?
How to handle a colleague who appears helpful in front of manager but doesn't help in private?
Two people from small group of friends want to have a "meeting" with me. The circumstances are strange and give me a bad feeling
Should I present forged documents in a Penetration Test/Red team engagement?
Do time signatures make sense?
German SIM card for a two-week visit?
Was Haile Selassie the world's only involuntary messiah?
If a photon truly goes through both slits (at the same time), then why can't we detect it at both slits (at the same time)?
N-Dimensional Cartesian Product
On Valentine's Day
Substitute Unprintable ASCII Characters
Why does update-notifier needs tons of additional packages to be installed?
Howto get the number of available updates/security-updates in ubuntu serverGood practices for updating a server? [without affecting current running services]How to make my server email me when there are security updates?A question about installing security updatesIn 14.04 Packages/reboot warnings in motd take an additional login to show upSecurity Updates make server software not work anymoreHow to update the apt-check count of “X packages can be updated” message
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I see some people have these motd scripts showing them information like:
23 packages can be updated.
0 updates are security updates.
I did some research and found out these are provided by a package called "update-notifier"
So I did a sudo apt install update-notifier and I got this:

Ugh... I mean.. I just want to know if I have updates or not. Do I need all of these ?
Was gonna have this on few small remote servers by the way. It's not a desktop machine where resources are unlimited, so to speak.
updates motd update-notifier
add a comment
|
I see some people have these motd scripts showing them information like:
23 packages can be updated.
0 updates are security updates.
I did some research and found out these are provided by a package called "update-notifier"
So I did a sudo apt install update-notifier and I got this:

Ugh... I mean.. I just want to know if I have updates or not. Do I need all of these ?
Was gonna have this on few small remote servers by the way. It's not a desktop machine where resources are unlimited, so to speak.
updates motd update-notifier
add a comment
|
I see some people have these motd scripts showing them information like:
23 packages can be updated.
0 updates are security updates.
I did some research and found out these are provided by a package called "update-notifier"
So I did a sudo apt install update-notifier and I got this:

Ugh... I mean.. I just want to know if I have updates or not. Do I need all of these ?
Was gonna have this on few small remote servers by the way. It's not a desktop machine where resources are unlimited, so to speak.
updates motd update-notifier
I see some people have these motd scripts showing them information like:
23 packages can be updated.
0 updates are security updates.
I did some research and found out these are provided by a package called "update-notifier"
So I did a sudo apt install update-notifier and I got this:

Ugh... I mean.. I just want to know if I have updates or not. Do I need all of these ?
Was gonna have this on few small remote servers by the way. It's not a desktop machine where resources are unlimited, so to speak.
updates motd update-notifier
updates motd update-notifier
asked Sep 11 at 20:47
xperatorxperator
2017 bronze badges
2017 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
The update-notifier package is for Desktop systems with a complete Desktop Environment (like Gnome). However, it's pretty clear from your output that you are running a headless server of some kind.
Adding any desktop or GUI application will, of course, drag in an entire desktop stack...which is exactly what your apt output indicates.
It's also important for you to know that the Message Of The Day (motd) package count at login is NOT up-to-date. It's generated once daily, stored at /var/lib/update-notifier/updates-available, and quickly becomes stale. It is NOT recalculated at boot or login (doing so would delay boot or login for little gain)
Most admins that I know use Unattended Upgrades to quietly install security updates once each day in the background, and review non-security updates weekly or monthly.
Good explanation. I thought I could use some extra info at each login just to get a glance at system's health. Just like you said it's definitely not worth it for servers.
– xperator
Sep 11 at 21:41
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1173554%2fwhy-does-update-notifier-needs-tons-of-additional-packages-to-be-installed%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The update-notifier package is for Desktop systems with a complete Desktop Environment (like Gnome). However, it's pretty clear from your output that you are running a headless server of some kind.
Adding any desktop or GUI application will, of course, drag in an entire desktop stack...which is exactly what your apt output indicates.
It's also important for you to know that the Message Of The Day (motd) package count at login is NOT up-to-date. It's generated once daily, stored at /var/lib/update-notifier/updates-available, and quickly becomes stale. It is NOT recalculated at boot or login (doing so would delay boot or login for little gain)
Most admins that I know use Unattended Upgrades to quietly install security updates once each day in the background, and review non-security updates weekly or monthly.
Good explanation. I thought I could use some extra info at each login just to get a glance at system's health. Just like you said it's definitely not worth it for servers.
– xperator
Sep 11 at 21:41
add a comment
|
The update-notifier package is for Desktop systems with a complete Desktop Environment (like Gnome). However, it's pretty clear from your output that you are running a headless server of some kind.
Adding any desktop or GUI application will, of course, drag in an entire desktop stack...which is exactly what your apt output indicates.
It's also important for you to know that the Message Of The Day (motd) package count at login is NOT up-to-date. It's generated once daily, stored at /var/lib/update-notifier/updates-available, and quickly becomes stale. It is NOT recalculated at boot or login (doing so would delay boot or login for little gain)
Most admins that I know use Unattended Upgrades to quietly install security updates once each day in the background, and review non-security updates weekly or monthly.
Good explanation. I thought I could use some extra info at each login just to get a glance at system's health. Just like you said it's definitely not worth it for servers.
– xperator
Sep 11 at 21:41
add a comment
|
The update-notifier package is for Desktop systems with a complete Desktop Environment (like Gnome). However, it's pretty clear from your output that you are running a headless server of some kind.
Adding any desktop or GUI application will, of course, drag in an entire desktop stack...which is exactly what your apt output indicates.
It's also important for you to know that the Message Of The Day (motd) package count at login is NOT up-to-date. It's generated once daily, stored at /var/lib/update-notifier/updates-available, and quickly becomes stale. It is NOT recalculated at boot or login (doing so would delay boot or login for little gain)
Most admins that I know use Unattended Upgrades to quietly install security updates once each day in the background, and review non-security updates weekly or monthly.
The update-notifier package is for Desktop systems with a complete Desktop Environment (like Gnome). However, it's pretty clear from your output that you are running a headless server of some kind.
Adding any desktop or GUI application will, of course, drag in an entire desktop stack...which is exactly what your apt output indicates.
It's also important for you to know that the Message Of The Day (motd) package count at login is NOT up-to-date. It's generated once daily, stored at /var/lib/update-notifier/updates-available, and quickly becomes stale. It is NOT recalculated at boot or login (doing so would delay boot or login for little gain)
Most admins that I know use Unattended Upgrades to quietly install security updates once each day in the background, and review non-security updates weekly or monthly.
answered Sep 11 at 21:18
user535733user535733
11.5k3 gold badges33 silver badges49 bronze badges
11.5k3 gold badges33 silver badges49 bronze badges
Good explanation. I thought I could use some extra info at each login just to get a glance at system's health. Just like you said it's definitely not worth it for servers.
– xperator
Sep 11 at 21:41
add a comment
|
Good explanation. I thought I could use some extra info at each login just to get a glance at system's health. Just like you said it's definitely not worth it for servers.
– xperator
Sep 11 at 21:41
Good explanation. I thought I could use some extra info at each login just to get a glance at system's health. Just like you said it's definitely not worth it for servers.
– xperator
Sep 11 at 21:41
Good explanation. I thought I could use some extra info at each login just to get a glance at system's health. Just like you said it's definitely not worth it for servers.
– xperator
Sep 11 at 21:41
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1173554%2fwhy-does-update-notifier-needs-tons-of-additional-packages-to-be-installed%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown