Ufdbguard conflicts between attempted installs of nethserver-squidguard

Please check your installed versions…

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

…and update again if necessary (maybe some mirrors were not synced when you updated):

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

Does the directory /var/run/ufdbguard exist?

[root@testserver ~]# ls -ld /var/run/ufdbguard
drwxr-xr-x 2 ufdb ufdb 60 Aug 12 23:02 /var/run/ufdbguard

Thanks, the version seems isn’t updated:

ufdbGuard-1.34.5-2.el7.x86_64

When I try to update again shows me these error again:

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

And the directory doesn’t exist:

[root@datacenter ~]# ls -ld /var/run/ufdbguard
ls: cannot access /var/run/ufdbguard: No such file or directory

Remove and install should help:

yum remove ufdbGuard

Install again:

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

2 Likes

Fixed it for me…Thanks Filippo!

Jim

Hi,
I had installed an old version like @geofxgt and removed it. Removing hangs and I had to interrupt it. Now if I check the version of ufdbguard and nethserver-squidguard, both are not installed. But if I try to install with

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

I get the following error message.

Transaction check error:
file /var/log/ufdbguard conflicts between attempted installs of nethserver-squidguard-1.9.2-1.ns7.noarch and ufdbGuard-1.34.6-2.el7.x86_64

Maybe there’s an unfinished yum transaction, check with yum-complete-transaction

Hi Markus,
thanks for your answer, but this command is not found.

It’s part of yum-utils:

yum install yum-utils

2 Likes

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