Problems updates for Stephdl repository

NethServer Version: NethServer release 7.6.1810
I just got a mail for a update:

=== Yum reports available updates for Stephdl repository :

nethserver-php-scl.x86_64 1.2.5-1.ns7.sdl stephdl

To apply all these updates, you can log on your server and run the following command :

yum update --enablerepo=stephdl

when doing so, I get the following results:

yum update --enablerepo=stephdl
Geladene Plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile

  • ce-base:
  • ce-extras:
  • ce-sclo-rh:
  • ce-sclo-sclo:
  • ce-updates:
  • epel:
  • nethforge:
  • nethserver-base:
  • nethserver-updates:
    Abhängigkeiten werden aufgelöst
    → Transaktionsprüfung wird ausgeführt
    —> Paket nethserver-php-scl.x86_64 0:1.2.4-1.ns7.sdl markiert, um aktualisiert zu werden
    —> Paket nethserver-php-scl.x86_64 0:1.2.5-1.ns7.sdl markiert, um eine Aktualisierung zu werden
    → Abhängigkeit php73-php-opcache wird für Paket nethserver-php-scl-1.2.5-1.ns7.sdl.x86_64 verarbeitet
    → Abhängigkeit php72-php-opcache wird für Paket nethserver-php-scl-1.2.5-1.ns7.sdl.x86_64 verarbeitet
    → Abhängigkeit php71-php-opcache wird für Paket nethserver-php-scl-1.2.5-1.ns7.sdl.x86_64 verarbeitet
    → Abhängigkeitsauflösung beendet
    Fehler: Paket: nethserver-php-scl-1.2.5-1.ns7.sdl.x86_64 (stephdl)
    Benötigt: php72-php-opcache
    Fehler: Paket: nethserver-php-scl-1.2.5-1.ns7.sdl.x86_64 (stephdl)
    Benötigt: php71-php-opcache
    Fehler: Paket: nethserver-php-scl-1.2.5-1.ns7.sdl.x86_64 (stephdl)
    Benötigt: php73-php-opcache
    Sie können versuchen, mit --skip-broken das Problem zu umgehen.
    Sie könnten Folgendes versuchen: rpm -Va --nofiles --nodigest

@stephdl can you please help?



I did the update from Software Center without issues.


Jun 05 08:10:01 Installed: php72-php-opcache-7.2.19-2.el7.remi.x86_64
Jun 05 08:10:01 Installed: php73-php-opcache-7.3.6-1.el7.remi.x86_64
Jun 05 08:10:02 Installed: php71-php-opcache-7.1.30-1.el7.remi.x86_64
Jun 05 08:10:03 Updated: nethserver-php-scl-1.2.5-1.ns7.sdl.x86_64

In some case now, nethserver disables repositories, even first enabled. We want it to avoid minor centos updates

Cc @dev_team

You can update it by

yum update - - enablerepo=stephdl,remi-safe,epel

There’s a template of /etc/nethserver/eorepo.conf where additional (or exclusive) repositories can be registered!

The event software-repos-save applies the changes when the repository configuration has been modified

1 Like

thank you this helped. made 322 updates…

do I need to trigger the event on my rpm update or I could have others ways

Just expand eorepo.conf template…

yep but this not change my repo definition, only the event does it

I assume your package installs an enabled YUM repo configuration.

But if you need to set enabled=1 in your .repo file, raise the event.

1 Like

yes probably I need to trigger an action to launch the event by my nethserver-*-update

cc @danb35 @mrmarkuz (you should modify also your rpm to install your repo)

I commited to enable the repositories of


1 Like

Hi stephdl,

I had the same problem.

Clam Antivirus Scan Results - Tue Jun 11 01:57:02 2019
I doubt that these files had a Win virus.
Maybe same problem as a few days ago with ClamAV?

Tue Jun 11 01:57:02 2019
Scanned Folder: //tmp/systemd-private-36ed6590aaf54055aa869e6021480aa1-php72-php- 
fpm.service-W1KPt8/tmp/phpO8Docq: Win.Trojan.Hide-2 FOUND
W1KPt8/tmp/phpO8Docq: moved to '/var/spool/clamav/quarantine/phpO8Docq'
W1KPt8/tmp/phpe5QwPH: Win.Trojan.Hide-2 FOUND
W1KPt8/tmp/phpe5QwPH: moved to '/var/spool/clamav/quarantine/phpe5QwPH'
W1KPt8/tmp/phpvLPLvM: Win.Trojan.Hide-2 FOUND
W1KPt8/tmp/phpvLPLvM: moved to '/var/spool/clamav/quarantine/phpvLPLvM'
W1KPt8/tmp/phpbCuvNN: Win.Trojan.Hide-2 FOUND
W1KPt8/tmp/phpbCuvNN: moved to '/var/spool/clamav/quarantine/phpbCuvNN'
W1KPt8/tmp/phpTSLjl0: Win.Trojan.Hide-2 FOUND
W1KPt8/tmp/phpTSLjl0: moved to '/var/spool/clamav/quarantine/phpTSLjl0'
W1KPt8/tmp/phpv7HdG5: Win.Trojan.Hide-2 FOUND
W1KPt8/tmp/phpv7HdG5: moved to '/var/spool/clamav/quarantine/phpv7HdG5'

----------- SCAN SUMMARY -----------
Known viruses: 6148491
Engine version: 0.101.2
Scanned directories: 42370
Scanned files: 212622
Infected files: 6
Data scanned: 24973.77 MB
Data read: 19393.78 MB (ratio 1.29:1)
Time: 8544.626 sec (142 m 24 s)

Then: Yum: Failed to check for updates on FQDN

Failed to check for updates with the following error message: 
Failed to build transaction: nethserver-php-scl-1.2.6-1.ns7.sdl.x86_64 requiert php71-php-opcache
nethserver-php-scl-1.2.6-1.ns7.sdl.x86_64 requiert php72-php-opcache
nethserver-php-scl-1.2.6-1.ns7.sdl.x86_64 requiert php73-php-opcache

This command from an above reply resolved it

yum update --enablerepo=stephdl,remi-safe,epel


  • There will be no more repos enabled by default?
  • From now on, will I have to enable all those repos?

As always, thanks again to stephdl,


yep I missed something, nethserver disable all repositories not listed in /etc/nethserver/eorepo.conf , I produced an update for this, but at least one time you must enable all repositories manually

Hi stephdl,

Fast reply!

Only those repos or some other ones?


I produced an update for


so each rpm will provide the repo definition and trigger an action to enable each repo individually

after that you can check in /etc/yum.repos.d/***** if the repo are enabled, it must be enabled to 1

Hi again stephdl,

I checked the files and the repos that enabled are:


I don’t have: urbackup & ocsinventory. I think that it is normal as I never used them.

So I guess that all is OK now.

Again, thank you stephdl,


1 Like