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.
apt lts unattended-upgrades update-notifier
add a comment |
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.
apt lts unattended-upgrades update-notifier
Maybe try/usr/lib/update-notifier/apt-check -pto 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-unattendedreturns nothing.
– Sqerstet
Nov 27 at 8:37
add a comment |
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.
apt lts unattended-upgrades update-notifier
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
apt lts unattended-upgrades update-notifier
edited Nov 28 at 4:28
asked Nov 27 at 7:57
Sqerstet
183211
183211
Maybe try/usr/lib/update-notifier/apt-check -pto 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-unattendedreturns nothing.
– Sqerstet
Nov 27 at 8:37
add a comment |
Maybe try/usr/lib/update-notifier/apt-check -pto 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-unattendedreturns 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
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
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%2f1096403%2funattended-upgrades-disagrees-with-update-notifier%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
Maybe try
/usr/lib/update-notifier/apt-check -pto 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-unattendedreturns nothing.– Sqerstet
Nov 27 at 8:37