Update Error - error Package

NethServer Version: 7.5.1804
Module: yum update

when Doing a “yum update” this morning… I’m getting an error package: —>

Resolving Dependencies
–> Running transaction check
—> Package bind-libs.x86_64 32:9.9.4-61.el7 will be updated
—> Package bind-libs.x86_64 32:9.9.4-61.el7_5.1 will be an update
—> Package bind-libs-lite.x86_64 32:9.9.4-61.el7 will be updated
—> Package bind-libs-lite.x86_64 32:9.9.4-61.el7_5.1 will be an update
—> Package bind-license.noarch 32:9.9.4-61.el7 will be updated
—> Package bind-license.noarch 32:9.9.4-61.el7_5.1 will be an update
—> Package bind-utils.x86_64 32:9.9.4-61.el7 will be updated
—> Package bind-utils.x86_64 32:9.9.4-61.el7_5.1 will be an update
—> Package nethserver-backup-config.noarch 0:2.1.0-1.ns7 will be updated
—> Package nethserver-backup-config.noarch 0:2.2.0-1.ns7 will be an update
–> Processing Dependency: perl-Proc-ProcessTable for package: nethserver-backup-config-2.2.0-1.ns7.noarch
–> Processing Dependency: perl(Proc::ProcessTable) for package: nethserver-backup-config-2.2.0-1.ns7.noarch
—> Package nethserver-backup-data.noarch 0:1.3.5-1.ns7 will be updated
—> Package nethserver-backup-data.noarch 0:1.4.0-1.ns7 will be an update
–> Processing Dependency: sshpass for package: nethserver-backup-data-1.4.0-1.ns7.noarch
–> Processing Dependency: restic for package: nethserver-backup-data-1.4.0-1.ns7.noarch
—> Package nethserver-base.noarch 0:3.4.2-1.ns7 will be updated
—> Package nethserver-base.noarch 0:3.4.4-1.ns7 will be an update
—> Package nethserver-duc.noarch 0:1.4.3-1.ns7 will be updated
—> Package nethserver-duc.noarch 0:1.4.4-1.ns7 will be an update
—> Package nethserver-firewall-base.noarch 0:3.4.1-1.ns7 will be updated
—> Package nethserver-firewall-base.noarch 0:3.4.2-1.ns7 will be an update
—> Package nethserver-firewall-base-ui.noarch 0:3.4.1-1.ns7 will be updated
—> Package nethserver-firewall-base-ui.noarch 0:3.4.2-1.ns7 will be an update
—> Package nethserver-httpd-admin.noarch 0:2.3.3-1.ns7 will be updated
—> Package nethserver-httpd-admin.noarch 0:2.3.4-1.ns7 will be an update
—> Package nethserver-mail-server.noarch 0:1.12.3-1.ns7 will be updated
—> Package nethserver-mail-server.noarch 0:1.12.4-1.ns7 will be an update
—> Package webtop5-zpush.noarch 0:1.1.3-1.ns7 will be updated
—> Package webtop5-zpush.noarch 0:1.1.4-1.ns7 will be an update
–> Running transaction check
—> Package nethserver-backup-config.noarch 0:2.2.0-1.ns7 will be an update
–> Processing Dependency: perl-Proc-ProcessTable for package: nethserver-backup-config-2.2.0-1.ns7.noarch
–> Processing Dependency: perl(Proc::ProcessTable) for package: nethserver-backup-config-2.2.0-1.ns7.noarch
—> Package restic.x86_64 0:0.9.1-1.ns7 will be installed
—> Package sshpass.x86_64 0:1.06-2.el7 will be installed
–> Finished Dependency Resolution
Error: Package: nethserver-backup-config-2.2.0-1.ns7.noarch (nethserver-updates)
Requires: perl(Proc::ProcessTable)
Error: Package: nethserver-backup-config-2.2.0-1.ns7.noarch (nethserver-updates)
Requires: perl-Proc-ProcessTable

You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

yum --enablerepo=epel update

This is the third request …

Could you please also paste the output of:

yum repolist -v
2 Likes

I’m getting this …

Loading mirror speeds from cached hostfile

Repo-id : centos-sclo-rh/x86_64
Repo-name : CentOS-7 - SCLo rh
Repo-revision: 1533202400
Repo-updated : Thu Aug 2 02:35:31 2018
Repo-pkgs : 7,984
Repo-size : 7.1 G
Repo-baseurl : CentOS Mirror
Repo-expire : 21,600 second(s) (last: Fri Aug 31 07:46:18 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: 1532336552
Repo-updated : Mon Jul 23 02:02:37 2018
Repo-pkgs : 767
Repo-size : 238 M
Repo-baseurl : CentOS Mirror
Repo-expire : 21,600 second(s) (last: Fri Aug 31 07:46:18 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-SCLo-scl.repo

Repo-id : extras/7/x86_64
Repo-name : CentOS-7 - Extras
Repo-revision: 1535636390
Repo-updated : Thu Aug 30 06:43:04 2018
Repo-pkgs : 402
Repo-size : 747 M
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock
Repo-baseurl : http://mirror.its.sfu.ca/mirror/CentOS/7.5.1804/extras/x86_64/ (9
: more)
Repo-expire : 21,600 second(s) (last: Fri Aug 31 07:46:18 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

Repo-id : nethforge/7/x86_64
Repo-name : NethForge 7
Repo-revision: 1535397428
Repo-updated : Mon Aug 27 12:17:09 2018
Repo-pkgs : 43
Repo-size : 148 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=nethforge&arch=x86_64&nsrelease=
Repo-baseurl : http://mirror1.nethserver.org/nethserver/7.5.1804/nethforge/x86_64/
: (14 more)
Repo-expire : 21,600 second(s) (last: Fri Aug 31 07:46:18 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=
Repo-baseurl : http://mirror1.nethserver.org/nethserver/7.5.1804/base/x86_64/
: (14 more)
Repo-expire : 21,600 second(s) (last: Fri Aug 31 07:46:19 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: 1535622952
Repo-updated : Thu Aug 30 02:56:00 2018
Repo-pkgs : 192
Repo-size : 372 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=updates&arch=x86_64&nsrelease=
Repo-baseurl : http://mirror1.nethserver.org/nethserver/7.5.1804/updates/x86_64/
: (14 more)
Repo-expire : 21,600 second(s) (last: Fri Aug 31 07:46:19 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo

Repo-id : stephdl/7
Repo-name : Stephdl (Stephane de Labrusse) repository for nethserver 7 -
: x86_64
Repo-revision: 1535725981
Repo-updated : Fri Aug 31 07:33:03 2018
Repo-pkgs : 118
Repo-size : 172 M
Repo-baseurl : Index of /NethServer/7
Repo-expire : 21,600 second(s) (last: Fri Aug 31 07:46:19 2018)
Filter : read-only:present
Repo-excluded: 112
Repo-filename: /etc/yum.repos.d/stephdl.repo

Repo-id : updates/7/x86_64
Repo-name : CentOS-7 - Updates
Repo-revision: 1535460191
Repo-updated : Tue Aug 28 05:52:42 2018
Repo-pkgs : 1,333
Repo-size : 4.3 G
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock
Repo-baseurl : http://mirror.its.sfu.ca/mirror/CentOS/7.5.1804/updates/x86_64/
: (9 more)
Repo-expire : 21,600 second(s) (last: Fri Aug 31 07:46:19 2018)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

When I tried the command line above… I’m getting this message …

One of the configured repositories failed (Unknown),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Run the command with the repository temporarily disabled
        yum --disablerepo=<repoid> ...

 4. Disable the repository permanently, so yum won't use it by default. Yum
    will then just ignore the repository until you permanently enable it
    again or use --enablerepo for temporary usage:

        yum-config-manager --disable <repoid>
    or
        subscription-manager repos --disable=<repoid>

 5. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again

Seems the EPEL repo is missing from your server. You can activate it with:

yum install epel-release

I tried running “yum install epel-release” … I get a message :
Package epel-release-7-11.noarch already installed and latest version
Nothing to do

Sorry, my bad.

No problem… worth a try… I’m puzzled too…

You can try editing /etc/yum.repos.d/epel.repo file to enable the baseurl line (removing the # in front of it).

I tried that… also did a ‘yum clean all’ and ‘rm -rf /var/cache/yum’ then do ‘yum update’ … still have the same error.

And with:

yum --enablerepo=epel update

Thanks…
I ran “yum update --skip-broken” and update the other packages… then re-run ‘yum update’… now I get the following:

Resolving Dependencies
→ Running transaction check
—> Package nethserver-backup-config.noarch 0:2.1.0-1.ns7 will be updated
—> Package nethserver-backup-config.noarch 0:2.2.0-1.ns7 will be an update
→ Processing Dependency: perl-Proc-ProcessTable for package: nethserver-backup-config-2.2.0-1.ns7.noarch
→ Processing Dependency: perl(Proc::ProcessTable) for package: nethserver-backup-config-2.2.0-1.ns7.noarch
—> Package nethserver-backup-data.noarch 0:1.3.5-1.ns7 will be updated
—> Package nethserver-backup-data.noarch 0:1.4.0-1.ns7 will be an update
→ Processing Dependency: sshpass for package: nethserver-backup-data-1.4.0-1.ns7.noarch
→ Processing Dependency: restic for package: nethserver-backup-data-1.4.0-1.ns7.noarch
→ Running transaction check
—> Package nethserver-backup-config.noarch 0:2.2.0-1.ns7 will be an update
→ Processing Dependency: perl-Proc-ProcessTable for package: nethserver-backup-config-2.2.0-1.ns7.noarch
→ Processing Dependency: perl(Proc::ProcessTable) for package: nethserver-backup-config-2.2.0-1.ns7.noarch
—> Package restic.x86_64 0:0.9.1-1.ns7 will be installed
—> Package sshpass.x86_64 0:1.06-2.el7 will be installed
→ Finished Dependency Resolution
Error: Package: nethserver-backup-config-2.2.0-1.ns7.noarch (nethserver-updates)
Requires: perl(Proc::ProcessTable)
Error: Package: nethserver-backup-config-2.2.0-1.ns7.noarch (nethserver-updates)
Requires: perl-Proc-ProcessTable
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Maybe I come back tomorrow and give it another try…

what happens if you paste the baseurl in a browser?

http://download.fedoraproject.org/pub/epel/7/x86_64
1 Like

If you are able to connect to the URL posted by Mark, other things you could try:

  • Checking the date and time of the server is correct.
yum --disablerepo=epel update ca-certificates
yum --disablerepo=epel reinstall epel-release

Editing the [epel] section of /etc/yum.repos.d/epel.repo and:

  • Uncommenting the baseurl
  • changing https to http on the mirrortlist line, or uncommenting the mirrorlist line by prepending a #.

Try with yum --enablerepo=epel check-update or
yum --enablerepo=epel update reporting the full command outcome.

Some more options:

If I paste above to my browser… I see the package directory…

That’s good: DNS can resolve one of the epel mirrors. :grinning:

editing /etc/yum.repos.d/epel.repo to baseurl http://*** and comment off metalink https://****
and ran ‘yum --enablerepo=epel update’ then the update went through ok…

I reset back to normal , commenting off baseurl and set back to metalink https://**** for now…
Thank you for all the comment and help… Truly appreciate you all…

3 Likes