apt-check indicates updates to packages not installed

The name of the pictureThe name of the pictureThe name of the pictureClash 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









share|improve this question



















  • 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














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









share|improve this question



















  • 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












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









share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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












  • 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















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: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f1004023%2fapt-check-indicates-updates-to-packages-not-installed%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?