The stephdl repository is opened

Hi @stephdl ,

I have encountered an error when I want to install OCS Inventory-NG from your repository.
Previously, I have installed PhpMyAdmin, UrBackup and Antivirus Scanner without any issues.

Can you help me please?

TIA,
Gabriel

[CODE]
[root@pdc-ad ~]#
[root@pdc-ad ~]# yum install http://mirror.de-labrusse.fr/NethDev/nethserver-ocsinventory/ocsinventory-release-7-4.el7.ocs.noarch.rpm
Loaded plugins: changelog, fastestmirror, nethserver_events
Cannot open: http://mirror.de-labrusse.fr/NethDev/nethserver-ocsinventory/ocsinventory-release-7-4.el7.ocs.noarch.rpm. Skipping.
Error: Nothing to do
[root@pdc-ad ~]#
[root@pdc-ad ~]# yum install nethserver-ocsinventory
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile

  • base: ftp.upcnet.ro
  • epel: ftp.ps.pl
  • extras: ftp.upcnet.ro
  • nethforge: mirror.nethesis.it
  • nethserver-base: mirror.nethesis.it
  • nethserver-updates: mirror.nethesis.it
  • updates: ftp.upcnet.ro
    Resolving Dependencies
    –> Running transaction check
    —> Package nethserver-ocsinventory.noarch 0:1.1.5-1.ns7.sdl will be installed
    –> Processing Dependency: ocsinventory >= 2.3.0 for package: nethserver-ocsinventory-1.1.5-1.ns7.sdl.noarch
    –> Finished Dependency Resolution
    Error: Package: nethserver-ocsinventory-1.1.5-1.ns7.sdl.noarch (stephdl)
    Requires: ocsinventory >= 2.3.0
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    [root@pdc-ad ~]#
    [/CODE]

https://wiki.nethserver.org/doku.php?id=ocsinventory

You missed to install the ocs repo

Hi @stephdl ,

To install the OCS repo (step 2 on Wiki), must run:

yum install  http://mirror.de-labrusse.fr/NethDev/nethserver-ocsinventory/ocsinventory-release-7-4.el7.ocs.noarch.rpm

After that, to install OCS I-NG (step 3 on Wiki), must run:

yum install nethserver-ocsinventory

Is this correct?

If YES, at step 2, I have an error:

[root@pdc-ad ~]#
[root@pdc-ad ~]# yum install  http://mirror.de-labrusse.fr/NethDev/nethserver-ocsinventory/ocsinventory-release-7-4.el7.ocs.noarch.rpm
Loaded plugins: changelog, fastestmirror, nethserver_events
Cannot open: http://mirror.de-labrusse.fr/NethDev/nethserver-ocsinventory/ocsinventory-release-7-4.el7.ocs.noarch.rpm. Skipping.
Error: Nothing to do
[root@pdc-ad ~]#

If is not correct, please teach me! :pray:

TIA,
Gabriel

:heart_eyes: It would be awesome and “shellless” :smiley:

I think for the OCS repo it’s (for NS7):

yum install http://rpm.ocsinventory-ng.org/enterprise/7/x86_64/ocsinventory-release-7-4.el7.ocs.noarch.rpm

Versions can change over time.

If that’s correct, we can fix the wiki.

1 Like

Thank you @dnutan !

Now it works without issues!

thank @dnutan to fix the wiki page.

Even if I push my rpm to nethforge we must think to the external repositories like the ocs one. It is the same for remi-safe, urbackup

I could provide in the nethserver-stephdl all the repositories I need.

2 Likes

I think third party-repositories are dangerous if they are always enabled, because each of them has its release cycle and policy. I suggest to upload the packages your repo depends on to SDL repository itself, like we’re already doing for nethserver-updates and nethforge.

1 Like

This is what I did for urbackup and transmission, but it needs time. For php-scl it is quite impossible due to the large number of updates.

1 Like

Isn’t php-scl a package from our default repositories? We should not worry about it!

I use remi-safe for the php7x release and the huge number of php dependencies.

The repo used for nethserver-php56-fpm is so restrictive :smiley:

1 Like

Dear Staphane I´ve a problem with updating at the moment

[root@webserver ~]# yum update --enablerepo=stephdl
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Update Process
Loading mirror speeds from cached hostfile

  • centos-base: mirror.inode.at
  • centos-updates: mirror.inode.at
  • nethserver-base: mirror.alpix.eu
  • nethserver-updates: mirror.alpix.eu
    Resolving Dependencies
    → Running transaction check
    —> Package nethserver-php-scl.x86_64 0:1.0.4-1.ns6.sdl will be updated
    —> Package nethserver-php-scl.x86_64 0:1.0.7-2.ns6.sdl will be an update
    → Processing Dependency: php71-php-xml for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-tidy for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-soap for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-pecl-zip for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-pear for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-pdo for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-mysqlnd for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-mcrypt for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-mbstring for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-ldap for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-imap for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-gd for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-enchant for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-bcmath for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71 for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: nethserver-phpsettings for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    —> Package nethserver-phpmyadmin.noarch 0:1.0.0-1.ns6 will be updated
    —> Package nethserver-phpmyadmin.noarch 0:1.1.2-1.ns6.sdl will be an update
    —> Package nethserver-remi-phpscl.noarch 0:1.0.0-1.ns6.sdl will be updated
    —> Package nethserver-remi-phpscl.noarch 0:1.0.2-1.ns6.sdl will be an update
    —> Package nethserver-stephdl.noarch 0:1.0.0-1.ns6 will be updated
    —> Package nethserver-stephdl.noarch 0:1.0.4-3.ns6.sdl will be an update
    —> Package php-php-gettext.noarch 0:1.0.11-3.el6 will be updated
    —> Package php-php-gettext.noarch 0:1.0.12-1.el6 will be an update
    —> Package phpMyAdmin.noarch 0:3.5.8.2-1.el6 will be updated
    —> Package phpMyAdmin.noarch 0:4.0.10.18-1.el6 will be an update
    → Processing Dependency: php-tcpdf-dejavu-sans-fonts for package: phpMyAdmin-4.0.10.18-1.el6.noarch
    → Processing Dependency: php-tcpdf for package: phpMyAdmin-4.0.10.18-1.el6.noarch
    → Running transaction check
    —> Package nethserver-php-scl.x86_64 0:1.0.7-2.ns6.sdl will be an update
    → Processing Dependency: php71-php-xml for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-tidy for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-soap for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-pecl-zip for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-pear for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-pdo for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-mysqlnd for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-mcrypt for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-mbstring for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-ldap for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-imap for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-gd for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-enchant for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-bcmath for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71 for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    —> Package nethserver-phpsettings.noarch 0:1.0.0-5.ns6.sdl will be installed
    —> Package php-tcpdf.noarch 0:6.2.11-1.el6 will be installed
    → Processing Dependency: php-tidy for package: php-tcpdf-6.2.11-1.el6.noarch
    → Processing Dependency: php-posix for package: php-tcpdf-6.2.11-1.el6.noarch
    → Processing Dependency: php-bcmath for package: php-tcpdf-6.2.11-1.el6.noarch
    —> Package php-tcpdf-dejavu-sans-fonts.noarch 0:6.2.11-1.el6 will be installed
    → Processing Dependency: dejavu-sans-fonts for package: php-tcpdf-dejavu-sans-fonts-6.2.11-1.el6.noarch
    → Running transaction check
    —> Package dejavu-sans-fonts.noarch 0:2.33-1.el6 will be installed
    —> Package nethserver-php-scl.x86_64 0:1.0.7-2.ns6.sdl will be an update
    → Processing Dependency: php71-php-xml for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-tidy for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-soap for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-pecl-zip for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-pear for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-pdo for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-mysqlnd for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-mcrypt for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-mbstring for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-ldap for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-imap for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-gd for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-enchant for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php-bcmath for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71-php for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    → Processing Dependency: php71 for package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64
    —> Package php-bcmath.x86_64 0:5.3.3-49.el6 will be installed
    —> Package php-process.x86_64 0:5.3.3-49.el6 will be installed
    —> Package php-tidy.x86_64 0:5.3.3-49.el6 will be installed
    → Finished Dependency Resolution
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-gd
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-xml
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-mcrypt
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-bcmath
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-pear
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-soap
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-mbstring
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-pecl-zip
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-ldap
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-pdo
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-mysqlnd
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-imap
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-tidy
    Error: Package: nethserver-php-scl-1.0.7-2.ns6.sdl.x86_64 (stephdl)
    Requires: php71-php-enchant
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

Do you have an idea?

is remi-safe repository enabled?

How can I check?

Does not look like?

[root@webserver ~]# yum update --enablerepo=remi-safe
Loaded plugins: changelog, fastestmirror, nethserver_events, presto

Error getting repository data for remi-safe, repository not found

Seems missing. You can follow instructions in the wiki:

yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm    # for nethserver 6
2 Likes

worked perfectly- no more errors- thanks a lot!

1 Like

asked by @alefattorini and @giacomo

some statistics about stephdl repository


7 Likes

Wow! :clap:

1 Like

Looks like you nailed it!
A lot of great stuff on your repositories

1 Like

Looks like your repo is there to stay… :slight_smile:

1 Like