我正在使用 SLES11 SP4 计算机,并尝试从本地 yum 存储库安装 RPM。由 SUSE 提供并复制到我的本地存储库中的所有其他 RPM(如 mysql、samba 等)均可正常安装。
该问题发生在名为 mirthconnect 的第三方 RPM 上,该 RPM 可从以下位置下载:http://downloads.mirthcorp.com/archive/connect/3.2.1.7650.b40/并将其复制到连接到我的 SLES11 SP4 机器的本地 YUM 存储库中。
SLES11SP4-118:~ # zypper se mirth
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+--------------+---------+-----------
| mirthconnect | (none) | srcpackage
SLES11SP4-118:~ # zypper install mirthconnect
Loading repository data...
Reading installed packages...
'mirthconnect' not found in package names. Trying capabilities.
No provider of 'mirthconnect' found.
Resolving package dependencies...
Nothing to do.
添加
我刚刚发现,zypper 有一种方法可以安装源 RPM,如下所示zypper si
zypper si mirthconnect
Reading installed packages...
Loading repository data...
Resolving package dependencies...
The following items are locked and will not be changed by any action:
Installed:
cifs-utils erlang fam fuse jdk libMagickCore1 libiniparser0 libjasper libmysqlclient15 libmysqlclient_r15
libnetpbm-devel libnetpbm10 libwmf mysql mysql-client netpbm nfs-kernel-server perl-DBD-mysql perl-DBI
perl-Data-ShowTable perl-Net-Daemon perl-PlRPC postgresql-libs samba samba-32bit samba-client
samba-client-32bit stunnel unixODBC
Available:
libtspi1
The following source package is going to be installed:
mirthconnect
.
Overall download size: 137.5 MiB. After the operation, additional 155.2 MiB will be used.
Continue? [y/n/? shows all options] (y): y
Retrieving: mirthconnect-3.2.1.7650.b40-linux.x86_64.rpm [done] ….
但是这个 mirthconnect 也是另一个 RPM 的依赖项,而另一个 RPM 需要它。当我尝试使用 yast2 安装它时,它显示“没有提供 mirthconnect”
答案1
这是一个源包;你应该得到正常的包裹(以.rpm而不是源文件)