Install Clonedeploy

This guide was written for CentOS 7.6 with CloneDeploy 1.4.0 and Mono 5.18.0.268.
https://clonedeploy.org/docs/install-on-centos-7/

When installing Clonedeploy following the guide, when I check the NethServer web interface for updates, the following error message is returned.

Error

System not updated.

The following command has failed:
system-packages/update

Unfortunately we couldn’t catch the exact error. If you want to help, please click on the button below to copy the failed command to the clipboard, paste it into the Terminal and submit command output to the developers.

echo ‘{“action”:“update”,“packages”:[]}’ | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/system-packages/update | jq {
“state”: “running”,
“steps”: -1,
“event”: “Initialization”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Resolving RPM dependencies”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Downloading Packages”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Check Package Signatures”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Running Test Transaction”
}
{
“status”: “failed”,
“message”: “[YumRPMCheckError] [u’ERROR with transaction check vs depsolve:’, ‘mono(System.IO.Compression) = 4.2.0.0 is needed by (installed) fsharp-5.0.0.0-0.xamarin.10.epel7.noarch’, ‘mono(System.Net.Http) = 4.2.0.0 is needed by (installed) fsharp-5.0.0.0-0.xamarin.10.epel7.noarch’]”,
“steps”: -1,
“event”: null
}
{
“id”: “1622802480”,
“type”: “EventFailed”,
“message”: “See /var/log/messages”
Thanks,
Regards
Fausto Carlos

check in /var/log/messages but you miss some dependencies

“message”: “[YumRPMCheckError] [u’ERROR with transaction check vs depsolve:’, ‘mono(System.IO.Compression) = 4.2.0.0 is needed by (installed) fsharp-5.0.0.0-0.xamarin.10.epel7.noarch’, ‘mono(System.Net.Http) = 4.2.0.0 is needed by (installed) fsharp-5.0.0.0-0.xamarin.10.epel7.noarch’]”,
```

Hi @fcarlos (welcome to the community),

@stephdl is right, your system has xamarin installed from a outside repo. And this package seem to have conflicting requirements.

EDIT:

@fcarlos also note with following the guide one installs mariadb-server 5.10.3.x replacing (centos 7) native mariadb-server 5.5.x. This is tricky because other nethserver-modules depend on mariadb too.
It is recommended to use a scl (SoftWare Collection) such as rh-mariadb103 is these cases.

1 Like