ddavness / power-mailinabox

A Mail-in-a-Box with extra capabilities and more customizability. Not just for power users!
Creative Commons Zero v1.0 Universal
168 stars 31 forks source link

Cloudpanel clashes with mailinabox? #107

Open SaiCode-DHBW opened 1 year ago

SaiCode-DHBW commented 1 year ago
The following additional packages will be installed:
  libevent-pthreads-2.1-7 libopts25 sntp
Suggested packages:
  ntp-doc
The following packages will be REMOVED:
  chrony cloudpanel
The following NEW packages will be installed:
  libevent-pthreads-2.1-7 libopts25 ntp sntp
0 upgraded, 4 newly installed, 2 to remove and 1 not upgraded.
Need to get 0 B/852 kB of archives.
After this operation, 274 MB disk space will be freed.
(Reading database ... 157178 files and directories currently installed.)
Removing cloudpanel (2.2.0-1+clp-jammy) ...
This account is currently not available.
dpkg: error processing package cloudpanel (--remove):
 installed cloudpanel package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 cloudpanel
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------------------------

Why does it want to remove cloudpanel?

SaiCode-DHBW commented 1 year ago

FAILED: apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install python3 python3-dev python3-pip python3-setuptools netcat-openbsd wget curl git sudo coreutils bc file pollinate openssh-client unzip unattended-upgrades cron ntp fail2ban rsyslog

SaiCode-DHBW commented 1 year ago

fixed it by removing ntp from setup/system.sh (well not a good solution, but fixed it)

ddavness commented 1 year ago

I agree it is weird that out of all things it would be ntp that would conflict with cloudpanel. But this is probably due to the way cloudpanel is packaged. ntp is there to make sure that the system's clock is correct, no way that I'm going to remove it.