Clear YUM cache?

Hi, was trying to update marketplace and apps but could not progress until I clear cache. I cleared it but still getting same error message. Does anyone have a fix? Thanks.

1 Like

Hi,
Welcome in our big tribe :wink:
What version of NS are you trying to deploy?

1 Like

Hi, its as follows:
System version
NethServer release 6.7 (final)
Kernel release
2.6.32-573.22.1.el6.x86_64

My guess is that you hit this error which flashes on the screen first and is then replaced by the one you see.

Cheers.

I did a rebuild (just for the heck of it) and installed market apps one at a time. It is slow going but seems the Clear YUM Cache error message went away. Cheers

@dreamerman

You can always clean yum cache from command line :
yum clean all

1 Like

I think i have the same error with the latest batch of updates. I did a yum clean all from command line, and yum update. There are several errors flagged in the output of running the yum update command. Here is the output:
login as: root
root@10.20.30.1’s password:
Last login: Sat Apr 2 16:07:10 2016 from 10.20.30.250

************ Welcome to NethServer ************

This is a NethServer installation.

Before editing configuration files, be aware
of the automatic events and templates system.

      http://docs.nethserver.org

[root@tempest ~]# yum clean all
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Cleaning repos: centos-base centos-updates nethserver-base nethserver-updates
Cleaning up Everything
Cleaning up list of fastest mirrors
0 delta-package files removed, by presto
[root@tempest ~]# yum update all
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Update Process
Loading mirror speeds from cached hostfile

  • centos-base: repos.lax.quadranet.com
  • centos-updates: centos-distro.cavecreek.net
  • nethserver-base: mirror.nethserver.org
  • nethserver-updates: mirror.nethserver.org
    No Match for argument: all
    No package all available.
    No Packages marked for Update
    [root@tempest ~]# yum update
    Loaded plugins: changelog, fastestmirror, nethserver_events, presto
    Setting up Update Process
    Loading mirror speeds from cached hostfile
  • centos-base: repos.lax.quadranet.com
  • centos-updates: centos-distro.cavecreek.net
  • nethserver-base: mirror.nethserver.org
  • nethserver-updates: mirror.nethserver.org
    Resolving Dependencies
    –> Running transaction check
    —> Package libldb.x86_64 0:1.1.13-3.el6_7.1 will be updated
    —> Package libldb.x86_64 0:1.1.25-2.el6_7 will be an update
    —> Package libtalloc.x86_64 0:2.0.7-2.el6 will be updated
    —> Package libtalloc.x86_64 0:2.1.5-1.el6_7 will be an update
    —> Package libtdb.x86_64 0:1.2.10-1.el6 will be updated
    —> Package libtdb.x86_64 0:1.3.8-1.el6_7 will be an update
    —> Package libtevent.x86_64 0:0.9.18-3.el6 will be updated
    —> Package libtevent.x86_64 0:0.9.26-2.el6_7 will be an update
    —> Package pytalloc.x86_64 0:2.0.7-2.el6 will be obsoleted
    —> Package pytalloc.x86_64 0:2.1.5-1.el6_7 will be obsoleting
    —> Package samba.x86_64 0:3.6.23-25.el6_7 will be updated
    —> Package samba.x86_64 0:3.6.23-30.el6_7 will be an update
    —> Package samba-client.x86_64 0:3.6.23-25.el6_7 will be updated
    —> Package samba-client.x86_64 0:3.6.23-30.el6_7 will be an update
    —> Package samba-common.x86_64 0:3.6.23-25.el6_7 will be updated
    —> Package samba-common.x86_64 0:3.6.23-30.el6_7 will be an update
    —> Package samba-winbind.x86_64 0:3.6.23-25.el6_7 will be updated
    —> Package samba-winbind.x86_64 0:3.6.23-30.el6_7 will be an update
    —> Package samba-winbind-clients.x86_64 0:3.6.23-25.el6_7 will be updated
    —> Package samba-winbind-clients.x86_64 0:3.6.23-30.el6_7 will be an update
    —> Package samba4-libs.x86_64 0:4.0.0-68.el6_7.rc4 will be updated
    –> Processing Dependency: libcli-ldap.so()(64bit) for package: winexe-1.1-1.git .0.9d83c1e.el6.x86_64
    –> Processing Dependency: libcli-ldap.so(SAMBA_4.0.0RC4)(64bit) for package: wi nexe-1.1-1.git.0.9d83c1e.el6.x86_64
    –> Processing Dependency: libdcerpc-samba.so()(64bit) for package: winexe-1.1-1 .git.0.9d83c1e.el6.x86_64
    –> Processing Dependency: libdcerpc-samba.so(SAMBA_4.0.0RC4)(64bit) for package : winexe-1.1-1.git.0.9d83c1e.el6.x86_64
    –> Processing Dependency: liberrors.so()(64bit) for package: winexe-1.1-1.git.0 .9d83c1e.el6.x86_64
    –> Processing Dependency: liberrors.so(SAMBA_4.0.0RC4)(64bit) for package: wine xe-1.1-1.git.0.9d83c1e.el6.x86_64
    —> Package samba4-libs.x86_64 0:4.2.10-6.el6_7 will be an update
    —> Package selinux-policy.noarch 0:3.7.19-279.el6_7.8 will be updated
    —> Package selinux-policy.noarch 0:3.7.19-279.el6_7.9 will be an update
    —> Package selinux-policy-targeted.noarch 0:3.7.19-279.el6_7.8 will be updated
    —> Package selinux-policy-targeted.noarch 0:3.7.19-279.el6_7.9 will be an upda te
    —> Package tdb-tools.x86_64 0:1.2.10-1.el6 will be updated
    —> Package tdb-tools.x86_64 0:1.3.8-1.el6_7 will be an update
    –> Finished Dependency Resolution
    Error: Package: winexe-1.1-1.git.0.9d83c1e.el6.x86_64 (@nethserver-base)
    Requires: libcli-ldap.so(SAMBA_4.0.0RC4)(64bit)
    Removing: samba4-libs-4.0.0-68.el6_7.rc4.x86_64 (@centos-updates)
    libcli-ldap.so(SAMBA_4.0.0RC4)(64bit)
    Updated By: samba4-libs-4.2.10-6.el6_7.x86_64 (centos-updates)
    Not found
    Available: samba4-libs-4.0.0-66.el6_6.rc4.x86_64 (centos-base)
    libcli-ldap.so(SAMBA_4.0.0RC4)(64bit)
    Available: samba4-libs-4.0.0-67.el6_7.rc4.x86_64 (centos-updates)
    libcli-ldap.so(SAMBA_4.0.0RC4)(64bit)
    Error: Package: winexe-1.1-1.git.0.9d83c1e.el6.x86_64 (@nethserver-base)
    Requires: liberrors.so(SAMBA_4.0.0RC4)(64bit)
    Removing: samba4-libs-4.0.0-68.el6_7.rc4.x86_64 (@centos-updates)
    liberrors.so(SAMBA_4.0.0RC4)(64bit)
    Updated By: samba4-libs-4.2.10-6.el6_7.x86_64 (centos-updates)
    Not found
    Available: samba4-libs-4.0.0-66.el6_6.rc4.x86_64 (centos-base)
    liberrors.so(SAMBA_4.0.0RC4)(64bit)
    Available: samba4-libs-4.0.0-67.el6_7.rc4.x86_64 (centos-updates)
    liberrors.so(SAMBA_4.0.0RC4)(64bit)
    Error: Package: winexe-1.1-1.git.0.9d83c1e.el6.x86_64 (@nethserver-base)
    Requires: libcli-ldap.so()(64bit)
    Removing: samba4-libs-4.0.0-68.el6_7.rc4.x86_64 (@centos-updates)
    libcli-ldap.so()(64bit)
    Updated By: samba4-libs-4.2.10-6.el6_7.x86_64 (centos-updates)
    Not found
    Available: samba4-libs-4.0.0-66.el6_6.rc4.x86_64 (centos-base)
    libcli-ldap.so()(64bit)
    Available: samba4-libs-4.0.0-67.el6_7.rc4.x86_64 (centos-updates)
    libcli-ldap.so()(64bit)
    Error: Package: winexe-1.1-1.git.0.9d83c1e.el6.x86_64 (@nethserver-base)
    Requires: liberrors.so()(64bit)
    Removing: samba4-libs-4.0.0-68.el6_7.rc4.x86_64 (@centos-updates)
    liberrors.so()(64bit)
    Updated By: samba4-libs-4.2.10-6.el6_7.x86_64 (centos-updates)
    Not found
    Available: samba4-libs-4.0.0-66.el6_6.rc4.x86_64 (centos-base)
    liberrors.so()(64bit)
    Available: samba4-libs-4.0.0-67.el6_7.rc4.x86_64 (centos-updates)
    liberrors.so()(64bit)
    Error: Package: winexe-1.1-1.git.0.9d83c1e.el6.x86_64 (@nethserver-base)
    Requires: libdcerpc-samba.so()(64bit)
    Removing: samba4-libs-4.0.0-68.el6_7.rc4.x86_64 (@centos-updates)
    libdcerpc-samba.so()(64bit)
    Updated By: samba4-libs-4.2.10-6.el6_7.x86_64 (centos-updates)
    Not found
    Available: samba4-libs-4.0.0-66.el6_6.rc4.x86_64 (centos-base)
    libdcerpc-samba.so()(64bit)
    Available: samba4-libs-4.0.0-67.el6_7.rc4.x86_64 (centos-updates)
    libdcerpc-samba.so()(64bit)
    Error: Package: winexe-1.1-1.git.0.9d83c1e.el6.x86_64 (@nethserver-base)
    Requires: libdcerpc-samba.so(SAMBA_4.0.0RC4)(64bit)
    Removing: samba4-libs-4.0.0-68.el6_7.rc4.x86_64 (@centos-updates)
    libdcerpc-samba.so(SAMBA_4.0.0RC4)(64bit)
    Updated By: samba4-libs-4.2.10-6.el6_7.x86_64 (centos-updates)
    Not found
    Available: samba4-libs-4.0.0-66.el6_6.rc4.x86_64 (centos-base)
    libdcerpc-samba.so(SAMBA_4.0.0RC4)(64bit)
    Available: samba4-libs-4.0.0-67.el6_7.rc4.x86_64 (centos-updates)
    libdcerpc-samba.so(SAMBA_4.0.0RC4)(64bit)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

it is the same issue as it was discussed before.

Nethserver and Badlock

Please procced with this and back to us with the results.

1 Like

Nas, WOW you are quick :slight_smile: To confirm, you want me to do this:

yum localinstall http://packages.nethesis.it/nethserver/6.7/testing/x86_64/Packages/winexe-1.01-1.x86_64.rpm
yum install nethserver-adagios

Correct?

I noticed this clear cache issue comes up and won’t go away when I tried to add “Monitoring and inventorying” from the marketplace. Other times, the clear cache notification goes away after I clear cache and reboot.

Later…yep that is the problem at least on my machine.

@harry please proceed !

@dreamerman as you may reed the main misconfigure is leaded by adagios package.
Thus please remove it or please apply the workaroud from the @dev_team .

[> root@server ~]# yum localinstall http://packages.nethesis.it/nethserver/6.7/testing/x86_64/Packages/winexe-1.01-1.x86_64.rpm

Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Local Package Process
winexe-1.01-1.x86_64.rpm | 1.9 MB 00:01
Examining /var/tmp/yum-root-pGYEiC/winexe-1.01-1.x86_64.rpm: winexe-1.01-1.x86_64
/var/tmp/yum-root-pGYEiC/winexe-1.01-1.x86_64.rpm: does not update installed package.
Nothing to do
[root@server ~]#

and now?

Instructions are valid only for new installations.

In your case:

rpm -e --nodeps winexe
yum localinstall http://packages.nethesis.it/nethserver/6.7/testing/x86_64/Packages/winexe-1.01-1.x86_64.rpm
yum update --exclude=winexe
1 Like

Thanks, it worked.

1 Like

thanks, it’s work
but after this method i have this:

Carlo,

Thanks for the nudge.

I ran the two commands. Output follows. In trying to update software, I get:

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.

Clear Yum Cache doesn’t help.

[root@tempest ~]# yum localinstall http://packages.nethesis.it/nethserver/6.7/testing/x86_64/Packages/winexe-1.01-1.x86_64.rpm
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Local Package Process
winexe-1.01-1.x86_64.rpm | 1.9 MB 00:03
Examining /var/tmp/yum-root-JXkt9I/winexe-1.01-1.x86_64.rpm: winexe-1.01-1.x86_64
/var/tmp/yum-root-JXkt9I/winexe-1.01-1.x86_64.rpm: does not update installed package.
Nothing to do
[root@tempest ~]# yum localinstall http://packages.nethesis.it/nethserver/6.7/testing/x86_64/Packages/winexe-1.01-1.x86_64.rpm
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Local Package Process
winexe-1.01-1.x86_64.rpm | 1.9 MB 00:03
Examining /var/tmp/yum-root-JXkt9I/winexe-1.01-1.x86_64.rpm: winexe-1.01-1.x86_64
/var/tmp/yum-root-JXkt9I/winexe-1.01-1.x86_64.rpm: does not update installed package.
Nothing to do
[root@tempest ~]#

Harry

good!!!
now all my client have problem with trust when login :smile:

i resolv my problem with this

thanks community!!!

https://cdn.meme.am/instances/400x/56573424.jpg

1 Like

Ignore the message until Red Hat fixes the bug on samba packages :wink:

Giacomo, thank you (I didn’t see your earlier post until after I tried the first suggested procedure.

I got the same result gecco posted, with the remaining error message about winexe.