Ufdbguard conflicts between attempted installs of nethserver-squidguard

no unfinished transaction left

I did the update without ufdbguard, this works, but updating ufdbguard gives the error I’ve written before.

For me the error shows version 1.34.6-2.el7. It’s not the same version which was shown to the thread creator.

You may move away /var/log/ufdbguard to check if it resolves the conflict.

Thanks for reply, I’ll try tomorrow if I’ll find any time.

1 Like

Thanks for helping
Today I try to remove form gui, and the process finish without error, but when I try to install again appear the same error here the screens:

In installed tab doesn’t appear

But in packages appear

In services too

05

Sorry Markus, but it doesn’t exist.

These versions should work:

[root@server ~]# rpm -qa nethserver-squidguard ufdbGuard
ufdbGuard-1.34.6-2.el7.x86_64
nethserver-squidguard-1.9.2-1.7.g186a20a.ns7.noarch

Please try the installation again:

yum clean all
yum install --enablerepo=nethserver-testing,epel-testing nethserver-squidguard ufdbGuard

If there’s an error move away the conflicting file. @geofxgt please move away /etc/sysconfig/ufdbguard before install.

Maybe you need to remove first:

yum remove nethserver-squidguard ufdbGuard

1 Like

@geofxgt
For me the problem was an old nethserver version. After upgrading to 2003 the reinstallation of ufdbguard with the command of @mrmarkuz works.

yum install --enablerepo=nethserver-testing,epel-testing nethserver-squidguard ufdbGuard

1 Like

Thanks for help @mrmarkuz not everything works fine

Do you mean now everything works fine ?
If so, could you explain us what exactly do?

Hi Team,

will there be an overall update? I mean, the automatic update can not be applied, i.m.o. any solution must be based on manual interaction.

I kindly ask to summarize this thread to a solution which can be applied by a simple-minded user (as I am) :slight_smile:

Thank you and best regards
Thorsten

[root@roy ~]# echo ‘{“action”:“install”,“packages”:["@nethserver-web-filter"]}’ | /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 /var/log/ufdbguard conflicts between attempted installs of nethserver-squidguard-1.9.2-1.ns7.noarch and ufdbGuard-1.34.5-2.el7.x86_64\n”,
“steps”: -1,
“event”: null
}
{
“id”: “1598222563”,
“type”: “EventFailed”,
“message”: “See /var/log/messages”
}
[root@roy ~]#

Yes, when EPEL will release the update for their broken package.
As of today, the package is still in testing. I already told them that we successfully tested it.

Edit: Thanks @dz00te

1 Like

@harry What did you try to solve it and what is your configuration?

EPEL has released ufdbGuard and we have nethserver-squidguard ready to be tested.
Instruction for the braves:

1 Like

On an existing system I got after running the above command and then yum update
Transaction check error:
file /etc/sysconfig/ufdbguard from install of ufdbGuard-1.34.6-2.el7.x86_64 conflicts with file from package ufdbGuard-1.34.5-2.el7.x86_64

Then tried
yum remove ufdbGuard

It also removed
Transaction check error:
file /etc/sysconfig/ufdbguard from install of ufdbGuard-1.34.6-2.el7.x86_64 conflicts with file from package ufdbGuard-1.34.5-2.el7.x86_64
After removal reun

yum --enablerepo=epel-testing,nethserver-testing install nethserver-squidguard

and then
yum update
All appears to work
Thanks

1 Like

All the updated packages have been released: you could update from the server-manager or with yum update.

2 Likes

@filippo_carletti I did the update today? Have the patches only just been released since?

The failed one below looks like it is calling for the right packages but failed. Should we just wait and it will sort out?

The following updates will be applied on

Package Arch Version Repository Size

Updating:
certbot noarch 1.7.0-1.el7 epel 45 k
python2-acme noarch 1.7.0-1.el7 epel 82 k
python2-certbot noarch 1.7.0-1.el7 epel 376 k
ufdbGuard x86_64 1.34.6-2.el7 epel 517 k

Transaction Summary

Upgrade 4 Packages
Updates failed to install with the following error message:
Could not run transaction.

But the system where I had manually worked around the issue is back to automatic updates

The following updates will be applied on

Package Arch Version Repository Size

Updating:
nethserver-fail2ban noarch 1.4.2-1.ns7 nethserver-updates 1.1 M
nethserver-mail-common noarch 2.17.2-1.ns7 nethserver-updates 1.5 M
nethserver-mail-disclaimer noarch 2.17.2-1.ns7 nethserver-updates 43 k
nethserver-mail-filter noarch 2.17.2-1.ns7 nethserver-updates 90 k
nethserver-mail-server noarch 2.17.2-1.ns7 nethserver-updates 129 k
nethserver-mail-smarthost noarch 2.17.2-1.ns7 nethserver-updates 56 k
nethserver-nextcloud noarch 1.13.0-1.ns7 nethserver-updates 89 M
nethserver-squid noarch 1.10.12-1.ns7 nethserver-updates 1.3 M
nethserver-squidguard noarch 2.0.2-1.ns7 nethserver-updates 68 k

Transaction Summary

Upgrade 9 Packages
The updates were successfully applied

Does it help if you move away the conflicting /etc/sysconfig/ufdbguard file?

You may try to remove nethserver-squidguard and ufdbguard and install again.

@mrmarkuz That is actually what we did and it worked

yum remove ufdbGuard

It also removed
Transaction check error:
file /etc/sysconfig/ufdbguard from install of ufdbGuard-1.34.6-2.el7.x86_64 conflicts with file from package ufdbGuard-1.34.5-2.el7.x86_64
After removal reun

yum --enablerepo=epel-testing,nethserver-testing install nethserver-squidguard

2 Likes