/usr/share/webmin/security-updates/update.pl : No such file or directory

HI,

I get a cron job mail stating

Failed to run /usr/share/webmin/security-updates/update.pl : No such file or directory at /etc/webmin/security-updates/update.pl line 12.

The message is right: the file is missing; the question is: is the cron job wrong or what made this happen?

Cheers
Vince

Howdy,

Hmm, that should normally be there. What distribution/version are you using?

-Eric

Hi,

I am running Ubuntu 12.04.2 LTS, Webmin 1.660 and Virtualmin 4.03 Pro.

Cheers
Vince

Ah, doing a little digging, it appears that particular file is part of the “webmin-security-updates” package.

Is it possible that particular package has been removed?

You may want to try reinstalling that, which you can do with this command:

apt-get install webmin-security-updates

… I am stil wondering how this could happen though …

Isn’t there some kind of sanity check, which would suggest to install missing packages like this?

I honestly don’t know how this happened as apt-get autoremove shouldn’t grab packages like that and I just upgraded my existing version …

Thank you very much for your help!

I have the same problem, and I can see that /usr/share/webmin/security-updates is missing (though /etc/webmin/security-updates/update.pl exists) but apt-get install webmin-security-updates just reports that the package is already installed.