hi,
we always verify webmin version with:
'apt-cache policy webmin' command.
we compare then 'installed:' and 'candidate:' in the answer.
so we find out if webmin is uptodate.
but now we get info on webmin interface, that a new version is available: '2.100-2'.
but when we verify with our procedure above we get as answer:
'Installed: 2.100'
'Candidate: 2.100'
this means, webmin should be uptodate.
what has changed, what are we doing wrong?
thanks for advice
cheers mike
Can you attach a screenshot of the new version message you're seeing in Webmin?
Hi Jamie,
here it is.
Cheers mike
Do you think that version 2.100-2 is higher that 2.101?
Webmin 2.101 is the latest version and the one that should be installed on top of 2.100-2.
i don't know.
atleast i'm prompted to upgrade to 2.100-2 in webmin.
'apt-cache policy webmin' tells me:
'Installed: 2.100'
'Candidate: 2.100'
this means, webmin should be uptodate.
this is in fact my question.
cheers mike
Based on your screenshot you are prompted to upgrade to Webmin 2.101 - what are you talking about?
You can run
apt-get updateto update the package lists with the new cache policy.Sorry it was a mistake.
I am prompted to upgrade to Webmin 2.101.
'apt-cache policy webmin'.
tells me:
'Installed: 2.100'
'Candidate: 2.100'
So the information I get from this is WRONG !
Is it too complicate to understand this?
Cheers mike
illia,
'apt-get update' tells me that I already have installed newest available version.
This is normal cause 'apt-cache policy webmin'' aleady told me this (see above)
Hope you understand now.
Cheers mike
Yes, it is hard to understand, without knowing what is going on.
What Webmin repos you have enabled? E.g.:
illia,
i try always the best to make you understand.
The result you want is:
/etc/apt/sources.list.d/webmin.list:deb https://download.webmin.com/download/newkey/repository stable contrib
As far as I see the problem comes from
APT is not updated to the same information as on webmin interface.
Hope this helps.
cheers mike
First of all make sure that the file
/etc/apt/sources.list.d/webmin.listactually contains:Then run
apt-get clean && apt-get update, and then show the full output ofapt-cache policy webmincommand.FYI, I get the following:
illia,
i get error messages using apt-get clean && apt-get update
Ign:4 https://download.webmin.com/download/newkey/repository stable InRelease
Get:5 https://download.webmin.com/download/newkey/repository stable Release [16.0 kB]
Get:6 https://download.webmin.com/download/newkey/repository stable Release.gpg [819 B]
Ign:6 https://download.webmin.com/download/newkey/repository stable Release.gpg
Reading package lists... Done
W: GPG error: https://download.webmin.com/download/newkey/repository stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2D223B918916F2A2
E: The repository 'https://download.webmin.com/download/newkey/repository stable Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Try running the following command to setup Webmin repos correctly:
OK, done,
now it works:
apt-cache policy webmin
webmin:
Installed: 2.100
Candidate: 2.101
Version table:
2.101 500
500 https://download.webmin.com/download/newkey/repository stable/contrib amd64 Packages
*** 2.100 100
So it was just the wrong configured repository.
BTW
This was not configured by me,
after the last update before, i was prompted by webmin to update the repository.
I did this just by clicking on OK.
Anyway, thanks lot illia.
cheers mike
Could you check backups and share how you webmin.list repo file looked like before upgrading to Webmin 2.100?
i think it was this one:
deb http://download.webmin.com/download/repository sarge contrib
Cheers mike
Alright, we will always setup the new Debian format repo, i.e. containing the signing key.
OK Illia,
so this can be called resolved.
Cheers mike
Last edit: M.T.R 2023-08-11