froxlor / Froxlor

The server administration software for your needs - The official Froxlor development Git repository
http://www.froxlor.org
GNU General Public License v2.0
1.62k stars 455 forks source link

Install fails - Depends: mariadb-server but it is not going to be installed - Unable to correct problems, you have held broken packages #1253

Closed K0-RR closed 2 months ago

K0-RR commented 2 months ago

As a rule of thumb: before reporting an issue

System information

To Reproduce Steps to reproduce the behavior: apt install froxlor

Logfiles

The following packages have unmet dependencies:
 froxlor : Depends: mariadb-server but it is not going to be installed or
                    default-mysql-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
d00p commented 2 months ago

you have held broken packages.

First check that everything is clean, seems there are issues from prior actions. Try apt install --fix-broken

K0-RR commented 2 months ago
root@panel:/home# apt install --fix-broken
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
d00p commented 2 months ago

Dont know your system or used 3rd party repositories. This works just fine with standard ubuntu/debian, see for example our showcase installation: https://www.youtube.com/watch?v=L3RM_yygfP4

Ensure there are no 3rd party sources that might cause issues or try to install mysql/mariadb server packages prior to froxlor

K0-RR commented 2 months ago

try to install mysql/mariadb server packages prior to froxlor

Tried apt install mariadb-server and that one is broken but default-mysql-server installed fine and so froxlor after that.

However when I try to open the panel I get 403 Forbidden

d00p commented 2 months ago

See youtube video, see documentation: https://docs.froxlor.org/latest/general/installation/apt-package.html and also please use discord or our forum for support. This seems to be a user issue, nothing code-related