Conflicts in packages prevents updates

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”: “[YumTestTransactionError] Test Transaction Errors: file /usr/share/nethesis/NethServer/Language/en/NethServer_Module_Dashboard_SystemStatus_Stephdl.php from install of nethserver-danb35-1.1.0-2.ns7.noarch conflicts with file from package nethserver-stephdl-1.1.8-1.ns7.sdl.noarch\n”,
“steps”: -1,
“event”: null
}
{
“id”: “1628838130”,
“type”: “EventFailed”,
“message”: “See /var/log/messages”
}

1 Like

/cc @danb35, can you take a look at it?

I dont want hijack this thread but i have an similar conflict between “stephdl” and “danb35” packages:(updating via console: yum update)

Transaction check error:
  file /usr/share/nethesis/NethServer/Language/en/NethServer_Module_Dashboard_SystemStatus_Stephdl.php from install of nethserver-danb35-1.1.0-2.ns7.noarch conflicts with file from package nethserver-stephdl-1.1.8-1.ns7.sdl.noarch

regards Yummiweb

@danb35 you should rename the file above in your rpm, however you will miss the translation.

What I’m unclear about is how that file got there. I’ve pulled this release from the repo for now.

2 Likes