apt-get autoremove

All was fine but i done

1) apt-get autoremove -y then look at http://IP:10000 - WEBMIN Only

2) apt-get install virtualmin-base -i get error (that same error i have when i done ./install.sh)

Reading package lists... Done Building dependency tree Reading state information... Done virtualmin-base is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded. 3 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up postgresql-8.3 (8.3.12-0lenny1) ... Starting PostgreSQL 8.3 database server: mainThe PostgreSQL server failed to start. Please check the log output: 2011-01-14 21:17:30 MSK FATAL: unsafe permissions on private key file "server.key" 2011-01-14 21:17:30 MSK DETAIL: File must be owned by the database user or root, must have no write permission for "group", and must have no permissions for "other". failed! failed! invoke-rc.d: initscript postgresql-8.3, action "start" failed. dpkg: error processing postgresql-8.3 (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of postgresql: postgresql depends on postgresql-8.3; however: Package postgresql-8.3 is not configured yet. dpkg: error processing postgresql (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of virtualmin-base: virtualmin-base depends on postgresql; however: Package postgresql is not configured yet. dpkg: error processing virtualmin-base (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: postgresql-8.3 postgresql virtualmin-base E: Sub-process /usr/bin/dpkg returned an error code (1)

Status: 
Closed (fixed)

Comments

I think you might have just un-installed Virtualmin! What packages did "apt-get autoremove" report that it deleted?

when I done "apt-get autoremove" - then i think that i am remove old on used programs but virtualmin become removed

how to recover virtualmin ?

(note - I do not need PostgreSQL(i am use only mysql) )

but when I am install virtualmin - get

MSK FATAL: unsafe permissions on private key file "server.key" 2011-01-14 21:17:30 MSK DETAIL: File must be owned by the database user or root, must have no write permission for "group", and must have no permissions for "other". failed! failed! invoke-rc.d: initscript postgresql-8.3, action "start" failed. dpkg: error processing postgresql-8.3 (--configure):

apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up postgresql-8.3 (8.3.12-0lenny1) ...
Starting PostgreSQL 8.3 database server: mainThe PostgreSQL server failed to start. Please check the log output. failed!
failed!
invoke-rc.d: initscript postgresql-8.3, action "start" failed.

I done
make-ssl-cert generate-default-snakeoil --force-overwrite
Then
wget http://software.virtualmin.com/gpl/scripts/install.sh
chmod +x install.sh
./install.sh
*******
INFO - sa-update: Succeeded.

All OK, but
When i go to
https://***.***.com:10000/
I get
#########Login to Webmin########
page
when I am Login - I have webmin and virtualmin but interface looks baggy (without CSS)
Then I am change THEME in webmin twice

And seems to be all become OK

I think i will helps someone

Thanks ..
Resolved

Ok, cool .. it looks like the autoremove un-installed Virtualmin, but re-running the install script has fixed it.

I recommend against auto-uninstalling packages, as it is unclear how Debian determines what to remove!

Automatically closed -- issue fixed for 2 weeks with no activity.