Ошибка установки nodjs - repodata / repomd.xml не найден

Я пытаюсь установить nodejs на бродячий ящик https://app.vagrantup.com/centos/boxes/7/versions/ 1905.1

Я получаю ответ "следующее репо не найдено". Он пытается найти http://yum.puppetlabs.com/latest/el/7/x86_64/repodata/repomd.xml , который не существует, не знаю, откуда он был настроен. на новой машине работает только puppet-agent-6.6.0.

Не могли бы вы посоветовать, как это исправить?

==> default: Error: Execution of '/bin/yum -d 0 -e 0 -y install nodejs' returned 1: One of the configured repositories failed (Puppet Labs latest Repository),
==> default:  and yum doesn't have enough cached data to continue. At this point the only
==> default:  safe thing yum can do is fail. There are a few ways to work "fix" this:
==> default: 
==> default:      1. Contact the upstream for the repository and get them to fix the problem.
==> default: 
==> default:      2. Reconfigure the baseurl/etc. for the repository, to point to a working
==> default:         upstream. This is most often useful if you are using a newer
==> default:         distribution release than is supported by the repository (and the
==> default:         packages for the previous distribution release still work).
==> default: 
==> default:      3. Run the command with the repository temporarily disabled
==> default:             yum --disablerepo=pc_repo ...
==> default: 
==> default:      4. Disable the repository permanently, so yum won't use it by default. Yum
==> default:         will then just ignore the repository until you permanently enable it
==> default:         again or use --enablerepo for temporary usage:
==> default: 
==> default:             yum-config-manager --disable pc_repo
==> default:         or
==> default:             subscription-manager repos --disable=pc_repo
==> default: 
==> default:      5. Configure the failing repository to be skipped, if it is unavailable.
==> default:         Note that yum will try to contact the repo. when it runs most commands,
==> default:         so will have to try and fail each time (and thus. yum will be be much
==> default:         slower). If it is a very temporary problem though, this is often a nice
==> default:         compromise:
==> default: 
==> default:             yum-config-manager --save --setopt=pc_repo.skip_if_unavailable=true
==> default: 
==> default: failure: repodata/repomd.xml from pc_repo: [Errno 256] No more mirrors to try.
==> default: http://yum.puppetlabs.com/latest/el/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
0
задан 10 July 2019 в 07:13
1 ответ

Установка https://forge.puppet.com/stahnma/epel и включите его до того, как nodejs исправит проблему.

мод 'станма-эпель', '1.3.1' включить ':: epel'

0
ответ дан 23 November 2019 в 22:59

Теги

Похожие вопросы