Koozali.org: home of the SME Server
Other Languages => Deutsch => Topic started by: waldviertler on April 29, 2024, 04:07:46 PM
-
Today I got a message to update over yum - so I did.
But I get this errors:
Loaded plugins: fastestmirror, post-transaction-actions, priorities, smeserver
Loading mirror speeds from cached hostfile
* base: centos.mirror.alwyzon.net
* smeaddons: mirrors.misouk.com
* smeextras: mirrors.misouk.com
* smeos: mirrors.misouk.com
* smeupdates: mirrors.misouk.com
* updates: centos.mirror.alwyzon.net
Resolving Dependencies
--> Running transaction check
---> Package nut.x86_64 0:2.7.2-4.el7 will be updated
---> Package nut.x86_64 0:2.8.0-2.el7 will be an update
---> Package nut-client.x86_64 0:2.7.2-4.el7 will be updated
--> Processing Dependency: libupsclient.so.4()(64bit) for package: nut-cgi-2.7.2-4.el7.x86_64
--> Processing Dependency: nut-client = 2.7.2-4.el7 for package: nut-cgi-2.7.2-4.el7.x86_64
---> Package nut-client.x86_64 0:2.8.0-2.el7 will be an update
--> Finished Dependency Resolution
Error: Package: nut-cgi-2.7.2-4.el7.x86_64 (@epel)
Requires: nut-client = 2.7.2-4.el7
Removing: nut-client-2.7.2-4.el7.x86_64 (@anaconda/10.0)
nut-client = 2.7.2-4.el7
Updated By: nut-client-2.8.0-2.el7.x86_64 (smeupdates)
nut-client = 2.8.0-2.el7
Error: Package: nut-cgi-2.7.2-4.el7.x86_64 (@epel)
Requires: libupsclient.so.4()(64bit)
Removing: nut-client-2.7.2-4.el7.x86_64 (@anaconda/10.0)
libupsclient.so.4()(64bit)
Updated By: nut-client-2.8.0-2.el7.x86_64 (smeupdates)
~libupsclient.so.6()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
yum update nut-client.x86_64 nut.x86_64 failed: 256
What should I do?
Thanks in advice.
Martin
-
https://rhel.pkgs.org/7/epel-x86_64/nut-cgi-2.8.0-2.el7.x86_64.rpm.html
yum update https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/n/nut-cgi-2.8.0-2.el7.x86_64.rpm
-
nut-cgi is not part of our core distro but is in EPEL. you might have installed (like me ) it according to the wiki.
you can either wait for repo to sync (I have added it to our repo) or to enable epel for this update
yum update nut-cgi --enablerepo=epel
-
Thank you very much!
Martin
-
Martin,
I hope you did not run the upgrade yet.
nut-2.8.0 intrroduce a lot of breaking changes.
service will fail to run with our current configuration
it will be a no fix as SME10 is almost eol, and the current 2.8.0 in EPEL 7 seems buggy and half baked looking at the openned bugs (it is worst currently for el8 and el9 with newer releases)
i have removed the upgrades from SME mirrors
if you did do the upgrade
yum downgrade nut nut-client nut-cgi
systemctl restart nut
should do the trick
if not you might need to uninstall first nut-cgi, and then install it from epel archive
https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/n/nut-cgi-2.7.2-4.el7.x86_64.rpm
rpm -e nut-cgi
yum downgrade nut nut-client
systemctl restart nut
wget https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/n/nut-cgi-2.7.2-4.el7.x86_64.rpm
yum install nut-cgi-2.7.2-4.el7.x86_64.rpm
please see more on https://forums.koozali.org/index.php?topic=55171.0