Dependency problems prevent configuration of webmin – ubuntu

(Reading database ... 65395 files and directories currently installed.)
Unpacking webmin (from webmin_1.700_all.deb) ...
dpkg: dependency problems prevent configuration of webmin:
 webmin depends on libauthen-pam-perl; however:
  Package libauthen-pam-perl is not installed.
 webmin depends on libio-pty-perl; however:
  Package libio-pty-perl is not installed.
 webmin depends on apt-show-versions; however:
  Package apt-show-versions is not installed.
dpkg: error processing webmin (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead ...
Errors were encountered while processing:

Try This:

apt-get install libauthen-pam-perl

Then run this command below to force the install

apt-get -f install

Simple Query to Delete All Drupal 7 Cache Tables Manually.

Sometimes the only way to regain access to your drupal site is to remove information from the cache tables manually.
This script should save you some time.

delete FROM drupal7.cache;
delete FROM drupal7.cache_admin_menu;
delete FROM drupal7.cache_block;
delete FROM drupal7.cache_bootstrap;
delete FROM drupal7.cache_field;
delete FROM drupal7.cache_filter;
delete FROM drupal7.cache_form;
delete FROM drupal7.cache_image;
delete FROM drupal7.cache_libraries;
delete FROM drupal7.cache_media_xml;
delete FROM drupal7.cache_menu;
delete FROM drupal7.cache_page;
delete FROM drupal7.cache_path;
delete FROM drupal7.cache_token;
delete FROM drupal7.cache_update;
delete FROM drupal7.cache_views;
delete FROM drupal7.cache_views_data;
delete FROM drupal7.cache_widgets;