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
m.traeumner
(Michael Träumner)
August 24, 2020, 12:29pm
42
@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:
opened 01:46PM - 31 Jul 20 UTC
Recently EPEL has pushed a new ufdbGuard package which conflicts with the one from the original project shipped by NethServer.
Steps to...
bug
verified
1 Like
compsos
(Gordon)
September 2, 2020, 11:40pm
44
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
compsos
(Gordon)
September 3, 2020, 8:33am
46
@filippo_carletti I did the update today? Have the patches only just been released since?
compsos
(Gordon)
September 3, 2020, 11:48pm
47
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
mrmarkuz
(Markus Neuberger)
September 4, 2020, 6:54am
48
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.
compsos
(Gordon)
September 6, 2020, 9:25pm
49
@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