Error trying to update Webmin on Ubuntu 16.04

Ran an upgrade on 3 servers updating webmin from 1.930 to 1.962 - first one worked w/out a hitch, second one had an error about not being able to download webmin from webmin.com:80, but everything seems to be working correctly. On the 3rd machine same error and Dashboard won't load -> mount::list_system_info failed : Undefined subroutine &mount::ui_text_color called at /usr/share/webmin/mount/system_info.pl line 37. but other parts of Webmin seem to be working ok.

Let me know what I need to do to fix this.

Thanks! -- Craig

Status: 
Active
Virtualmin version: 
0.0
Webmin version: 
1.962

Comments

Hey guys, I was able to fix this...

From the command line I ran apt update && apt upgrade && apt autoremove which lead to this:

The following packages have unmet dependencies:
 webmin : Depends: unzip but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

So I ran apt --fix-broken install and everything is back to normal.

Thanks!
-- Craig

Well there's something not right here - these happen to be DNS servers (6 of them) - just received the following from another attempted update.

(Reading database ... 192211 files and directories currently installed.)
Preparing to unpack .../332144_2661_2_upgrade.cgi ...
Unpacking webmin (1.962) over (1.900) ...
dpkg: dependency problems prevent configuration of webmin:
 webmin depends on unzip; however:
  Package unzip is not installed.

dpkg: error processing package webmin (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (237-3ubuntu10.43) ...
Processing triggers for ureadahead (0.100.0-21) ...
Errors were encountered while processing:
 webmin

No option through apt to run apt --fix-broken install... we haven't uninstalled unzip on these servers (or any of our servers). Something changed upstream? Let me know.

Thanks!
-- Craig

Ilia's picture
Submitted by Ilia on Thu, 12/17/2020 - 06:16

Hi, Craig.

No option through apt to run apt --fix-broken install... we haven't uninstalled unzip on these servers

Later versions of Webmin have unzip dependency. You can manually install it using :

apt-get install unzip