Can't install file-server on fresh install

Hello!

I am trying to install file-server and samba-audit on a fresh install, but i keep receiving this erros:

Sep 24 15:56:33 doc01fs01 pkgaction[11963]: install: @nethserver-file-server, nethserver-samba-audit
Sep 24 15:56:56 doc01fs01 pkgaction[11963]: [YumRPMCheckError] [u'ERROR with transaction check vs depsolve:', 'samba-common = 4.8.3-6.el7_6 is needed by samba-client-libs-0:4.8.3-6.el7_6.i686', 'glibc-common = 2.17-260.el7_6.6 is needed by glibc-2.17-260.el7_6.6.i686', 'mariadb-libs(x86-64) = 1:5.5.60-1.el7_5 is needed by mariadb-server-1:5.5.60-1.el7_5.x86_64', 'libCHARSET3-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libauth-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libcli-cldap-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libcli-nbt-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libcli-smb-common-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libcliauth-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libdbwrap-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libgenrand-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libgse-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'liblibsmb-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libmessages-dgm-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libmsghdr-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libndr-samba-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libpopt-samba3-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libreplace-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libsamba-cluster-support-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libsamba-debug-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libsamba-security-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libsamba-sockets-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libsamba3-util-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libsecrets3-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libserver-id-db-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libsmb-transport-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libsmbd-base-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libsmbd-shim-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libsocket-blocking-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libsys-rw-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libutil-reg-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libutil-tdb-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libxattr-tdb-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-0:4.8.3-6.el7_6.x86_64', 'samba-common = 4.8.3-6.el7_6 is needed by samba-0:4.8.3-6.el7_6.x86_64', 'samba-common-libs = 4.8.3-6.el7_6 is needed by samba-0:4.8.3-6.el7_6.x86_64', 'samba-common-tools = 4.8.3-6.el7_6 is needed by samba-0:4.8.3-6.el7_6.x86_64', 'libMESSAGING-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libads-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libasn1util-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libauth-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libauthkrb5-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libcli-ldap-common-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libcli-smb-common-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libcliauth-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libcommon-auth-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libdbwrap-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libdcerpc-samba-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libdcerpc-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libflag-mapping-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libgenrand-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libgensec-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libgse-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libkrb5samba-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'liblibcli-lsa3-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'liblibcli-netlogon3-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'liblibsmb-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libmsrpc3-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libndr-samba-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libndr-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libnpa-tstream-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libpopt-samba3-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libreplace-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsamba-debug-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsamba-modules-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsamba-security-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsamba-sockets-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsamba3-util-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsamdb-common-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsecrets3-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsmb-transport-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsmbd-shim-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsmbldaphelper-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsocket-blocking-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libsys-rw-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libtime-basic-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libtrusts-util-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libutil-tdb-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'samba-common = 4.8.3-6.el7_6 is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'samba-common-libs = 4.8.3-6.el7_6 is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'samba-common-tools = 4.8.3-6.el7_6 is needed by samba-winbind-0:4.8.3-6.el7_6.x86_64', 'libreplace-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-modules-0:4.8.3-6.el7_6.x86_64', 'libwinbind-client-samba4.so(SAMBA_4.8.3)(64bit) is needed by samba-winbind-modules-0:4.8.3-6.el7_6.x86_64', 'mariadb-libs(x86-64) = 1:5.5.60-1.el7_5 is needed by mariadb-1:5.5.60-1.el7_5.x86_64']

Seems like i have a newly version of samba on my system? I just installed and did updates from the webgui. What I am missing?

[root@doc01fs01 ~]# yum list installed samba*
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
 * ce-base: centos.usetelecom.com.br
 * ce-extras: centos.usetelecom.com.br
 * ce-sclo-rh: centos.usetelecom.com.br
 * ce-sclo-sclo: centos.usetelecom.com.br
 * ce-updates: centos.usetelecom.com.br
 * epel: mirror.ci.ifes.edu.br
 * nethforge: ns-mirror1.ibi.net.br
 * nethserver-base: ns-mirror1.ibi.net.br
 * nethserver-updates: ns-mirror1.ibi.net.br
Installed Packages
samba-client-libs.x86_64                                                    4.9.1-6.el7                                                    @base
samba-common.noarch                                                         4.9.1-6.el7                                                    @base
samba-common-libs.x86_64                                                    4.9.1-6.el7                                                    @base
samba-common-tools.x86_64                                                   4.9.1-6.el7                                                    @base
samba-libs.x86_64                                                           4.9.1-6.el7                                                    @base

Edit: Since It’s a Proxmox VM, I could rollback to a “post-install-snapshot” and tried to install file-server before update, and it works.

Other attempts to install it after update, from WEB and from CLI, with or without the “locked” option, just didn’t work.

That does not exist any more…

Please attach the output of

 yum repolist -v
1 Like

I think it still does:

[root@doc01fs01 ~]# yum repolist -v
Loading "changelog" plugin
Loading "fastestmirror" plugin
Loading "nethserver_events" plugin
Config time: 0.016
Yum version: 3.4.3
Loading mirror speeds from cached hostfile
 * ce-base: linorg.usp.br
 * ce-extras: linorg.usp.br
 * ce-updates: linorg.usp.br
 * epel: d2lzkl7pfhq30w.cloudfront.net
 * nethforge: ns-mirror1.ibi.net.br
 * nethserver-base: ns-mirror1.ibi.net.br
 * nethserver-updates: ns-mirror1.ibi.net.br
Setting up Package Sacks
pkgsack time: 0.013
Repo-id      : ce-base/7/x86_64
Repo-name    : CE-Base-7.6.1810
Repo-revision: 1543161601
Repo-updated : Sun Nov 25 14:00:34 2018
Repo-pkgs    : 10,019
Repo-size    : 9.4 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-base&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : http://linorg.usp.br/CentOS/7.6.1810/os/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last: Wed Sep 25 07:42:23 2019)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NsReleaseLock.repo

Repo-id      : ce-extras/7/x86_64
Repo-name    : CE-Extras-7.6.1810
Repo-revision: 1565034801
Repo-updated : Mon Aug  5 17:01:53 2019
Repo-pkgs    : 435
Repo-size    : 653 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-extras&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : http://linorg.usp.br/CentOS/7.6.1810/extras/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last: Wed Sep 25 07:42:24 2019)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NsReleaseLock.repo

Repo-id      : ce-updates/7/x86_64
Repo-name    : CE-Updates-7.6.1810
Repo-revision: 1564566429
Repo-updated : Wed Jul 31 07:16:38 2019
Repo-pkgs    : 2,500
Repo-size    : 14 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-updates&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : http://linorg.usp.br/CentOS/7.6.1810/updates/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last: Wed Sep 25 07:42:24 2019)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NsReleaseLock.repo

Repo-id      : centos-sclo-rh/x86_64
Repo-name    : CentOS-7 - SCLo rh
Repo-revision: 1569106123
Repo-updated : Sat Sep 21 19:51:07 2019
Repo-pkgs    : 8,548
Repo-size    : 7.8 G
Repo-baseurl : http://mirror.centos.org/centos/7/sclo/x86_64/rh/
Repo-expire  : 21,600 second(s) (last: Wed Sep 25 07:42:25 2019)
  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: 1569104341
Repo-updated : Sat Sep 21 19:19:06 2019
Repo-pkgs    : 804
Repo-size    : 239 M
Repo-baseurl : http://mirror.centos.org/centos/7/sclo/x86_64/sclo/
Repo-expire  : 21,600 second(s) (last: Wed Sep 25 07:42:25 2019)
  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: 1569370433
Repo-updated : Tue Sep 24 21:19:48 2019
Repo-pkgs    : 13,411
Repo-size    : 15 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64
  Updated    : Tue Sep 24 21:19:48 2019
Repo-baseurl : https://d2lzkl7pfhq30w.cloudfront.net/pub/epel/7/x86_64/ (141 more)
Repo-expire  : 21,600 second(s) (last: Wed Sep 25 07:42:30 2019)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/epel.repo

Repo-id      : nethforge/7/x86_64
Repo-name    : NethForge 7
Repo-revision: 1569227923
Repo-updated : Mon Sep 23 05:38:48 2019
Repo-pkgs    : 220
Repo-size    : 716 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=nethforge&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : http://ns-mirror1.ibi.net.br/7.6.1810/nethforge/x86_64/ (17 more)
Repo-expire  : 21,600 second(s) (last: Wed Sep 25 07:42:31 2019)
  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: 1544698988
Repo-updated : Thu Dec 13 09:03:18 2018
Repo-pkgs    : 322
Repo-size    : 1.0 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=base&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : http://ns-mirror1.ibi.net.br/7.6.1810/base/x86_64/ (17 more)
Repo-expire  : 21,600 second(s) (last: Wed Sep 25 07:42:31 2019)
  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: 1569227938
Repo-updated : Mon Sep 23 05:40:30 2019
Repo-pkgs    : 662
Repo-size    : 2.2 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=updates&arch=x86_64&nsrelease=7.6.1810
Repo-baseurl : http://ns-mirror1.ibi.net.br/7.6.1810/updates/x86_64/ (17 more)
Repo-expire  : 21,600 second(s) (last: Wed Sep 25 07:42:32 2019)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

I think its easy to reproduce:

1 - Install nethserver
2 - Access web interface >> software center (you will be prompted to choose between the “Locked nad Unlocked” option)
4 - Try to updated all

  • With “locked”, updated return error.
  • With “unlock”, update works

5 - Try to install “file-server” and you will get my first post erros.

What worked:
1 - Install
2 - Access web interface >> software center and ignore the Warning about “locked and unlocked”
3 - Install file-server
4 - I am reading your post about locked and unlocked to choose the right option for me, and will try to update soon.

Im just thinking out-loud here:

what if you only update nethserver-release ?

yum update nethserver-release

To my understanding the new version-lock strategy is pulled in with this. It might pull some other nethserver-modules in which sould not be a problem.

Check if centos-release is not among them before you confirm with y .

We just updated mirrolist to reflect upstream repository changes: could you please try with:

yum clean all
yum install nethserver-samba
2 Likes

Without updating frist, I was able to install file-server trhough webui successfully, so I can’t test your suggestion on that anymore.

But now, trying to update results an erro:

Sep 25 10:07:26 doc01fs01 pkgaction[28415]: update: *
Sep 25 10:07:28 doc01fs01 pkgaction[28415]: install:
Sep 25 10:08:24 doc01fs01 pkgaction[28415]: [YumRPMCheckError] [u'ERROR with transaction check vs depsolve:', 'jq is needed by nethserver-subscription-3.4.1-1.ns7.noarch']

This behavior is normal on fresh installation?

Thanks very much!

Edit: Just found this. Should I change to “Unlocked” to update my system?

Update: Just found this, understood that the epel repo is blocked by the “Locked” option on Software Center. Installed jq manualy from the CLI and now update works well.

Thanks very much for your patience!

1 Like

I’m happy you found a solution!

Locked/unlocked: I understand it is possible if the system is freshly installed from iso or it wasn’t updated since February at least.

We probably introduced some changes that aren’t backward-compatible with past system settings now that upstream has released 7.7.

Luckily a new ISO is soon to come and the new installation case will be fixed with it.

2 Likes