Unattended-upgrades disagrees with update-notifier











up vote
1
down vote

favorite












Ubuntu Server 18 LTS here, with unattended-upgrades installed, and security repo enabled. It is working, as confirmed by tail /var/log/unattended-upgrades/unattended-upgrades.log.



Running sudo unattended-upgrade -v manually returns the same as the most recent log entry:



Initial blacklisted packages: 
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
No packages found that can be upgraded unattended and no pending auto-removals


Running sudo apt-get upgrade -s | grep -i security returns nothing.



But /usr/lib/update-notifier/apt-check --human-readable (which powers the message of the day) returns:



167 packages can be updated.
1 update is a security update.


What is broken?



Update. Today the apt-check count had increased to "4" pending security updates. Subsequently, running unattended-upgrade -v found and installed 3 packages. As expected, apt-check now returned "1" pending security update. What is the missing package, and above all why is unattended-upgrades not installing it?



New update. Resorted to this hacky solution of forking a security-only security.sources.list and then doing sudo apt-get upgrade -o Dir::Etc::SourceList=/etc/apt/security.sources.list. Result: a bunch of packages were upgraded and apt-check now, at last, shows "0" pending security upgrades. Still no idea what the supposedly crucial package was, or how to avoid this situation in future. Sigh.










share|improve this question
























  • Maybe try /usr/lib/update-notifier/apt-check -p to see what packages it lists, and check what those packages' statuses are.
    – muru
    Nov 27 at 8:12










  • It show the names but how to see which "1" of the 167 packages is the security update? /usr/lib/update-notifier/apt-check --security-updates-unattended returns nothing.
    – Sqerstet
    Nov 27 at 8:37















up vote
1
down vote

favorite












Ubuntu Server 18 LTS here, with unattended-upgrades installed, and security repo enabled. It is working, as confirmed by tail /var/log/unattended-upgrades/unattended-upgrades.log.



Running sudo unattended-upgrade -v manually returns the same as the most recent log entry:



Initial blacklisted packages: 
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
No packages found that can be upgraded unattended and no pending auto-removals


Running sudo apt-get upgrade -s | grep -i security returns nothing.



But /usr/lib/update-notifier/apt-check --human-readable (which powers the message of the day) returns:



167 packages can be updated.
1 update is a security update.


What is broken?



Update. Today the apt-check count had increased to "4" pending security updates. Subsequently, running unattended-upgrade -v found and installed 3 packages. As expected, apt-check now returned "1" pending security update. What is the missing package, and above all why is unattended-upgrades not installing it?



New update. Resorted to this hacky solution of forking a security-only security.sources.list and then doing sudo apt-get upgrade -o Dir::Etc::SourceList=/etc/apt/security.sources.list. Result: a bunch of packages were upgraded and apt-check now, at last, shows "0" pending security upgrades. Still no idea what the supposedly crucial package was, or how to avoid this situation in future. Sigh.










share|improve this question
























  • Maybe try /usr/lib/update-notifier/apt-check -p to see what packages it lists, and check what those packages' statuses are.
    – muru
    Nov 27 at 8:12










  • It show the names but how to see which "1" of the 167 packages is the security update? /usr/lib/update-notifier/apt-check --security-updates-unattended returns nothing.
    – Sqerstet
    Nov 27 at 8:37













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Ubuntu Server 18 LTS here, with unattended-upgrades installed, and security repo enabled. It is working, as confirmed by tail /var/log/unattended-upgrades/unattended-upgrades.log.



Running sudo unattended-upgrade -v manually returns the same as the most recent log entry:



Initial blacklisted packages: 
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
No packages found that can be upgraded unattended and no pending auto-removals


Running sudo apt-get upgrade -s | grep -i security returns nothing.



But /usr/lib/update-notifier/apt-check --human-readable (which powers the message of the day) returns:



167 packages can be updated.
1 update is a security update.


What is broken?



Update. Today the apt-check count had increased to "4" pending security updates. Subsequently, running unattended-upgrade -v found and installed 3 packages. As expected, apt-check now returned "1" pending security update. What is the missing package, and above all why is unattended-upgrades not installing it?



New update. Resorted to this hacky solution of forking a security-only security.sources.list and then doing sudo apt-get upgrade -o Dir::Etc::SourceList=/etc/apt/security.sources.list. Result: a bunch of packages were upgraded and apt-check now, at last, shows "0" pending security upgrades. Still no idea what the supposedly crucial package was, or how to avoid this situation in future. Sigh.










share|improve this question















Ubuntu Server 18 LTS here, with unattended-upgrades installed, and security repo enabled. It is working, as confirmed by tail /var/log/unattended-upgrades/unattended-upgrades.log.



Running sudo unattended-upgrade -v manually returns the same as the most recent log entry:



Initial blacklisted packages: 
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
No packages found that can be upgraded unattended and no pending auto-removals


Running sudo apt-get upgrade -s | grep -i security returns nothing.



But /usr/lib/update-notifier/apt-check --human-readable (which powers the message of the day) returns:



167 packages can be updated.
1 update is a security update.


What is broken?



Update. Today the apt-check count had increased to "4" pending security updates. Subsequently, running unattended-upgrade -v found and installed 3 packages. As expected, apt-check now returned "1" pending security update. What is the missing package, and above all why is unattended-upgrades not installing it?



New update. Resorted to this hacky solution of forking a security-only security.sources.list and then doing sudo apt-get upgrade -o Dir::Etc::SourceList=/etc/apt/security.sources.list. Result: a bunch of packages were upgraded and apt-check now, at last, shows "0" pending security upgrades. Still no idea what the supposedly crucial package was, or how to avoid this situation in future. Sigh.







apt lts unattended-upgrades update-notifier






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 28 at 4:28

























asked Nov 27 at 7:57









Sqerstet

183211




183211












  • Maybe try /usr/lib/update-notifier/apt-check -p to see what packages it lists, and check what those packages' statuses are.
    – muru
    Nov 27 at 8:12










  • It show the names but how to see which "1" of the 167 packages is the security update? /usr/lib/update-notifier/apt-check --security-updates-unattended returns nothing.
    – Sqerstet
    Nov 27 at 8:37


















  • Maybe try /usr/lib/update-notifier/apt-check -p to see what packages it lists, and check what those packages' statuses are.
    – muru
    Nov 27 at 8:12










  • It show the names but how to see which "1" of the 167 packages is the security update? /usr/lib/update-notifier/apt-check --security-updates-unattended returns nothing.
    – Sqerstet
    Nov 27 at 8:37
















Maybe try /usr/lib/update-notifier/apt-check -p to see what packages it lists, and check what those packages' statuses are.
– muru
Nov 27 at 8:12




Maybe try /usr/lib/update-notifier/apt-check -p to see what packages it lists, and check what those packages' statuses are.
– muru
Nov 27 at 8:12












It show the names but how to see which "1" of the 167 packages is the security update? /usr/lib/update-notifier/apt-check --security-updates-unattended returns nothing.
– Sqerstet
Nov 27 at 8:37




It show the names but how to see which "1" of the 167 packages is the security update? /usr/lib/update-notifier/apt-check --security-updates-unattended returns nothing.
– Sqerstet
Nov 27 at 8:37















active

oldest

votes











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',
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/3.0/"u003ecc by-sa 3.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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1096403%2funattended-upgrades-disagrees-with-update-notifier%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1096403%2funattended-upgrades-disagrees-with-update-notifier%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How to send String Array data to Server using php in android

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Is anime1.com a legal site for watching anime?