gperna
(Giuseppe)
December 24, 2018, 10:15am
1
NethServer Version: 7.5
Module: email nextcloud
i have set Locked and upgrade have download and install 7.6 versione.
it is very stangers
Thanks
stephdl
(Stéphane de Labrusse)
December 24, 2018, 10:40am
2
yes it is a known issue already patched, now it is should be harmless
dnutan
(Marc)
December 24, 2018, 12:53pm
3
Here you’ll find more details about the problem, but as said by Stéphane now it’s harmless:
opened 08:37AM - 05 Dec 18 UTC
closed 03:00PM - 07 Dec 18 UTC
bug
verified
If a system has the Software origin policy set to Locked and it has automatic up… dates enabled, it should never update to the next minor release from upstream. However NethServer 7.5 does not respect this rule and despite the Locked policy settings it receives CentOS 7.6 updates.
**Steps to reproduce**
- In ns 7.5 set SW origin policy to Unlocked
- Enable automatic update download+install
- Wait the daily cron job
**Expected behavior**
- After cron.daily runs centos-release must be 7.5
**Actual behavior**
The base CentOS system is updated to 7.6
**Components**
nethserver-base-3.5.2-1.ns7.noarch.rpm
**See also**
https://community.nethserver.org/t/unexpected-auto-update-to-7-6-1810/11353
[root@vm5 ~]# rpm -q centos-release
centos-release-7-6.1810.2.el7.centos.x86_64
Looks like the “release lock” was enabled after the automated update… Really strange!
1 Like
gperna
(Giuseppe)
December 30, 2018, 6:24pm
4
sorry, I did not understand if the problem was solved and how can I do to prevent my version 7.5 is updated to 7.6.
Hello
stephdl
(Stéphane de Labrusse)
December 31, 2018, 4:57am
5
7.6 stable is out and the issue is patched, no more troubles
1 Like
gperna
(Giuseppe)
December 31, 2018, 11:22am
6
Nethserver7.5
Resolving RPM dependencies
The install/update may have failed due to metadata caching issues. Please clean the cache by clicking the button below and retry the install/update operation.
i press botton “clear yum cache” but not function
i have lunch this command to shell: yum clear all
but the problem not solved
please help me
stephdl
(Stéphane de Labrusse)
December 31, 2018, 11:39am
7
gperna:
yum clear all
does it helps:
yum clean all --enablerepo=*; yum update
what is the output
config show sysconfig
gperna
(Giuseppe)
January 5, 2019, 12:51pm
8
config show sysconfig
NsReleaseLock=enable
ProductName=NetServer
Release=final
Versione=7.5.18.04
thanks
dnutan
(Marc)
January 6, 2019, 9:56am
9
Hi @maddin !
From my experience, generally, this kind of error appears when the updates are locked on current version of NS.
There are three ways to go forward:
From GUI: unlock the updates, make the updates and then lock the updates.
From CLI: yum clean all, yum update but this will update all, including CentOS.
From CLI: HowTo update Nethserver correctly via CLI?
IMO, It’s not a big issue but is annoying.
Maybe @giacomo will solve this as he said: Yum: Failed to check for updates
Kind …
/var/log/messages might tell if there is some missing dependency (like one from a disabled repo).
1 Like