apt-check indicates updates to packages not installed

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I've just set up unattended-upgrades on a number of machines which seems to work great so far. However, a couple of the machines lists six security packages to be installed but none of them are currently installed.
As there were no way (I could find) that would actually list which packages these were, I modified apt-check slightly by adding a print statement to this section in the run method:
# check for security upgrades
if isSecurityUpgrade(cand_ver):
upgrades += 1
print("isSecurityUpgrade: %s" % pkg.name)
security_updates += 1
continue
apt-check Then lists these packages:
libwsman-curl-client-transport1
openwsman
libwsman-client2
libslp1
libwsman1
libwsman-server1
These are not installed so I'm a bit puzzled as to why they are listed. They might have been installed earlier as I did find them in /var/cache/apt/archives. Running apt-get clean got rid of them from cache but apt-get update && /long path/apt-check still showed them as updates.
If it matters, these machines have been upgraded to 14.04 from 12.04 (or possibly directly from 10.04) a good while ago.
I'd like to fully understand how this mechanism works, so any pointers are very welcome.
Edit:
Here's the output from the modified apt-check before and after installing and removing the difficult packages.
# /usr/lib/update-notifier/apt-check
isSecurityUpgrade: libwsman-curl-client-transport1
isSecurityUpgrade: openwsman
isSecurityUpgrade: libwsman-client2
isSecurityUpgrade: libslp1
isSecurityUpgrade: libwsman1
isSecurityUpgrade: libwsman-server1
123;6
# apt-get install libwsman-curl-client-transport1 openwsman libwsman-client2 libslp1 libwsman1 libwsman-server1
...
# /usr/lib/update-notifier/apt-check
123;0
# apt-get remove libwsman-curl-client-transport1 openwsman libwsman-client2 libslp1 libwsman1 libwsman-server1
# /usr/lib/update-notifier/apt-check
isSecurityUpgrade: libwsman-curl-client-transport1
isSecurityUpgrade: openwsman
isSecurityUpgrade: libwsman-client2
isSecurityUpgrade: libslp1
isSecurityUpgrade: libwsman1
isSecurityUpgrade: libwsman-server1
123;6
14.04 apt updates unattended-upgrades
 |Â
show 2 more comments
up vote
0
down vote
favorite
I've just set up unattended-upgrades on a number of machines which seems to work great so far. However, a couple of the machines lists six security packages to be installed but none of them are currently installed.
As there were no way (I could find) that would actually list which packages these were, I modified apt-check slightly by adding a print statement to this section in the run method:
# check for security upgrades
if isSecurityUpgrade(cand_ver):
upgrades += 1
print("isSecurityUpgrade: %s" % pkg.name)
security_updates += 1
continue
apt-check Then lists these packages:
libwsman-curl-client-transport1
openwsman
libwsman-client2
libslp1
libwsman1
libwsman-server1
These are not installed so I'm a bit puzzled as to why they are listed. They might have been installed earlier as I did find them in /var/cache/apt/archives. Running apt-get clean got rid of them from cache but apt-get update && /long path/apt-check still showed them as updates.
If it matters, these machines have been upgraded to 14.04 from 12.04 (or possibly directly from 10.04) a good while ago.
I'd like to fully understand how this mechanism works, so any pointers are very welcome.
Edit:
Here's the output from the modified apt-check before and after installing and removing the difficult packages.
# /usr/lib/update-notifier/apt-check
isSecurityUpgrade: libwsman-curl-client-transport1
isSecurityUpgrade: openwsman
isSecurityUpgrade: libwsman-client2
isSecurityUpgrade: libslp1
isSecurityUpgrade: libwsman1
isSecurityUpgrade: libwsman-server1
123;6
# apt-get install libwsman-curl-client-transport1 openwsman libwsman-client2 libslp1 libwsman1 libwsman-server1
...
# /usr/lib/update-notifier/apt-check
123;0
# apt-get remove libwsman-curl-client-transport1 openwsman libwsman-client2 libslp1 libwsman1 libwsman-server1
# /usr/lib/update-notifier/apt-check
isSecurityUpgrade: libwsman-curl-client-transport1
isSecurityUpgrade: openwsman
isSecurityUpgrade: libwsman-client2
isSecurityUpgrade: libslp1
isSecurityUpgrade: libwsman1
isSecurityUpgrade: libwsman-server1
123;6
14.04 apt updates unattended-upgrades
1
Please edit your question to explain "lists six security packages to be installed". Where are you seeing that?
â user535733
Feb 7 at 23:57
To clarify, when running apt-check it outputs 123;6 indicating 6 security updates. As there is no way to list which packages those are, I modified the apt-check script according to my description in the question which then outputs the list.
â Johnny Berentsen
Feb 8 at 8:09
What happens when you try to install those six upgraded packages?
â user535733
Feb 8 at 12:39
They install just fine, and apt-check stops reporting them. If I then do a remove or purge, apt-check will start reporting them again.
â Johnny Berentsen
Feb 8 at 13:21
If you remove any other package, or those packages?
â user535733
Feb 8 at 16:39
 |Â
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've just set up unattended-upgrades on a number of machines which seems to work great so far. However, a couple of the machines lists six security packages to be installed but none of them are currently installed.
As there were no way (I could find) that would actually list which packages these were, I modified apt-check slightly by adding a print statement to this section in the run method:
# check for security upgrades
if isSecurityUpgrade(cand_ver):
upgrades += 1
print("isSecurityUpgrade: %s" % pkg.name)
security_updates += 1
continue
apt-check Then lists these packages:
libwsman-curl-client-transport1
openwsman
libwsman-client2
libslp1
libwsman1
libwsman-server1
These are not installed so I'm a bit puzzled as to why they are listed. They might have been installed earlier as I did find them in /var/cache/apt/archives. Running apt-get clean got rid of them from cache but apt-get update && /long path/apt-check still showed them as updates.
If it matters, these machines have been upgraded to 14.04 from 12.04 (or possibly directly from 10.04) a good while ago.
I'd like to fully understand how this mechanism works, so any pointers are very welcome.
Edit:
Here's the output from the modified apt-check before and after installing and removing the difficult packages.
# /usr/lib/update-notifier/apt-check
isSecurityUpgrade: libwsman-curl-client-transport1
isSecurityUpgrade: openwsman
isSecurityUpgrade: libwsman-client2
isSecurityUpgrade: libslp1
isSecurityUpgrade: libwsman1
isSecurityUpgrade: libwsman-server1
123;6
# apt-get install libwsman-curl-client-transport1 openwsman libwsman-client2 libslp1 libwsman1 libwsman-server1
...
# /usr/lib/update-notifier/apt-check
123;0
# apt-get remove libwsman-curl-client-transport1 openwsman libwsman-client2 libslp1 libwsman1 libwsman-server1
# /usr/lib/update-notifier/apt-check
isSecurityUpgrade: libwsman-curl-client-transport1
isSecurityUpgrade: openwsman
isSecurityUpgrade: libwsman-client2
isSecurityUpgrade: libslp1
isSecurityUpgrade: libwsman1
isSecurityUpgrade: libwsman-server1
123;6
14.04 apt updates unattended-upgrades
I've just set up unattended-upgrades on a number of machines which seems to work great so far. However, a couple of the machines lists six security packages to be installed but none of them are currently installed.
As there were no way (I could find) that would actually list which packages these were, I modified apt-check slightly by adding a print statement to this section in the run method:
# check for security upgrades
if isSecurityUpgrade(cand_ver):
upgrades += 1
print("isSecurityUpgrade: %s" % pkg.name)
security_updates += 1
continue
apt-check Then lists these packages:
libwsman-curl-client-transport1
openwsman
libwsman-client2
libslp1
libwsman1
libwsman-server1
These are not installed so I'm a bit puzzled as to why they are listed. They might have been installed earlier as I did find them in /var/cache/apt/archives. Running apt-get clean got rid of them from cache but apt-get update && /long path/apt-check still showed them as updates.
If it matters, these machines have been upgraded to 14.04 from 12.04 (or possibly directly from 10.04) a good while ago.
I'd like to fully understand how this mechanism works, so any pointers are very welcome.
Edit:
Here's the output from the modified apt-check before and after installing and removing the difficult packages.
# /usr/lib/update-notifier/apt-check
isSecurityUpgrade: libwsman-curl-client-transport1
isSecurityUpgrade: openwsman
isSecurityUpgrade: libwsman-client2
isSecurityUpgrade: libslp1
isSecurityUpgrade: libwsman1
isSecurityUpgrade: libwsman-server1
123;6
# apt-get install libwsman-curl-client-transport1 openwsman libwsman-client2 libslp1 libwsman1 libwsman-server1
...
# /usr/lib/update-notifier/apt-check
123;0
# apt-get remove libwsman-curl-client-transport1 openwsman libwsman-client2 libslp1 libwsman1 libwsman-server1
# /usr/lib/update-notifier/apt-check
isSecurityUpgrade: libwsman-curl-client-transport1
isSecurityUpgrade: openwsman
isSecurityUpgrade: libwsman-client2
isSecurityUpgrade: libslp1
isSecurityUpgrade: libwsman1
isSecurityUpgrade: libwsman-server1
123;6
14.04 apt updates unattended-upgrades
14.04 apt updates unattended-upgrades
edited Feb 8 at 19:26
asked Feb 7 at 21:32
Johnny Berentsen
11
11
1
Please edit your question to explain "lists six security packages to be installed". Where are you seeing that?
â user535733
Feb 7 at 23:57
To clarify, when running apt-check it outputs 123;6 indicating 6 security updates. As there is no way to list which packages those are, I modified the apt-check script according to my description in the question which then outputs the list.
â Johnny Berentsen
Feb 8 at 8:09
What happens when you try to install those six upgraded packages?
â user535733
Feb 8 at 12:39
They install just fine, and apt-check stops reporting them. If I then do a remove or purge, apt-check will start reporting them again.
â Johnny Berentsen
Feb 8 at 13:21
If you remove any other package, or those packages?
â user535733
Feb 8 at 16:39
 |Â
show 2 more comments
1
Please edit your question to explain "lists six security packages to be installed". Where are you seeing that?
â user535733
Feb 7 at 23:57
To clarify, when running apt-check it outputs 123;6 indicating 6 security updates. As there is no way to list which packages those are, I modified the apt-check script according to my description in the question which then outputs the list.
â Johnny Berentsen
Feb 8 at 8:09
What happens when you try to install those six upgraded packages?
â user535733
Feb 8 at 12:39
They install just fine, and apt-check stops reporting them. If I then do a remove or purge, apt-check will start reporting them again.
â Johnny Berentsen
Feb 8 at 13:21
If you remove any other package, or those packages?
â user535733
Feb 8 at 16:39
1
1
Please edit your question to explain "lists six security packages to be installed". Where are you seeing that?
â user535733
Feb 7 at 23:57
Please edit your question to explain "lists six security packages to be installed". Where are you seeing that?
â user535733
Feb 7 at 23:57
To clarify, when running apt-check it outputs 123;6 indicating 6 security updates. As there is no way to list which packages those are, I modified the apt-check script according to my description in the question which then outputs the list.
â Johnny Berentsen
Feb 8 at 8:09
To clarify, when running apt-check it outputs 123;6 indicating 6 security updates. As there is no way to list which packages those are, I modified the apt-check script according to my description in the question which then outputs the list.
â Johnny Berentsen
Feb 8 at 8:09
What happens when you try to install those six upgraded packages?
â user535733
Feb 8 at 12:39
What happens when you try to install those six upgraded packages?
â user535733
Feb 8 at 12:39
They install just fine, and apt-check stops reporting them. If I then do a remove or purge, apt-check will start reporting them again.
â Johnny Berentsen
Feb 8 at 13:21
They install just fine, and apt-check stops reporting them. If I then do a remove or purge, apt-check will start reporting them again.
â Johnny Berentsen
Feb 8 at 13:21
If you remove any other package, or those packages?
â user535733
Feb 8 at 16:39
If you remove any other package, or those packages?
â user535733
Feb 8 at 16:39
 |Â
show 2 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004023%2fapt-check-indicates-updates-to-packages-not-installed%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
1
Please edit your question to explain "lists six security packages to be installed". Where are you seeing that?
â user535733
Feb 7 at 23:57
To clarify, when running apt-check it outputs 123;6 indicating 6 security updates. As there is no way to list which packages those are, I modified the apt-check script according to my description in the question which then outputs the list.
â Johnny Berentsen
Feb 8 at 8:09
What happens when you try to install those six upgraded packages?
â user535733
Feb 8 at 12:39
They install just fine, and apt-check stops reporting them. If I then do a remove or purge, apt-check will start reporting them again.
â Johnny Berentsen
Feb 8 at 13:21
If you remove any other package, or those packages?
â user535733
Feb 8 at 16:39