One of my mail servers ‘got screwed up’ tonight, fixing it caused me to realize it updated to 7.6… it was locked, just like another server I checked that says it’s locked to 7.5 yet is offering
Unexpected automatic update to 7.6 - Bug NethServer/dev#5665
I must have missed something… but now I don’t dare update any production servers because I don’t have time to deal with this right now since fixing the mail server I did update entailed reinstalling half the packages.
It’s starting to appear that it’s getting to the point with Nethserver where updating at the gui is fraught with peril and every update should just be done at the cli with a clean and makecache before every update, that’s not really what I had in mind when I first got involved here.
So, for giggles, I was going to install nethserver-base for the yum lock fix and then run an update… but when I ran update after a clean all to get the exact pkg, I have only epel available, when last night it was about 8 nethserver pkgs alone… best guess is the nethserver repos are locked or something.
@davidep The server I tried that offered both the 7.6 release and the yum lock fix that hasn’t updated, I ran yum clean all and yum update… the only repo in the cache now is epel I guess, I did not run make cache on this server… I backed away, it’s a production server.
/var/log/messages-20181216:Dec 15 19:30:13 server2c esmith::event[9303]: Event: pre-backup-data SUCCESS
/var/log/messages-20181216:Dec 15 19:30:19 server2c esmith::event[9513]: Event: post-backup-data
/var/log/messages-20181216:Dec 15 19:30:24 server2c esmith::event[9513]: Event: post-backup-data SUCCESS
[root@server2c ~]# config show subscription
[root@server2c ~]# config show sysconfig
sysconfig=configuration
Copyright=
DefaultLanguage=en_US.utf8
NsReleaseLock=enabled
ProductName=NethServer
Release=final
Version=7.5.1804
ZeroConf=enabled
[root@server2c ~]# yum repolist -v
Loading "changelog" plugin
Loading "fastestmirror" plugin
Loading "nethserver_events" plugin
Config time: 0.012
Yum version: 3.4.3
Loading mirror speeds from cached hostfile
* epel: sjc.edge.kernel.org
Setting up Package Sacks
pkgsack time: 0.011
Repo-id : ce-base/7/x86_64
Repo-name : CE-Base-7.5.1804
Repo-revision: 1525378614
Repo-updated : Thu May 3 13:17:37 2018
Repo-pkgs : 9,911
Repo-size : 8.2 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-base&arch=x86_64&nsrelease=7.5.1804
Repo-baseurl : http://vault.centos.org/7.5.1804/os/x86_64/
Repo-expire : 21,600 second(s) (last: Sun Dec 16 14:54:47 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NsReleaseLock.repo
Repo-id : ce-extras/7/x86_64
Repo-name : CE-Extras-7.5.1804
Repo-revision: 1541683984
Repo-updated : Thu Nov 8 06:36:55 2018
Repo-pkgs : 434
Repo-size : 806 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-extras&arch=x86_64&nsrelease=7.5.1804
Repo-baseurl : http://vault.centos.org/7.5.1804/extras/x86_64/
Repo-expire : 21,600 second(s) (last: Sun Dec 16 14:54:47 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NsReleaseLock.repo
Repo-id : ce-updates/7/x86_64
Repo-name : CE-Updates-7.5.1804
Repo-revision: 1540837319
Repo-updated : Mon Oct 29 11:33:45 2018
Repo-pkgs : 1,613
Repo-size : 5.7 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-updates&arch=x86_64&nsrelease=7.5.1804
Repo-baseurl : http://vault.centos.org/7.5.1804/updates/x86_64/
Repo-expire : 21,600 second(s) (last: Sun Dec 16 14:54:47 2018)
Filter : read-only:present
Repo-excluded: 1
Repo-filename: /etc/yum.repos.d/NsReleaseLock.repo
Repo-id : centos-sclo-rh/x86_64
Repo-name : CentOS-7 - SCLo rh
Repo-revision: 1544056569
Repo-updated : Wed Dec 5 17:38:08 2018
Repo-pkgs : 7,857
Repo-size : 6.5 G
Repo-baseurl : http://mirror.centos.org/centos/7/sclo/x86_64/rh/
Repo-expire : 21,600 second(s) (last: Sun Dec 16 14:54:48 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo
Repo-id : centos-sclo-sclo/x86_64
Repo-name : CentOS-7 - SCLo sclo
Repo-revision: 1543512024
Repo-updated : Thu Nov 29 10:20:28 2018
Repo-pkgs : 682
Repo-size : 228 M
Repo-baseurl : http://mirror.centos.org/centos/7/sclo/x86_64/sclo/
Repo-expire : 21,600 second(s) (last: Sun Dec 16 14:54:48 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-SCLo-scl.repo
Repo-id : epel/x86_64
Repo-name : Extra Packages for Enterprise Linux 7 - x86_64
Repo-revision: 1544919780
Repo-updated : Sat Dec 15 17:34:11 2018
Repo-pkgs : 12,744
Repo-size : 14 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64
Updated : Sat Dec 15 17:34:11 2018
Repo-baseurl : https://sjc.edge.kernel.org/fedora-buffet/epel/7/x86_64/ (56 more)
Repo-expire : 21,600 second(s) (last: Sun Dec 16 14:54:48 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/epel.repo
Repo-id : nethforge/7/x86_64
Repo-name : NethForge 7
Repo-revision: 1541262563
Repo-updated : Sat Nov 3 09:29:24 2018
Repo-pkgs : 63
Repo-size : 175 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=nethforge&arch=x86_64&nsrelease=7.5.1804
Repo-baseurl : http://packages.nethserver.org/nethserver/7.5.1804/nethforge/x86_64/
Repo-expire : 21,600 second(s) (last: Sun Dec 16 14:54:48 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethForge.repo
Repo-id : nethserver-base/7/x86_64
Repo-name : NethServer-7 - Base
Repo-revision: 1528711431
Repo-updated : Mon Jun 11 03:03:55 2018
Repo-pkgs : 283
Repo-size : 1.0 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=base&arch=x86_64&nsrelease=7.5.1804
Repo-baseurl : http://packages.nethserver.org/nethserver/7.5.1804/base/x86_64/
Repo-expire : 21,600 second(s) (last: Sun Dec 16 14:54:48 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo
Repo-id : nethserver-updates/7/x86_64
Repo-name : NethServer-7 - Updates
Repo-revision: 1543341016
Repo-updated : Tue Nov 27 10:50:30 2018
Repo-pkgs : 348
Repo-size : 1.2 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=updates&arch=x86_64&nsrelease=7.5.1804
Repo-baseurl : http://packages.nethserver.org/nethserver/7.5.1804/updates/x86_64/
Repo-expire : 21,600 second(s) (last: Sun Dec 16 14:54:49 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo
repolist: 33,935
[root@server2c ~]#
indent preformatted text by 4 spaces
@davidep This is the server that caught me off guard… a production mail server that had imap failures as the issue posted here on the forums already I didn’t pay close enough attention to realize it was going to update to 7.6 and had the yum lock fix.
This one I did run yum clean all & makecache… it updated to 7.6 successfully afterwards. Surprise.
If your server software source wasn’t locked in that timeframe it could have installed the new nethserver-subscription package and started the upgrade to 7.6 on the next YUM run.
As 7.6 is now “stable” and the announce is imminent I’d suggest to remove the release lock and upgrade to 7.6…
I assume you’re referring to the server I posted the info you requested on, it’s only offering epel at the cli with yum update, as of last night… but this morning, I got the email about upgrades from it and it’s offering all the same updates it’s had available for about a week now… which is the release upgrade and the yum lock fix… this is the same as 8 other locked servers, they’re all offering the release upgrade and the yum lock fix… and they’re all production. I’m not messing with this today regardless, I don’t dare since I’m leaving town for a couple of days.
Also, the one mail server I was forced to upgrade… it’s offering a single update… nethserver-release. I’m just a little concerned here.
Upgrade 1 Package
Total download size: 247 k
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for nethserver-base
nethserver-base-3.6.1-1.ns7.no FAILED
http://packages.nethserver.org/nethserver/7.5.1804/base/x86_64/Packages/nethserver-base-3.6.1-1.ns7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
I am following this thread for I believe updates on production servers should be done in a very controlled manner. Total control is mandatory for (business) production servers.