0

我开始学习Puppet。一切对我来说都是新的。起初我使用的是 suse11.4 上的一个组件 puppet 2.7.26。然而——一位 puppet 专家告诉我不要再使用 puppet 2.x,而最好使用 puppet7。所以我正在寻找如何在我的 suse12.3 上安装 puppet 7——这是我的步骤——

1. rpm -Uvh https://yum.puppetlabs.com/puppetlabs-release-pcl-el-7.noarch.rpm
2. puppet-master:/etc/pki/rpm-gpg # rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-2025-04-06-puppet7-release
puppet-master:/etc/pki/rpm-gpg # rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-puppet7-release
3.  zypper install puppetserver

然而,每次我尝试,我总是得到这个错误 -

puppet-master:/etc/pki/rpm-gpg # zypper install puppetserver -y
Loading repository data...
Reading installed packages...
'-y' not found in package names. Trying capabilities.
No provider of '-y' found.
Resolving package dependencies...

The following 2 NEW packages are going to be installed:
  puppet-agent puppetserver

The following 2 packages are not supported by their vendor:
  puppet-agent puppetserver

2 new packages to install.
Overall download size: 84.9 MiB. Already cached: 0 B. After the operation,
additional 196.9 MiB will be used.
Continue? [y/n/...? shows all options] (y):
Retrieving package puppet-agent-7.12.0-1.sles12.x86_64
                                           (1/2),  22.2 MiB (124.0 MiB unpacked)
Retrieving: puppet-agent-7.12.0-1.sles12.x86_64.rpm ........[done (866.1 KiB/s)]
Retrieving package puppetserver-7.4.1-1.sles12.noarch
                                           (2/2),  62.7 MiB ( 72.9 MiB unpacked)
Retrieving: puppetserver-7.4.1-1.sles12.noarch.rpm .........[done (891.6 KiB/s)]
Checking for file conflicts: .............................................[done]
(1/2) Installing: puppet-agent-7.12.0-1.sles12.x86_64 ....................[done]
(2/2) Installing: puppetserver-7.4.1-1.sles12.noarch .....................[done]
Additional rpm output:
usermod: no changes
usermod: no changes
/usr/sbin/systemd-sysv-convert: line 62: /var/lib/systemd/sysv-convert/database: No such file or directory


Installation has completed with error.

我搜索并发现它就像 suse 上的一个错误,但很久以前就修复了 - https://bugzilla.suse.com/show_bug.cgi?id=982303

那是什么?以及如何修复它以在我的 suse 上完全安装 puppet?请善意帮助。谢谢

问候艾森

4

0 回答 0