mrmarkuz
(Markus Neuberger)
August 12, 2020, 9:14pm
22
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
geofxgt
(Pedro Sitan)
August 13, 2020, 4:14am
23
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
mrmarkuz
(Markus Neuberger)
August 13, 2020, 6:27am
24
Remove and install should help:
yum remove ufdbGuard
Install again:
yum install --enablerepo=nethserver-testing,epel-testing nethserver-squidguard ufdbGuard
2 Likes
Jimbo
(Jim Blake)
August 14, 2020, 11:14am
25
Fixed it for me…Thanks Filippo!
Jim
m.traeumner
(Michael Träumner)
August 16, 2020, 4:23pm
26
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
mrmarkuz
(Markus Neuberger)
August 16, 2020, 4:58pm
27
Maybe there’s an unfinished yum transaction, check with yum-complete-transaction
Have you checked if there are unfinished yum transactions?
m.traeumner
(Michael Träumner)
August 16, 2020, 5:13pm
28
Hi Markus,
thanks for your answer, but this command is not found.
m.traeumner
(Michael Träumner)
August 16, 2020, 5:50pm
30
mrmarkuz:
yum install yum-utils
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.
mrmarkuz
(Markus Neuberger)
August 16, 2020, 7:24pm
31
You may move away /var/log/ufdbguard
to check if it resolves the conflict.
m.traeumner
(Michael Träumner)
August 16, 2020, 8:42pm
32
Thanks for reply, I’ll try tomorrow if I’ll find any time.
1 Like
geofxgt
(Pedro Sitan)
August 17, 2020, 8:12pm
33
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
m.traeumner
(Michael Träumner)
August 17, 2020, 9:24pm
34
Sorry Markus, but it doesn’t exist.
mrmarkuz
(Markus Neuberger)
August 17, 2020, 9:40pm
35
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
m.traeumner
(Michael Träumner)
August 17, 2020, 10:57pm
36
@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
geofxgt
(Pedro Sitan)
August 19, 2020, 4:05am
37
Thanks for help @mrmarkuz not everything works fine
m.traeumner
(Michael Träumner)
August 19, 2020, 8:17am
38
Do you mean now everything works fine
?
If so, could you explain us what exactly do?
thorsten
(Thorsten)
August 23, 2020, 10:32am
39
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)
Thank you and best regards
Thorsten
harry
(harry)
August 23, 2020, 10:44pm
40
[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